mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8218266: G1 crash in AccessInternal::PostRuntimeDispatch
Protection_domains can be unloaded in the dictionary pd_set. Reviewed-by: zgu, hseigel
This commit is contained in:
parent
29d842b5a0
commit
84a6e34fb0
8 changed files with 174 additions and 108 deletions
|
@ -39,6 +39,7 @@
|
|||
|
||||
Mutex* Patching_lock = NULL;
|
||||
Monitor* SystemDictionary_lock = NULL;
|
||||
Mutex* ProtectionDomainSet_lock = NULL;
|
||||
Mutex* SharedDictionary_lock = NULL;
|
||||
Mutex* Module_lock = NULL;
|
||||
Mutex* CompiledIC_lock = NULL;
|
||||
|
@ -254,6 +255,7 @@ void mutex_init() {
|
|||
def(JmethodIdCreation_lock , PaddedMutex , leaf, true, Monitor::_safepoint_check_always); // used for creating jmethodIDs.
|
||||
|
||||
def(SystemDictionary_lock , PaddedMonitor, leaf, true, Monitor::_safepoint_check_always); // lookups done by VM thread
|
||||
def(ProtectionDomainSet_lock , PaddedMutex , leaf-1, true, Monitor::_safepoint_check_never);
|
||||
def(SharedDictionary_lock , PaddedMutex , leaf, true, Monitor::_safepoint_check_always); // lookups done by VM thread
|
||||
def(Module_lock , PaddedMutex , leaf+2, true, Monitor::_safepoint_check_always);
|
||||
def(InlineCacheBuffer_lock , PaddedMutex , leaf, true, Monitor::_safepoint_check_never);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue