Details
Description
The OptimizerFactory is using ThreadLocals to store the threadOptimizer. However - the stored Locals are not cleared after usage.
Using HeapDump Analysis you can see that e.g. in Tomcat the classloader can not be garbage collected, because the optimizer (e.g. the ASMAccessorOptimizer or any other one) is stored in a thread local.
Maybe you can provide some code fix to clear this one or maybe its possible not to use them - don't know whats best here.
Activity
Torsten Krah
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | mvel2.patch [ 51921 ] |
Mike Brock
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 2.0.19 [ 16754 ] | |
| Resolution | Fixed [ 1 ] |
Mike Brock
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Torsten Krah
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Closed [ 6 ] | Reopened [ 4 ] |