Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-3932

org.jboss.el.util.ReflectionUtil/org.jboss.el.util.ReferenceCache causes thread and memory leak

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.1.GA
    • Fix Version/s: 2.1.2.CR1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Tomcat w/ Seam on Windows

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  norman.richards Norman Richards
                  Reporter:
                  ahus1 Alexander Schwartz
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: