Class LDAPLeakPreventer

  • All Implemented Interfaces:
    LifeCycle

    @Deprecated
    public class LDAPLeakPreventer
    extends AbstractLeakPreventer
    Deprecated.
    fixed in jdk 8u192
    LDAPLeakPreventer If com.sun.jndi.LdapPoolManager class is loaded and the system property com.sun.jndi.ldap.connect.pool.timeout is set to a nonzero value, a daemon thread is started which can pin a webapp classloader if it is the first to load the LdapPoolManager. Inspired by Tomcat JreMemoryLeakPrevention