tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
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: jhuxhorn@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message