mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8184732: Deadlock detection improvements for 'special' locks
Assert that special ranked locks cannot safepoint and allow_vm_block and remove locks from the exceptional lock list in no_safepoint_verifier. Reviewed-by: dholmes, eosterlund
This commit is contained in:
parent
8a50aa7d21
commit
98f454c9ca
7 changed files with 116 additions and 22 deletions
|
@ -288,7 +288,7 @@ void mutex_init() {
|
|||
def(JvmtiThreadState_lock , PaddedMutex , nonleaf+2, false, _safepoint_check_always); // Used by JvmtiThreadState/JvmtiEventController
|
||||
def(Management_lock , PaddedMutex , nonleaf+2, false, _safepoint_check_always); // used for JVM management
|
||||
|
||||
def(Compile_lock , PaddedMutex , nonleaf+3, true, _safepoint_check_always);
|
||||
def(Compile_lock , PaddedMutex , nonleaf+3, false, _safepoint_check_always);
|
||||
def(MethodData_lock , PaddedMutex , nonleaf+3, false, _safepoint_check_always);
|
||||
def(TouchedMethodLog_lock , PaddedMutex , nonleaf+3, false, _safepoint_check_always);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue