tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51195] New: "Find leaks" reports a false positive memory/classloader leak
Date Fri, 13 May 2011 11:03:24 GMT

             Bug #: 51195
           Summary: "Find leaks" reports a false positive
                    memory/classloader leak
           Product: Tomcat 7
           Version: 7.0.12
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Manager
    Classification: Unclassified

If a webapp is using serialization of classes loaded by the webapp classloader
then the "Find leaks" button will report a leak after undeploy of the webapp.
This is only partially true since the references that are still kept are only
SoftReference instances.

This can be circumvented by adding code comparable to the changes in this
prior to executing the garbage collection during "Find leaks".

I'd suggest to add such code to prevent the false positive warning.

See also

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message