]
Paul Ferraro updated WFLY-5436:
-------------------------------
Git Pull Request: (was:
Lack of EmbeddedCacheManager.undefineConfiguration(String) can cause
memory/classloader leaks
---------------------------------------------------------------------------------------------
Key: WFLY-5436
URL:
https://issues.jboss.org/browse/WFLY-5436
Project: WildFly
Issue Type: Bug
Components: Clustering
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Priority: Critical
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.