mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8216136: Take Compile_lock for SystemDictionary::_modification_counter with safepoint check
Transition compiler thread from native to VM state to check the Compile_lock with safepoint always. Reviewed-by: dlong, eosterlund, dholmes
This commit is contained in:
parent
689f7accd4
commit
13dd3cb24e
5 changed files with 14 additions and 8 deletions
|
@ -306,7 +306,7 @@ void mutex_init() {
|
|||
def(JvmtiThreadState_lock , PaddedMutex , nonleaf+2, false, Monitor::_safepoint_check_always); // Used by JvmtiThreadState/JvmtiEventController
|
||||
def(Management_lock , PaddedMutex , nonleaf+2, false, Monitor::_safepoint_check_always); // used for JVM management
|
||||
|
||||
def(Compile_lock , PaddedMutex , nonleaf+3, true, Monitor::_safepoint_check_sometimes);
|
||||
def(Compile_lock , PaddedMutex , nonleaf+3, true, Monitor::_safepoint_check_always);
|
||||
def(MethodData_lock , PaddedMutex , nonleaf+3, false, Monitor::_safepoint_check_always);
|
||||
def(TouchedMethodLog_lock , PaddedMutex , nonleaf+3, false, Monitor::_safepoint_check_always);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue