[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-2251) ThreadlocalPool.discard() memory leak when exception thrown from bean method

Takayoshi Kimura (JIRA) jira-events at lists.jboss.org
Mon May 30 02:42:00 EDT 2011


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

Takayoshi Kimura updated EJBTHREE-2251:
---------------------------------------

    Attachment: EJBTHREE-2251.patch


Patch for jboss-ejb3-core-1.3.6

> ThreadlocalPool.discard() memory leak when exception thrown from bean method
> ----------------------------------------------------------------------------
>
>                 Key: EJBTHREE-2251
>                 URL: https://issues.jboss.org/browse/EJBTHREE-2251
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: core
>    Affects Versions: bom-eap5-1.0.1
>            Reporter: Takayoshi Kimura
>         Attachments: EJBTHREE-2251.patch
>
>
> ThreadlocalPool internally uses an InfinitePool and the InfinitePool.discard() method doesn't remove the ctx from its LinkedList active field properly thus memory leaked when an exception is thrown from bean method.
> Need to fix InfinitePool.discard() method.

--
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