]
William Burns updated ISPN-5033:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
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
Assignee: Tristan Tarrant
Priority: Critical
Fix For: 8.0.0.Alpha2, 8.0.0.Final
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.