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 50222] New: JreMemoryLeakPreventionListener should speculatively cause memory leaks using the system ClassLoader
Date Fri, 05 Nov 2010 15:00:13 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50222

           Summary: JreMemoryLeakPreventionListener should speculatively
                    cause memory leaks using the system ClassLoader
           Product: Tomcat 7
           Version: trunk
          Platform: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: chris@christopherschultz.net


JreMemoryLeakPreventionListener intentionally invokes methods known to pin the
context ClassLoader in memory in order to avoid having a WebappClassLoader
unintentionally pin itself. This may cause undesirable behavior in embedded
environments.

Instead, JMLPL could use a security context to temporarily set the current
context ClassLoader to be the system ClassLoader and solve the embedded
situation without the client having to remember to take this care.

-- 
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