commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LANG-586) Use of ThreadLocals in ToStringStyle and HashCodeBuilder trigger memory leaks in container environments
Date Thu, 25 Feb 2010 19:56:27 GMT

     [ https://issues.apache.org/jira/browse/LANG-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Niall Pemberton updated LANG-586:
---------------------------------

    Fix Version/s:     (was: 3.0)

> Use of ThreadLocals in ToStringStyle and HashCodeBuilder trigger memory leaks in container
environments
> -------------------------------------------------------------------------------------------------------
>
>                 Key: LANG-586
>                 URL: https://issues.apache.org/jira/browse/LANG-586
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.builder.*
>            Reporter: Mark Thomas
>             Fix For: 2.5
>
>
> The thread local in org.apache.commons.lang3.builder.ToStringStyle is created but never
removed and no API is provided to remove it. If a webapp's use of LANG triggers the loading
of this class, a reference chain will be created that will cause a memory leak on web application
reload.
> See http://markmail.org/thread/uetw2fdrsqgbh2cv for more info.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message