[jboss-jira] [JBoss JIRA] Created: (JBAS-8389) Issue in using ThreadLocal
Arunsakthi Kalyanasundharam (JIRA)
jira-events at lists.jboss.org
Fri Sep 3 23:18:52 EDT 2010
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