[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Memory leak tests trunk

kabir.khan@jboss.com do-not-reply at jboss.com
Thu Jul 19 16:25:17 EDT 2007


The memory leak tests have been ported over from Branch_AOP_1_5. To run them, you need to download http://labs.jboss.com/jbossprofiler/downloads/jboss-profiler-1.0.CR4.zip
and get the contained jvmti/native/win32/jbossAgent.dll (or jvmti/native/linux/libjbossAgent.so). The containing folder must be added to the PATH environment variable.

Then to run the tests
$ build.sh -f build-tests-jdk50.xml memory-tests

Leaks will be output in a file called output/reports-leak-report-TEST_CASE_NAME.html

One important thing is if you have run tests with -Djboss.aop.debug.classes=true, make sure that you delete the jboss-aop/aop/org folder, otherwise it gets confused wrt the classloaders.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065951#4065951

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065951



More information about the jboss-dev-forums mailing list