Details
-
Task
-
Resolution: Done
-
Minor
-
13.0.2.Final
-
None
Description
new Thread(...) creates a thread using the same context classloader as the current thread.
When application code invokes an operation that ends up creating an internal Infinispan thread, the internal thread ends up with the application thread's context classloader.
This may cause leaks in an environment where the application's classloader can be unloaded before the DefaultCacheManager is stopped (e.g. in an application server where the cache manager is created outside the deployment, or with Spring Boot devtools automatic restart).
Attachments
Issue Links
- is related to
-
ISPN-3836 TxCleanupService can cause TCCL leak
- Closed