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: [email protected]
        ReportedBy: [email protected]


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to