]
David Lloyd moved WFLY-9894 to WFCORE-3650:
-------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-3650 (was: WFLY-9894)
EnhancedQueueExecutor causes class loader leaks
-----------------------------------------------
Key: WFCORE-3650
URL:
https://issues.jboss.org/browse/WFCORE-3650
Project: WildFly Core
Issue Type: Bug
Reporter: Stuart Douglas
Assignee: David Lloyd
Priority: Critical
Fix For: 4.0.0.Beta2
EnhancedQueueExecutor does not managed its threads context class loaders. By default the
TCCL that is assigned to a thread will be the TCCL at creation time, which can be a
deployments TCCL.
This results in class loader leaks, as this deployments TCCL can then never be cleaned.
In addition to this it means that the TCCL that tasks are run with is undefined, and can
even be the TCCL of an unrelated deployment.