From 897375314f34284a173271811fd16aa8eed730ce Mon Sep 17 00:00:00 2001 From: markt Date: Fri, 12 Aug 2011 09:00:24 +0000 Subject: [PATCH] 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 --- webapps/docs/config/listeners.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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.

+ +
+
-- 2.11.0