[jboss-jira] [JBoss JIRA] Closed: (JBAS-8389) Issue in using ThreadLocal

David Lloyd (JIRA) jira-events at lists.jboss.org
Tue Mar 22 14:39:57 EDT 2011


     [ https://issues.jboss.org/browse/JBAS-8389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd closed JBAS-8389.
-----------------------------

    Resolution: Done


> Issue in using ThreadLocal
> --------------------------
>
>                 Key: JBAS-8389
>                 URL: https://issues.jboss.org/browse/JBAS-8389
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: z - Legacy - Other
>    Affects Versions: JBossAS-4.2.2.GA
>         Environment: Application Server - Garbage collection
>            Reporter: Arunsakthi Kalyanasundharam
>            Assignee: Shelly McGowan
>              Labels: collection, garbage, threadlocal
>             Fix For: JBossAS-4.2.3.GA
>
>
> I'm using Threadlocal in a web component. By definition, threadlocal variables should be cleared by end of execution of the thread. In case Application server, since its using a thread pool, the threadlocal variables are not cleared / garbage collected.
> This is leading to memory leakage (out of memory errors) and inconsistent behavior of the application since the variables are not getting cleared off.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list