[infinispan-issues] [JBoss JIRA] (ISPN-5033) Lack of EmbeddedCacheManager.undefineConfiguration(String) can cause memory/classloader leaks

Paul Ferraro (JIRA) issues at jboss.org
Sun Nov 30 21:58:39 EST 2014


Paul Ferraro created ISPN-5033:
----------------------------------

             Summary: Lack of EmbeddedCacheManager.undefineConfiguration(String) can cause memory/classloader leaks
                 Key: ISPN-5033
                 URL: https://issues.jboss.org/browse/ISPN-5033
             Project: Infinispan
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 7.1.0.Alpha1
            Reporter: Paul Ferraro


EmbeddedCacheManager has defineConfiguration(...) methods for defining a new cache configuration, but has no equivalent "undefine" method.  Consequently, once defined, a cache manager will retains a reference to the cache configuration object for the lifetime of the cache manager.  While this is normally not a big deal, the configuration objects generated by WildFly contain references to the classloaders of foreign modules.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the infinispan-issues mailing list