-
Bug
-
Resolution: Obsolete
-
Major
-
JBossAS-5.0.0.CR1
-
None
The org/jboss/test/cluster/classloader/leak/test/FieldGranularityClassloaderLeakUnitTestCase almost always (but not always) fails when the testsuite is run on the Sun VM. The org/jboss/test/classloader/leak/test/AopPreparedClassesClassloaderLeakUnitTestCase test is consistently failing when Sun 1.6 is used for the build and Sun 1.6 is used for the tests (but not when Sun 1.5 is used for the build). Both consistently pass on the JRockit tests.
Heap analysis of the FieldGranularityClassloaderLeakUnitTestCase (using JBoss Profiler or hprof+jhat) after a failure always shows all paths to the leaked CL leading to WeakReferences, so the cause of the leak is unclear.