ClassLoader memory leak caused by AspectJ
-----------------------------------------

                 Key: GERONIMO-4456
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4456
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.2
            Reporter: Kevan Miller
            Assignee: Kevan Miller
             Fix For: 2.2


AspectJ is causing a ClassLoader memory leak. The problem is causing OOME 
PermGen failures in TCK tests.

The access patterns that keep the classloaders alive are as follows:

{noformat}
org.apache.geronimo.kernel.config.MultiParentClassLoader
  loader of  org.aspectj.weaver.loadtime.DefaultWeavingContext
    weavingContext of  org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor
      weavingAdaptor of  
org.aspectj.weaver.loadtime.Aj$ExplicitlyInitializedClassLoaderWeavingAdaptor
        value of  java.util.WeakHashMap$Entry
          [413] of  java.util.WeakHashMap$Entry[1024]
            table of  java.util.WeakHashMap
              weavingAdaptors of  org.aspectj.weaver.loadtime.Aj$WeaverContainer
                [11] of  java.lang.Object[1280]
                  elementData of  java.util.Vector
                    classes of  
org.apache.geronimo.kernel.config.MultiParentClassLoader
                      classLoader of  
org.apache.geronimo.gbean.runtime.GBeanInstance
                        [1283] of  java.lang.Object[2048]
                          table of  java.util.IdentityHashMap
                            instanceRegistry of  
org.apache.geronimo.kernel.basic.BasicRegistry
                              instanceRegistry of  
org.apache.geronimo.gbean.runtime.GBeanInstance [Stack Local]
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to