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

             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
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: jhuxh...@googlemail.com
    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
commit
https://github.com/huxi/logback/commit/d53e970963f84692889d438dd8a23c96137c15f2
prior to executing the garbage collection during "Find leaks".

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

See also http://jira.qos.ch/browse/LBCORE-205

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to