You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by Henri Yandell <fl...@gmail.com> on 2010/02/05 05:18:11 UTC

Re: [jira] Resolved: (LANG-586) Use of ThreadLocal in ToStringStyle.java triggers memory leak in container environment

This definitely feels like a fix for 2.5 as well.

On Thu, Feb 4, 2010 at 2:01 PM, Matt Benson (JIRA) <ji...@apache.org> wrote:
>
>     [ https://issues.apache.org/jira/browse/LANG-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Matt Benson resolved LANG-586.
> ------------------------------
>
>       Resolution: Fixed
>    Fix Version/s: 3.0
>
> svn commit: r906673
> svn commit: r906676
>
>> Use of ThreadLocal in ToStringStyle.java triggers memory leak in container environment
>> --------------------------------------------------------------------------------------
>>
>>                 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: 3.0
>>
>>
>> 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.
>
>