You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The EnhancedQueueExecutor eagerly captures an AccessControlContext to run MBeanRegisterAction as a privileged action, and this holds a reference to the context classloader which was set during initialization.
As we switch classloaders, this reference is leaking. Ironically we don't use MBeans at all, so the fix is simple: don't capture any AccessControlContext when MBeans are disabled.
The text was updated successfully, but these errors were encountered:
Describe the bug
The
EnhancedQueueExecutor
eagerly captures anAccessControlContext
to run MBeanRegisterAction as a privileged action, and this holds a reference to the context classloader which was set during initialization.As we switch classloaders, this reference is leaking. Ironically we don't use MBeans at all, so the fix is simple: don't capture any
AccessControlContext
when MBeans are disabled.The text was updated successfully, but these errors were encountered: