[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3932) org.jboss.el.util.ReflectionUtil/org.jboss.el.util.ReferenceCache causes thread and memory leak

Matthew Lieder (JIRA) jira-events at lists.jboss.org
Thu Feb 26 16:05:54 EST 2009

    [ https://jira.jboss.org/jira/browse/JBSEAM-3932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12454571#action_12454571 ] 

Matthew Lieder commented on JBSEAM-3932:

I just identified this leak too, using YourKit. It's one of a number of issues we've identified that are preventing our webapp's classloader from getting garbage collected during an undeploy.

> org.jboss.el.util.ReflectionUtil/org.jboss.el.util.ReferenceCache causes thread and memory leak
> -----------------------------------------------------------------------------------------------
>                 Key: JBSEAM-3932
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3932
>             Project: Seam
>          Issue Type: Bug
>    Affects Versions: 2.1.1.GA
>         Environment: Tomcat w/ Seam on Windows
>            Reporter: Alexander Schwartz
>            Assignee: Norman Richards
>         Attachments: reference.patch
> org.jboss.el.util.ReflectionUtil (from jboss-el) uses a  
> private static ReferenceCache methodCache
> and this ReferenceCache is leaking a thread that is used for cleanup. You can't call a cleanup method from the outside. 
> Every redeployment of an application will leak one thread due to this bug. And it causes a memory leak as the web application class loader can't be unloaded due to this bug.
> The pom.xml of jboss-el states "JBoss EL is a extended EL implementation, distributed with Seam", therefore I report this bug against Seam.  
> If this thread should really be necessary, it should have a proper name.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list