https://bz.apache.org/bugzilla/show_bug.cgi?id=59805

Javen O'Neal <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from Javen O'Neal <[email protected]> ---
(In reply to Javen O'Neal from comment #1)
> I think Catalina is reporting a false positive here.

I take that back. This may cause a PermGen memory leak since every thread holds
onto a reference to the ThreadLocal subclass.ly.

Searching for ThreadLocal memory leak, I got this result:
https://stackoverflow.com/questions/17968803/threadlocal-memory-leak

Log4j had a similar problem on their ThreadLocalMap.
This memory leak was fixed here:
https://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/MDC.java?annotate=1231361&diff_format=f&pathrev=1231361#l177

The solution is to call ThreadLocal.remove somewhere...

-- 
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]

Reply via email to