You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/05/06 23:15:44 UTC

DO NOT REPLY [Bug 49159] Improve ThreadLocal memory leak clean-up

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

--- Comment #3 from sylvain.laurent@gmail.com 2010-05-06 17:15:35 EDT ---
Created an attachment (id=25411)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25411)
Patch for tomcat 7 to renew threads

Here is finally my proposition of patch for tomcat 7 to recreate the
ThreadPoolExecutor of each Executor when a Context is stopped.

I also removed the clearReferencesThreadLocals property on WebApp[Class]Loader
since my patch makes it useless and I think this feature is too unsafe.

I'm working on another patch for tomcat 6. There's a little more work to do
because of the old WorkerThread stuff that has been replace by
ThreadPoolExecutor in trunk.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org