Skip to content
Permalink
Browse files

8232616: JVMCI_lock fails to get initialized when cds is disabled

Reviewed-by: iklam, dholmes
  • Loading branch information
DamonFool committed Oct 18, 2019
1 parent 5db7fc5 commit 048b09bdbeac29e35908c8cf16eb71967ab50b95
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/hotspot/share/runtime/mutexLocker.cpp
@@ -334,12 +334,12 @@ void mutex_init() {
#if INCLUDE_JVMTI
def(CDSClassFileStream_lock , PaddedMutex , max_nonleaf, false, _safepoint_check_always);
#endif
def(DumpTimeTable_lock , PaddedMutex , leaf, true, _safepoint_check_never);
#endif // INCLUDE_CDS

#if INCLUDE_JVMCI
def(JVMCI_lock , PaddedMonitor, nonleaf+2, true, _safepoint_check_always);
#endif
def(DumpTimeTable_lock , PaddedMutex , leaf, true, _safepoint_check_never);
#endif // INCLUDE_CDS
}

GCMutexLocker::GCMutexLocker(Mutex* mutex) {

0 comments on commit 048b09b

Please sign in to comment.
You can’t perform that action at this time.