/*
* trackAppResume() (indirectly) aquires handlerLock. For proper lock
* ordering handlerLock has to be acquired before threadLock.
*/
debugMonitorExit(threadLock);
eventHandler_lock();
debugMonitorEnter(threadLock);
Investigate if this can be improved by hoisting the first monitor exit on threadLock up into the caller threadControl_onEventHandlerExit() such that doPendingTasks() would be called without any locks held.
- relates to
- 
                    JDK-8274687 JDWP deadlocks if some Java thread reaches wait in blockOnDebuggerSuspend -           
- Resolved
 
-         
- 
                    JDK-8296089 Remove debug agent code for special handling of Thread.resume() -           
- Resolved
 
-