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

Alexander Schwartz (JIRA) jira-events at lists.jboss.org
Wed Feb 4 11:19:44 EST 2009


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


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. 

But the methodCache could be removed from the code as it is not used anyway: it is read in findMethod(), but nothing is stored (the code is commented out in version 1.0_02.CR2, and not present in all other souces (2.0.2.CR1, 2.0.1.GA).

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.  

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