]
Tristan Tarrant reassigned ISPN-5033:
-------------------------------------
Assignee: Tristan Tarrant
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.