Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5959

Failure on Sun VM of classloader leak tests involving AOP prepared classes

XMLWordPrintable

      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.

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: