https://issues.apache.org/bugzilla/show_bug.cgi?id=56369

            Bug ID: 56369
           Summary: BaseModelMBean does not clean-up attributeBroadcaster
                    in removeNotificationListener()
           Product: Tomcat 7
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: [email protected]
          Reporter: [email protected]

BaseModelMBean.addNotificationListener() registers the listener on
attributeBroadcaster, while BaseModelMBean.removeNotificationListener() fails
to clean that up.

The end result is a memory leak that is very apparent when you embed directly
in your WAR file jmxremote_optional.jar as the
com.sun.jmx.remote.opt.internal.ArrayNotificationBuffer$BufferListener'
classloader cannot be garbage collected which end up depleting the perm gen
merely after a few redeploys.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to