Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
5.1
-
None
-
Unknown
-
N/A
-
N/A
-
Description
Jython create a new never cleaned ThreadLocal for each ScriptEngine and we create a new ScriptEngine for each macro execution.
So there is two issues:
- very dangerous use of ThreadLocal on Jython side
- Jython script engine is actually thread safe so creating a new one for each macro is actually useless