From: markt Date: Fri, 12 Aug 2011 09:00:24 +0000 (+0000) Subject: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51649 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=897375314f34284a173271811fd16aa8eed730ce;p=tomcat7.0 Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51649 Document ThreadLocalLeakPreventionListener git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1157015 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/webapps/docs/config/listeners.xml b/webapps/docs/config/listeners.xml index 207a5f150..8d148e4a9 100644 --- a/webapps/docs/config/listeners.xml +++ b/webapps/docs/config/listeners.xml @@ -292,6 +292,22 @@ + + +

The ThreadLocal Leak Prevention Listener triggers the + renewal of threads in Executor pools when a + Contextis being stopped to avoid thread-local + related memory leaks. Active threads will be renewed one by one when they + come back to the pool after executing their task.

+ +

This listener must only be nested within Server + elements.

+ +

No additional attributes are supported by the ThreadLocal Leak + Prevention Listener.

+ +
+