https://issues.apache.org/bugzilla/show_bug.cgi?id=48837
--- Comment #1 from [email protected] 2010-03-11 21:46:46 UTC --- Created an attachment (id=25116) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25116) Patch to enhance classloader leaks because of uncleared ThreadLocal Proposing a patch to better detect leaks. Before the patch, the leak caused by an uncleared ThreadLocal is detected only if the ThreadLocal key or value is loaded by the WebAppClassLoader. The patch proposes to also detect cases where the key or value object class was loaded by a child classloader (or any level of descendant). The leak of the example foo.jsp is detected (and cleared) with this patch. Note that there's still a leak if the key or value is a JDK class like an ArrayList which itself contains an instance of a class loaded by the WebAppClassLoader (or a child classloader). Sylvain -- 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]
