-
1. Re: ThreadWithAttributes possible leak
starksm64 Apr 7, 2006 4:56 PM (in response to clebert.suconic)Need to get Remy to comment on how this can be cleaned up.
-
2. Re: ThreadWithAttributes possible leak
clebert.suconic Apr 7, 2006 7:42 PM (in response to clebert.suconic)This is not a production leakage.
As soon as the Thread is used to some other application, the reference is gone.
This is an issue when running testcases trying to chase leaks. -
3. Re: ThreadWithAttributes possible leak
clebert.suconic Apr 7, 2006 7:44 PM (in response to clebert.suconic)Besides, clearing these references wouldn't affect performance either.
-
4. Re: ThreadWithAttributes possible leak
rmaucher Apr 7, 2006 7:46 PM (in response to clebert.suconic)The attributes hashtable is not called or used anywhere (it is a Tomcat 3.x artifact). As a result, it cannot cause any memory leaks.
-
5. Re: ThreadWithAttributes possible leak
clebert.suconic Apr 7, 2006 7:49 PM (in response to clebert.suconic)Ok... I kind of agree with attributes on that class.
But where the object Class get referenced within ThreadWithAttributes? I'm clearing seeing references there.
Anywhere in Tomcat, or this could be caused by WebService's code? -
6. Re: ThreadWithAttributes possible leak
rmaucher Apr 7, 2006 8:09 PM (in response to clebert.suconic)The reference trace seems to mention ThreadLocals. ThreadWithAttributes extends thread, and doesn't add much, although the version of Tomcat that is used in JBoss still uses the thData object array.