]
Tristan Tarrant commented on ISPN-5033:
---------------------------------------
I will add this to the ISPN-4919 template support work
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
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.