Skip to content

Measuring size of pages in Wicket using AspectJ and Instrumentation.

Notifications You must be signed in to change notification settings

pflanzenmoerder/object-size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All stuff in here is Apache 2.0 License.

Add the following jars to the <tomcat-installation>/lib folder (this is the COMMON-lib folder of tomcat, for other versions of tomcat consult the manual which folder that would be):
aspectjrt.jar
aspectjweaver.jar

In the same folder create META-INF and put the aop.xml there. 

Add the following to your tomcat launch config:
-javaagent:<path to object-size-agent-1.0-SNAPSHOT.jar> -javaagent:<path to apache-tomcat-6.0.32/lib/aspectjweaver.jar> -Dorg.aspectj.weaver.showWeaveInfo=true -Daj.weaving.verbose=true -Dorg.aspectj.weaver.showWeaveInfo=true

Optional:
Provide the classname for the strategy to use:
-Dobjectsize.strategy=<classname of ISizeOfStrategy>

About

Measuring size of pages in Wicket using AspectJ and Instrumentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages