Skip to content

Commit

Permalink
8297767: Assert JNICritical_lock/safepoint-1 and AdapterHandlerLibrar…
Browse files Browse the repository at this point in the history
…y_lock/safepoint-1

Reviewed-by: pchilanomate, rehn
  • Loading branch information
coleenp committed Dec 5, 2022
1 parent f9e0f1d commit e7e0354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/runtime/mutexLocker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ void mutex_init() {
defl(OopMapCacheAlloc_lock , PaddedMutex , Threads_lock, true);
defl(Module_lock , PaddedMutex , ClassLoaderDataGraph_lock);
defl(SystemDictionary_lock , PaddedMonitor, Module_lock);
defl(JNICritical_lock , PaddedMonitor, MultiArray_lock); // used for JNI critical regions
defl(JNICritical_lock , PaddedMonitor, AdapterHandlerLibrary_lock); // used for JNI critical regions
#if INCLUDE_JVMCI
// JVMCIRuntime_lock must be acquired before JVMCI_lock to avoid deadlock
defl(JVMCI_lock , PaddedMonitor, JVMCIRuntime_lock);
Expand Down

1 comment on commit e7e0354

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.