Re: ThreadLocal Memory Leak Protection - Executor threadRenewalDelay questions

2011-10-27 Thread Rohit Kelapure
Sylvain and Mark, Thank you for answering my questions! On Thu, Oct 27, 2011 at 3:16 PM, Sylvain Laurent wrote: > Hello, > > On 26 oct. 2011, at 17:55, Rohit Kelapure wrote: > >> * Reposting from the dev list as advised * >> >> Dear All, >> >> After going through the thread renewal code in >> /

Re: ThreadLocal Memory Leak Protection - Executor threadRenewalDelay questions

2011-10-27 Thread Sylvain Laurent
Hello, On 26 oct. 2011, at 17:55, Rohit Kelapure wrote: > * Reposting from the dev list as advised * > > Dear All, > > After going through the thread renewal code in > /tomcat-8.0.x/java/org/apache/tomcat/util/threads/TaskQueue.java , > /tomcat-8.0.x/java/org/apache/tomcat/util/threads/ThreadPo

Re: ThreadLocal Memory Leak Protection - Executor threadRenewalDelay questions

2011-10-26 Thread Mark Thomas
On 26/10/2011 16:55, Rohit Kelapure wrote: > Is this because we are never quite sure as to when *all* of the > threads in the pool have been renewed ? I assume so, yes. > 2. Does the thread renewal approach scale under load (i.e. all threads > in the pool busy servicing requests and CPU close to

ThreadLocal Memory Leak Protection - Executor threadRenewalDelay questions

2011-10-26 Thread Rohit Kelapure
* Reposting from the dev list as advised * Dear All, After going through the thread renewal code in /tomcat-8.0.x/java/org/apache/tomcat/util/threads/TaskQueue.java , /tomcat-8.0.x/java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java and the bug (Improve ThreadLocal memory leak clean-up) h