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

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Thu Nov 11 00:05:01 EST 2010


    [ https://jira.jboss.org/browse/JBAS-8389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562711#action_12562711 ] 

Shelly McGowan commented on JBAS-8389:
--------------------------------------

JBoss AS 4.2.3. GA is available here:
http://www.jboss.org/jbossas/downloads.html

but is not an active development stream. 

> Issue in using ThreadLocal
> --------------------------
>
>                 Key: JBAS-8389
>                 URL: https://jira.jboss.org/browse/JBAS-8389
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Java EE APIs
>    Affects Versions: JBossAS-4.2.2.GA
>         Environment: Application Server - Garbage collection
>            Reporter: Arunsakthi Kalyanasundharam
>            Assignee: Shelly McGowan
>             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.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list