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

--- Comment #5 from Pid <pids...@apache.org> 2010-09-23 10:49:43 EDT ---
Created an attachment (id=26068)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26068)
Alternative approach to renewing threads

Instead of completely renewing the entire thread pool, it's possible to do it
incrementally, which might be less invasive, in the event of a large number of
applications being updated at the same time.

This patch adds a TaskThread class and modifies the StandardContextValve. The
goal is to terminate a class after it's used, when it's discovered to be older
than the Context which it last serviced.

This approach wouldn't be as comprehensive as replacing the entire pool, but
should cause the pool to refresh incrementally over time. Further enhancement
could include self-cleaning of thread locals etc.

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

Reply via email to