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

--- Comment #2 from Mark Thomas <[email protected]> 2010-04-28 08:23:05 EDT ---
It shouldn't clean all thread locals after each request, it should clean all
thread locals loaded by a web application.

If the cleaning breaks apps or frameworks then those apps/frameworks are broken
since they are leaking memory and should be fixed. One option to reduce
side-effects would be only to clean the thread locals if the WebAppClassloader
is stopped. The downside is that memory leaks won't be fixed immediately.

The ThreadLocals created by Tomcat will be loaded by the common class loader.
Those shouldn't be causing any memory leaks, even in the embedded case since
Tomcat will stop all the threads it created.

-- 
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