Skip navigation links
A B C D E F G I J K L M N O P R S T U W X 

A

addCleanUp(ClassLoaderPreMortemCleanUp) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
Add a new ClassLoaderPreMortemCleanUp, using the class name as name
addCleanUp(String, ClassLoaderPreMortemCleanUp) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
addPreInitiator(PreClassLoaderInitiator) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
Add a new PreClassLoaderInitiator, using the class name as name
ApacheCommonsLoggingCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Release this classloader from Apache Commons Logging (ACL) by calling LogFactory.release(getCurrentClassLoader()); Use reflection in case ACL is not present.
ApacheCommonsLoggingCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.ApacheCommonsLoggingCleanUp
 
AwtToolkitInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
The first call to java.awt.Toolkit.getDefaultToolkit() will spawn a new thread with the same contextClassLoader as the caller.
AwtToolkitInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.AwtToolkitInitiator
 

B

BeanELResolverCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Clean for the cache of javax.el.BeanELResolver, which leaks prior to version 2.2.4.
BeanELResolverCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.BeanELResolverCleanUp
 
BeanIntrospectorCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Clear Introspector cache
BeanIntrospectorCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.BeanIntrospectorCleanUp
 
BeanValidationCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Clean up leak caused by cache in javax.validation.Validation
BeanValidationCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.BeanValidationCleanUp
 

C

ClassLoaderLeakPreventor - Class in se.jiderhamn.classloader.leak.prevention
This class helps prevent classloader leaks.
ClassLoaderLeakPreventor(ClassLoader, ClassLoader, Logger, Collection<PreClassLoaderInitiator>, Collection<ClassLoaderPreMortemCleanUp>) - Constructor for class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
ClassLoaderLeakPreventorFactory - Class in se.jiderhamn.classloader.leak.prevention
Orchestrator class responsible for invoking the preventative and cleanup measures.
ClassLoaderLeakPreventorFactory() - Constructor for class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
ClassLoaderLeakPreventorFactory(ClassLoader) - Constructor for class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
ClassLoaderPreMortemCleanUp - Interface in se.jiderhamn.classloader.leak.prevention
Interface for cleanup actions that should be performed as part of the preparations to make a ClassLoader available for garbage collection.
cleanUp(ClassLoaderLeakPreventor) - Method in interface se.jiderhamn.classloader.leak.prevention.ClassLoaderPreMortemCleanUp
Perform cleanup actions needed to make provided ClassLoaderLeakPreventor.classLoader ready for garbage collection.
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ApacheCommonsLoggingCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.BeanELResolverCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.BeanIntrospectorCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.BeanValidationCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.DefaultAuthenticatorCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.DriverManagerCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.GeoToolsCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.IIOServiceProviderCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.IntrospectionUtilsCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.JacksonCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.JavaServerFaces2746CleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.JavaUtilLoggingLevelCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.JceSecurityCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.JDK8151486CleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.KeepAliveTimerCacheCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.MBeanCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.MoxyCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.MultiThreadedHttpConnectionManagerCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.MXBeanNotificationListenersCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.PropertyEditorCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ProxySelectorCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ReactorNettyHttpResourcesCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ResourceBundleCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.RmiTargetsCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.SAAJEnvelopeFactoryParserPoolCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.SecurityProviderCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ShutdownHookCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadGroupCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadGroupContextCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadLocalCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.X509TrustManagerImplUnparseableExtensionCleanUp
 
cleanUp(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.ReplaceDOMNormalizerSerializerAbortException
 
cleanUps - Variable in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
Map from name to ClassLoaderPreMortemCleanUps with all the actions to invoke to make a ClassLoader ready for Garbage Collection.
clearCleanUps() - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
Remove all the currently configured ClassLoaderPreMortemCleanUps
clearPreInitiators() - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
Remove all the currently configured PreClassLoaderInitiators
clearRmiTargetsMap(ClassLoaderLeakPreventor, Map<?, ?>) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.RmiTargetsCleanUp
Iterate RMI Targets Map and remove entries loaded by protected ClassLoader
configureDefaults() - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
constructRuntimeExceptionWithoutStackTrace(ClassLoaderLeakPreventor, String, Throwable) - Static method in class se.jiderhamn.classloader.leak.prevention.ReplaceDOMNormalizerSerializerAbortException
Construct a new RuntimeException without any stack trace, in order to avoid any references back to this class
createAccessControlContext() - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor

D

DatatypeConverterImplInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
DatatypeConverterImpl in the JAXB Reference Implementation shipped with JDK 1.6+ will keep a static reference (DatatypeConverterImpl) to a concrete subclass of DatatypeFactory, that is resolved when the class is loaded (which I believe happens if you have custom bindings that reference the static methods in DatatypeConverter).
DatatypeConverterImplInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.DatatypeConverterImplInitiator
 
debug(String) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
debug(String) - Method in class se.jiderhamn.classloader.leak.prevention.JULLogger
 
debug(String) - Method in interface se.jiderhamn.classloader.leak.prevention.Logger
Log debug level message
debug(String) - Method in class se.jiderhamn.classloader.leak.prevention.StdLogger
 
DefaultAuthenticatorCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Clear the default Authenticator (in case current one is loaded by protected ClassLoader).
DefaultAuthenticatorCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.DefaultAuthenticatorCleanUp
 
DocumentBuilderFactoryInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
The classloader of the first thread to call DocumentBuilderFactory.newInstance().newDocumentBuilder() seems to be unable to garbage collection.
DocumentBuilderFactoryInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.DocumentBuilderFactoryInitiator
 
doInLeakSafeClassLoader(Runnable) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Perform action in the provided ClassLoader (normally system ClassLoader, that may retain references to the Thread.contextClassLoader.
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in interface se.jiderhamn.classloader.leak.prevention.PreClassLoaderInitiator
Perform action that needs to be done outside the leak susceptible classloader, i.e. in the system or other parent classloader.
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.AwtToolkitInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.DatatypeConverterImplInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.DocumentBuilderFactoryInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.JarUrlConnectionInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.Java2dDisposerInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.Java2dRenderQueueInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.JavaxSecurityLoginConfigurationInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.JdbcDriversInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.LdapPoolManagerInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.OracleJdbcThreadInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.SecurityPolicyInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.SecurityProvidersInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.SunAwtAppContextInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.preinit.SunGCInitiator
 
doOutsideClassLoader(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.ReplaceDOMNormalizerSerializerAbortException
 
DriverManagerCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Deregister JDBC drivers loaded by classloader
DriverManagerCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.DriverManagerCleanUp
 

E

error(Throwable) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
error(String) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
error(String) - Method in class se.jiderhamn.classloader.leak.prevention.JULLogger
 
error(Throwable) - Method in class se.jiderhamn.classloader.leak.prevention.JULLogger
 
error(String) - Method in interface se.jiderhamn.classloader.leak.prevention.Logger
Log an error message
error(Throwable) - Method in interface se.jiderhamn.classloader.leak.prevention.Logger
Log a Throwable as an error message
error(String) - Method in class se.jiderhamn.classloader.leak.prevention.StdLogger
 
error(Throwable) - Method in class se.jiderhamn.classloader.leak.prevention.StdLogger
 
executeShutdownHooks - Variable in class se.jiderhamn.classloader.leak.prevention.cleanup.ShutdownHookCleanUp
Should shutdown hooks registered from the application be executed at application shutdown?

F

findClass(String) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
findClass(String, boolean) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
findClass(ClassLoaderLeakPreventor, String) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.MoxyCleanUp
 
findField(Class<?>, String) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
findFieldOfClass(String, String) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
findFieldOfClass(String, String, boolean) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
findMethod(String, String, Class...) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
findMethod(Class<?>, String, Class...) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
forceStartOpenOfficeJurtCleanup(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp
The bug detailed at https://issues.apache.org/ooo/show_bug.cgi?
forEachThreadLocalInThread(ClassLoaderLeakPreventor, Thread) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadLocalCleanUp
 

G

gc() - Static method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Unlike System.gc() this method guarantees that garbage collection has been performed before returning.
GeoToolsCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Shutdown GeoTools cleaner thread as of https://osgeo-org.atlassian.net/browse/GEOT-2742
GeoToolsCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.GeoToolsCleanUp
 
getAllThreads() - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Get a Collection with all Threads.
getClassLoader() - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
getCleanUp(Class<C>) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
Get instance of ClassLoaderPreMortemCleanUp for further configuring.
getDefaultAuthenticator(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.DefaultAuthenticatorCleanUp
Find default Authenticator
getFieldValue(Object, String) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
getFieldValue(Field, Object) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
getLeakSafeClassLoader() - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Get ClassLoader to be used when invoking the PreClassLoaderInitiators.
getLogPrefix() - Method in class se.jiderhamn.classloader.leak.prevention.StdLogger
Get prefix to use when logging to System.out/System.err
getPreInitiator(Class<C>) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
Get instance of PreClassLoaderInitiator for further configuring.
getStackTrace(Thread) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Get current stack trace or provided thread as string.
getStaticFieldValue(Class<?>, String) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
getStaticFieldValue(String, String) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
getStaticFieldValue(String, String, boolean) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
getStaticFieldValue(Field) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 

I

IIOServiceProviderCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Unregister ImageIO Service Provider loaded by the protected ClassLoader
IIOServiceProviderCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.IIOServiceProviderCleanUp
 
info(String) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
info(String) - Method in class se.jiderhamn.classloader.leak.prevention.JULLogger
 
info(String) - Method in interface se.jiderhamn.classloader.leak.prevention.Logger
Log info level message
info(String) - Method in class se.jiderhamn.classloader.leak.prevention.StdLogger
 
IntrospectionUtilsCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Clear IntrospectionUtils caches of Tomcat and Apache Commons Modeler
IntrospectionUtilsCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.IntrospectionUtilsCleanUp
 
isClassLoaderOrChild(ClassLoader) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Test if provided ClassLoader is the ClassLoaderLeakPreventor.classLoader, or a child thereof
isJBoss() - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Override this method if you want to customize how we determine if we're running in JBoss WildFly (a.k.a JBoss AS).
isJettyWithJMX(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.MBeanCleanUp
Are we running in Jetty with JMX enabled?
isJvmShuttingDown() - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Is the JVM currently shutting down?
isLoadedByClassLoader(Class<?>) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Test if provided class is loaded wby ClassLoaderLeakPreventor.classLoader
isLoadedInClassLoader(Object) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Test if provided object is loaded by ClassLoaderLeakPreventor.classLoader
isOracleJRE() - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Are we running in the Oracle/Sun Java Runtime Environment?
isThreadInClassLoader(Thread) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Is the Thread ties do the protected classloader, either by being a custom Thread class, having a custom ThreadGroup or having the protected classloader as its Thread.contextClassLoader?

J

JacksonCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Clear Jackson TypeFactory cache as per https://github.com/FasterXML/jackson-databind/issues/1363
JacksonCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.JacksonCleanUp
 
JarUrlConnectionInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
The caching mechanism of JarURLConnection can prevent JAR files to be reloaded.
JarUrlConnectionInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.JarUrlConnectionInitiator
 
Java2dDisposerInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
Loading the class sun.java2d.Disposer will spawn a new thread with the same contextClassLoader.
Java2dDisposerInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.Java2dDisposerInitiator
 
Java2dRenderQueueInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
Using the class sun.java2d.opengl.OGLRenderQueue will spawn a new QueueFlusher thread with the same contextClassLoader.
Java2dRenderQueueInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.Java2dRenderQueueInitiator
 
java_lang_Thread_inheritableThreadLocals - Variable in class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadLocalCleanUp
 
java_lang_Thread_threadLocals - Variable in class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadLocalCleanUp
 
java_lang_ThreadLocal$ThreadLocalMap$Entry_value - Variable in class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadLocalCleanUp
 
java_lang_ThreadLocal$ThreadLocalMap_table - Variable in class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadLocalCleanUp
 
JavaServerFaces2746CleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Workaround for leak caused by Mojarra JSF implementation if included in the container.
JavaServerFaces2746CleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.JavaServerFaces2746CleanUp
 
JavaUtilLoggingLevelCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Cleanup for removing custom Levels loaded within the protected class loader.
JavaUtilLoggingLevelCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.JavaUtilLoggingLevelCleanUp
 
JavaxSecurityLoginConfigurationInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
The class javax.security.auth.login.Configuration will keep a strong static reference to the contextClassLoader of Thread from which the class is loaded.
JavaxSecurityLoginConfigurationInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.JavaxSecurityLoginConfigurationInitiator
 
JceSecurityCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Clean up for the static caches of JceSecurity
JceSecurityCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.JceSecurityCleanUp
 
JdbcDriversInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
Your JDBC driver will be registered in java.sql.DriverManager, which means that if you include your JDBC driver inside your web application, there will be a reference to your webapps classloader from system classes (see part II).
JdbcDriversInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.JdbcDriversInitiator
 
JDK8151486CleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Clear the "domains" field of the parent ClassLoader.
JDK8151486CleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.JDK8151486CleanUp
 
JULLogger - Class in se.jiderhamn.classloader.leak.prevention
Implementation of Logger interface, that uses java.util.logging.
JULLogger() - Constructor for class se.jiderhamn.classloader.leak.prevention.JULLogger
 
JURT_ASYNCHRONOUS_FINALIZER - Static variable in class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp
 
JURTKiller(ClassLoaderLeakPreventor, Thread) - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp.JURTKiller
 

K

KeepAliveTimerCacheCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Since Keep-Alive-Timer thread may have terminated, but still be referenced, we need to make sure it does not reference this classloader.
KeepAliveTimerCacheCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.KeepAliveTimerCacheCleanUp
 

L

LdapPoolManagerInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
The contextClassLoader of the thread loading the com.sun.jndi.ldap.LdapPoolManager class may be kept from being garbage collected, since it will start a new thread if the system property com.sun.jndi.ldap.connect.pool.timeout is set to a value greater than 0.
LdapPoolManagerInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.LdapPoolManagerInitiator
 
leakSafeClassLoader - Variable in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
ClassLoader to be used when invoking the PreClassLoaderInitiators.
logger - Variable in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
The Logger that will be passed on to the different PreClassLoaderInitiators and ClassLoaderPreMortemCleanUps
Logger - Interface in se.jiderhamn.classloader.leak.prevention
Interface for logging, with similarities to common logging frameworks.

M

MBeanCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Unregister MBeans loaded by the protected class loader
MBeanCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.MBeanCleanUp
 
MoxyCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Cleanup for leak caused by EclipseLink MOXy See https://bugs.eclipse.org/bugs/show_bug.cgi?
MoxyCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.MoxyCleanUp
 
MultiThreadedHttpConnectionManagerCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Invokes static method org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.shutdownAll() to close connections left out by com.sun.jersey.client.apache.ApacheHttpClient.
MultiThreadedHttpConnectionManagerCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.MultiThreadedHttpConnectionManagerCleanUp
 
MustBeAfter<I> - Interface in se.jiderhamn.classloader.leak.prevention
Interface to be implemented by PreClassLoaderInitiators and ClassLoaderPreMortemCleanUps when order is important.
mustBeBeforeMe() - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.KeepAliveTimerCacheCleanUp
Needs to be done after StopThreadsCleanUp, since in there the Keep-Alive-Timer may be stopped.
mustBeBeforeMe() - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadGroupCleanUp
 
mustBeBeforeMe() - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadLocalCleanUp
Needs to be done after StopThreadsCleanUp, since new ThreadLocals may be added when threads are shutting down.
mustBeBeforeMe() - Method in interface se.jiderhamn.classloader.leak.prevention.MustBeAfter
Returns an array of classes that, if part of they or any subclass of them are part of the list of PreClassLoaderInitiators/ClassLoaderPreMortemCleanUps, needs to be prior to this element in the list.
MXBeanNotificationListenersCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Unregister MBeans, MXBean NotificationListeners/NotificationFilters/handbacks loaded by the protected class loader
MXBeanNotificationListenersCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.MXBeanNotificationListenersCleanUp
 

N

newLeakPreventor() - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
Create new ClassLoaderLeakPreventor used to prevent the provided Thread.contextClassLoader of the Thread.currentThread() from leaking.
newLeakPreventor(ClassLoader) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
Create new ClassLoaderLeakPreventor used to prevent the provided ClassLoader from leaking

O

OracleJdbcThreadInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
See https://github.com/mjiderhamn/classloader-leak-prevention/issues/8 and https://github.com/mjiderhamn/classloader-leak-prevention/issues/23 and https://github.com/mjiderhamn/classloader-leak-prevention/issues/69 and http://java.jiderhamn.se/2012/02/26/classloader-leaks-v-common-mistakes-and-known-offenders/
OracleJdbcThreadInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.OracleJdbcThreadInitiator
 

P

PreClassLoaderInitiator - Interface in se.jiderhamn.classloader.leak.prevention
Interface for preventative actions that should be executed in the system (or other parent) classloader before they may be triggered within the classloader that is about to be launched, and thereby may trigger leaks.
preInitiators - Variable in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
Map from name to PreClassLoaderInitiators with all the actions to invoke in the ClassLoaderLeakPreventorFactory.leakSafeClassLoader.
processLeak(ClassLoaderLeakPreventor, Thread, Reference<?>, ThreadLocal<?>, Object, String) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadLocalCleanUp
After having detected potential ThreadLocal leak, this method is called.
processLeak(ClassLoaderLeakPreventor, Thread, Reference<?>, ThreadLocal<?>, Object, String) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.WarningThreadLocalCleanUp
Log not ThreadLocal.remove()ed leak as a warning.
processThreadLocalMap(ClassLoaderLeakPreventor, Thread, Object) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadLocalCleanUp
 
PropertyEditorCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Deregister custom property editors.
PropertyEditorCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.PropertyEditorCleanUp
 
ProxySelectorCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
If default ProxySelector is loaded by protected ClassLoader it needs to be unset
ProxySelectorCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.ProxySelectorCleanUp
 

R

ReactorNettyHttpResourcesCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Clean up Reactor Netty resources
ReactorNettyHttpResourcesCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.ReactorNettyHttpResourcesCleanUp
 
removeCleanUp(Class<C>) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
Get instance of ClassLoaderPreMortemCleanUp for further configuring
removeDomainCombiner(Thread, AccessControlContext) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Deprecated.
removeDomainCombiner(String, AccessControlContext) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Recursively unset our custom DomainCombiner (loaded in the web app) from the AccessControlContext and any parents or privilegedContext thereof.
removePreInitiator(Class<C>) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
Get instance of PreClassLoaderInitiator for further configuring
removeShutdownHook(ClassLoaderLeakPreventor, Thread) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ShutdownHookCleanUp
Deregister shutdown hook and execute it immediately
removeWrappedAuthenticators(ClassLoaderLeakPreventor, Authenticator) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.DefaultAuthenticatorCleanUp
Recursively removed wrapped Authenticator loaded in protected ClassLoader.
ReplaceDOMNormalizerSerializerAbortException - Class in se.jiderhamn.classloader.leak.prevention
As reported at https://github.com/mjiderhamn/classloader-leak-prevention/issues/36, invoking DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument().normalizeDocument(); or Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); DOMImplementationLS implementation = (DOMImplementationLS)document.getImplementation(); implementation.createLSSerializer().writeToString(document); may trigger leaks caused by the static fields com.sun.org.apache.xerces.internal.dom.DOMNormalizer#abort and com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl#abort respectively keeping stacktraces/backtraces that may include references to classes loaded by our web application.
ReplaceDOMNormalizerSerializerAbortException() - Constructor for class se.jiderhamn.classloader.leak.prevention.ReplaceDOMNormalizerSerializerAbortException
 
replaceDOMNormalizerSerializerAbortException(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.ReplaceDOMNormalizerSerializerAbortException
 
ResourceBundleCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Clean up caches in ResourceBundle
ResourceBundleCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.ResourceBundleCleanUp
 
RmiTargetsCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Heavily inspired by org.apache.catalina.loader.WebappClassLoader.clearReferencesRmiTargets()
RmiTargetsCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.RmiTargetsCleanUp
 
run() - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp.JURTKiller
 
runCleanUps() - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Invoke all the registered ClassLoaderPreMortemCleanUps
runPreClassLoaderInitiators() - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor

S

SAAJEnvelopeFactoryParserPoolCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Clean up leak caused by SAXParser attribute/property being loaded by protected class loader and cached in com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory#parserPool.
SAAJEnvelopeFactoryParserPoolCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.SAAJEnvelopeFactoryParserPoolCleanUp
 
se.jiderhamn.classloader.leak.prevention - package se.jiderhamn.classloader.leak.prevention
 
se.jiderhamn.classloader.leak.prevention.cleanup - package se.jiderhamn.classloader.leak.prevention.cleanup
 
se.jiderhamn.classloader.leak.prevention.preinit - package se.jiderhamn.classloader.leak.prevention.preinit
 
SecurityPolicyInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
javax.security.auth.Policy.getPolicy() will keep a strong static reference to the contextClassLoader of the first calling thread.
SecurityPolicyInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.SecurityPolicyInitiator
 
SecurityProviderCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Deregister custom security providers
SecurityProviderCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.SecurityProviderCleanUp
 
SecurityProvidersInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
Custom java.security.Provider loaded in your web application and registered with java.security.Security.addProvider() must be unregistered with java.security.Security.removeProvider() at application shutdown, or it will cause leaks.
SecurityProvidersInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.SecurityProvidersInitiator
 
setExecuteShutdownHooks(boolean) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ShutdownHookCleanUp
 
setFinalStaticField(Field, Object) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
setLogger(Logger) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventorFactory
Set logger
setShutdownHookWaitMs(int) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.ShutdownHookCleanUp
 
setStopThreads(boolean) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp
 
setStopTimerThreads(boolean) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp
 
setThreadWaitMs(int) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp
 
SHUTDOWN_HOOK_WAIT_MS_DEFAULT - Static variable in class se.jiderhamn.classloader.leak.prevention.cleanup.ShutdownHookCleanUp
Default no of milliseconds to wait for shutdown hook to finish execution
ShutdownHookCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Find and deregister shutdown hooks.
ShutdownHookCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.ShutdownHookCleanUp
Constructor for test case
ShutdownHookCleanUp(boolean, int) - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.ShutdownHookCleanUp
 
shutdownHookWaitMs - Variable in class se.jiderhamn.classloader.leak.prevention.cleanup.ShutdownHookCleanUp
No of milliseconds to wait for shutdown hooks to finish execution, before stopping them.
StdLogger - Class in se.jiderhamn.classloader.leak.prevention
Implementation of Logger interface, that uses System.out and System.err.
StdLogger() - Constructor for class se.jiderhamn.classloader.leak.prevention.StdLogger
 
stopThreads - Variable in class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp
 
stopThreads(ClassLoaderLeakPreventor) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp
Partially inspired by org.apache.catalina.loader.WebappClassLoader.clearReferencesThreads()
StopThreadsCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Check if there are threads running within the protected ClassLoader, or otherwise referencing it, and either warn or stop those threads depending on settings.
StopThreadsCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp
Default constructor with StopThreadsCleanUp.stopThreads = true and StopThreadsCleanUp.stopTimerThreads = true
StopThreadsCleanUp(boolean, boolean) - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp
 
StopThreadsCleanUp.JURTKiller - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Inner class with the sole task of killing JURT finalizer thread after it is done processing jobs.
stopTimerThread(ClassLoaderLeakPreventor, Thread) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp
 
stopTimerThreads - Variable in class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp
Should Timer threads tied to the protected ClassLoader classloader be forced to stop at application shutdown?
SunAwtAppContextInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
There will be a strong reference from sun.awt.AppContext#contextClassLoader to the classloader of the calls to sun.awt.AppContext#getAppContext().
SunAwtAppContextInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.SunAwtAppContextInitiator
 
SunGCInitiator - Class in se.jiderhamn.classloader.leak.prevention.preinit
sun.misc.GC.requestLatency(long), which is known to be called from javax.management.remote.rmi.RMIConnectorServer.start(), will cause the current contextClassLoader to be unavailable for garbage collection.
SunGCInitiator() - Constructor for class se.jiderhamn.classloader.leak.prevention.preinit.SunGCInitiator
 

T

THREAD_WAIT_MS_DEFAULT - Static variable in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Default no of milliseconds to wait for threads to finish execution
ThreadGroupCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Destroy any ThreadGroups that are loaded by the protected classloader
ThreadGroupCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadGroupCleanUp
 
ThreadGroupContextCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Clean all ThreadGroupContext.beanInfoCaches in ThreadGroupContext.contexts since they may contain beans/properties loaded in the protected classloader.
ThreadGroupContextCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadGroupContextCleanUp
 
ThreadLocalCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
Clear ThreadLocals for which ThreadLocal.remove() has not been called, in case either the ThreadLocal is a custom one (subclassed in the protected ClassLoader), or the value is loaded by (or is) the protected ClassLoader.
ThreadLocalCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.ThreadLocalCleanUp
 
threadWaitMs - Variable in class se.jiderhamn.classloader.leak.prevention.cleanup.StopThreadsCleanUp
No of milliseconds to wait for threads to finish execution, before stopping them.

U

unregisterNotificationListeners(ClassLoaderLeakPreventor, NotificationBroadcasterSupport, Class<?>) - Method in class se.jiderhamn.classloader.leak.prevention.cleanup.MXBeanNotificationListenersCleanUp
Unregister NotificationListeners from subclass of NotificationBroadcasterSupport, if listener, filter or handback is loaded by the protected ClassLoader.

W

waitForThread(Thread, long, boolean) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
Make the provided Thread stop sleep(), wait() or join() and then give it the provided no of milliseconds to finish executing.
warn(Throwable) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
warn(String) - Method in class se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
 
warn(String) - Method in class se.jiderhamn.classloader.leak.prevention.JULLogger
 
warn(Throwable) - Method in class se.jiderhamn.classloader.leak.prevention.JULLogger
 
warn(String) - Method in interface se.jiderhamn.classloader.leak.prevention.Logger
Log a warning message
warn(Throwable) - Method in interface se.jiderhamn.classloader.leak.prevention.Logger
Log a Throwable as a warning message
warn(String) - Method in class se.jiderhamn.classloader.leak.prevention.StdLogger
 
warn(Throwable) - Method in class se.jiderhamn.classloader.leak.prevention.StdLogger
 
WarningThreadLocalCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
ClassLoaderPreMortemCleanUp that does not clear ThreadLocals to remove the leak, but only logs a warning
WarningThreadLocalCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.WarningThreadLocalCleanUp
 

X

X509TrustManagerImplUnparseableExtensionCleanUp - Class in se.jiderhamn.classloader.leak.prevention.cleanup
sun.security.ssl.X509TrustManagerImpl keeps a list set of trusted certs, which may include sun.security.x509.UnparseableExtension that in turn may include an Exception with a backtrace with references to the classloader that we want to protect
X509TrustManagerImplUnparseableExtensionCleanUp() - Constructor for class se.jiderhamn.classloader.leak.prevention.cleanup.X509TrustManagerImplUnparseableExtensionCleanUp
 
A B C D E F G I J K L M N O P R S T U W X 
Skip navigation links

Copyright © 2019. All rights reserved.