Package org.eclipse.jetty.util.preventers
Jetty Util : Common Memory Leak Prevention Tooling
-
Class Summary Class Description AbstractLeakPreventer AbstractLeakPreventer Abstract base class for code that seeks to avoid pinning of webapp classloaders by using the jetty classloader to proactively call the code that pins them (generally pinned as static data members, or as static data members that are daemon threads (which use the context classloader)).AppContextLeakPreventer AppContextLeakPreventer Cause the classloader that is pinned by AppContext.getAppContext() to be a container or system classloader, not a webapp classloader.AWTLeakPreventer AWTLeakPreventer See https://issues.jboss.org/browse/AS7-3733 The java.awt.Toolkit class has a static field that is the default toolkit.DOMLeakPreventer Deprecated. reported as fixed in jdk 7, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6916498DriverManagerLeakPreventer DriverManagerLeakPreventer Cause DriverManager.getCallerClassLoader() to be called, which will pin the classloader.GCThreadLeakPreventer Deprecated. fixed in jdvm 9b130, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8157570Java2DLeakPreventer Deprecated. fixed in jdk 9, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6489540LDAPLeakPreventer Deprecated. fixed in jdk 8u192LoginConfigurationLeakPreventer Deprecated. classloader does not seem to be held any moreSecurityProviderLeakPreventer Deprecated. sun.security.pkcs11.SunPKCS11 class explicitly sets thread classloader to null