https://issues.apache.org/bugzilla/show_bug.cgi?id=50858

--- Comment #4 from Stefan Franke <[email protected]> 2011-07-20 16:05:25 
UTC ---
It seems that there is a ThreadLocal reference the WAR/EAR class loader, unload
will only occur, if the thread releases the thread local resources or dies:

--> java.lang.reflect.Method@0x31054290 (77 bytes) (field returnType:)
--> class com.sun.xml.bind.v2.schemagen.xmlschema.ComplexType (84 bytes) (??:)
--> org.apache.felix.framework.ModuleImpl$ModuleClassLoaderJava5@0x2ec33a28 (70
bytes) (field parent:)
--> java.net.URLClassLoader@0x2a206438 (62 bytes) (field classes:)
--> java.util.Vector@0x2a1ea138 (24 bytes) (field elementData:)
--> [Ljava.lang.Object;@0x304386c0 (1288 bytes) (Element 59 of
[Ljava.lang.Object;@0x304386c0:)
--> class org.apache.felix.framework.util.EventDispatcher (84 bytes) (static
field m_thread:)
--> java.lang.Thread@0x2a208840 (108 bytes) (field group:)
--> java.lang.ThreadGroup@0x2a16f8d8 (43 bytes) (field groups:)
--> [Ljava.lang.ThreadGroup;@0x2b2cc2d0 (40 bytes) (Element 2 of
[Ljava.lang.ThreadGroup;@0x2b2cc2d0:)
--> java.lang.ThreadGroup@0x2b326060 (43 bytes) (field threads:)
--> [Ljava.lang.Thread;@0x313d5b00 (136 bytes) (Element 5 of
[Ljava.lang.Thread;@0x313d5b00:)
--> com.sun.grizzly.http.HttpWorkerThread@0x31323718 (156 bytes) (field
threadLocals:)
--> java.lang.ThreadLocal$ThreadLocalMap@0x31332de0 (20 bytes) (field table:)
--> [Ljava.lang.ThreadLocal$ThreadLocalMap$Entry;@0x334e6c98 (16392 bytes)
(Element 2010 of [Ljava.lang.ThreadLocal$ThreadLocalMap$Entry;@0x334e6c98:)
--> java.lang.ThreadLocal$ThreadLocalMap$Entry@0x332826c0 (28 bytes) (field
value:)
--> com.sun.corba.ee.spi.orbutil.codegen.Wrapper$Environment@0x33283d10 (24
bytes) (field root:)
--> com.sun.corba.ee.impl.orbutil.codegen.ClassGeneratorImpl@0x33215020 (71
bytes) (field methods:)
--> java.util.ArrayList@0x33223a30 (20 bytes) (field elementData:)
--> [Ljava.lang.Object;@0x330e9480 (240 bytes) (Element 35 of
[Ljava.lang.Object;@0x330e9480:)
--> com.sun.corba.ee.impl.orbutil.codegen.MethodGenerator@0x3323cd20 (53 bytes)
(field rtype:)
--> com.sun.corba.ee.spi.orbutil.codegen.Type@0x33217db8 (49 bytes) (field
typeClass:)
--> class foo.bar.XYDTO (84 bytes) (??:)
--> org.glassfish.javaee.full.deployment.EarClassLoader@0x3295df18 (92 bytes)
(field classes:)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to