https://bz.apache.org/bugzilla/show_bug.cgi?id=60515
Bug ID: 60515
Summary: Improve ThreadLocal memory leak clean-up for
ContainerBackgroundProcessor
Product: Tomcat 8
Version: 8.0.39
Hardware: PC
Status: NEW
Severity: enhancement
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
Web applications using ThreadLocals inside HttpSessionListener implementations
may cause a class loader leak, since the listener calls are made in the
ContainerBackgroundProcessor thread, which is usually not renewed over time.
As already suggested in
https://bz.apache.org/bugzilla/show_bug.cgi?id=49159#c15, a separate thread
should be spawned for those callbacks into the webapp.
The current leak prevention (for Tomcat 7, 8 and 9) only considers the
application lifecycle callbacks, not the HttpSessionListener callbacks.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]