diff -r d4e7ccaf1445 -r 1512d88b24c6 src/hotspot/share/runtime/mutexLocker.cpp --- a/src/hotspot/share/runtime/mutexLocker.cpp Fri May 17 10:48:02 2019 -0400 +++ b/src/hotspot/share/runtime/mutexLocker.cpp Fri May 17 08:29:55 2019 -0700 @@ -153,9 +153,12 @@ #if INCLUDE_NMT Mutex* NMTQuery_lock = NULL; #endif -#if INCLUDE_CDS && INCLUDE_JVMTI +#if INCLUDE_CDS +#if INCLUDE_JVMTI Mutex* CDSClassFileStream_lock = NULL; #endif +Mutex* DumpTimeTable_lock = NULL; +#endif // INCLUDE_CDS #if INCLUDE_JVMCI Monitor* JVMCI_lock = NULL; @@ -351,7 +354,8 @@ #if INCLUDE_NMT def(NMTQuery_lock , PaddedMutex , max_nonleaf, false, Monitor::_safepoint_check_always); #endif -#if INCLUDE_CDS && INCLUDE_JVMTI +#if INCLUDE_CDS +#if INCLUDE_JVMTI def(CDSClassFileStream_lock , PaddedMutex , max_nonleaf, false, Monitor::_safepoint_check_always); #endif @@ -360,6 +364,8 @@ def(JVMCIGlobalAlloc_lock , PaddedMutex , nonleaf, true, Monitor::_safepoint_check_never); def(JVMCIGlobalActive_lock , PaddedMutex , nonleaf-1, true, Monitor::_safepoint_check_never); #endif + def(DumpTimeTable_lock , PaddedMutex , leaf, true, Monitor::_safepoint_check_never); +#endif // INCLUDE_CDS } GCMutexLocker::GCMutexLocker(Monitor * mutex) {