]
Paul Ferraro moved ISPN-5800 to WFLY-5436:
------------------------------------------
Project: WildFly (was: Infinispan)
Key: WFLY-5436 (was: ISPN-5800)
Workflow: GIT Pull Request workflow (was: GIT Pull Request with Triage
workflow)
Component/s: Clustering
(was: Configuration)
Fix Version/s: (was: 8.0.0.Final)
(was: 8.0.0.Alpha2)
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: Tristan Tarrant
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.