--- a/src/hotspot/share/runtime/mutexLocker.cpp Thu Feb 21 17:50:27 2019 -0800
+++ b/src/hotspot/share/runtime/mutexLocker.cpp Thu Feb 21 17:07:35 2019 -0800
@@ -150,6 +150,9 @@
#if INCLUDE_NMT
Mutex* NMTQuery_lock = NULL;
#endif
+#if INCLUDE_CDS && INCLUDE_JVMTI
+Mutex* CDSClassFileStream_lock = NULL;
+#endif
#define MAX_NUM_MUTEX 128
static Monitor * _mutex_array[MAX_NUM_MUTEX];
@@ -339,6 +342,9 @@
#if INCLUDE_NMT
def(NMTQuery_lock , PaddedMutex , max_nonleaf, false, Monitor::_safepoint_check_always);
#endif
+#if INCLUDE_CDS && INCLUDE_JVMTI
+ def(CDSClassFileStream_lock , PaddedMutex , max_nonleaf, false, Monitor::_safepoint_check_always);
+#endif
}
GCMutexLocker::GCMutexLocker(Monitor * mutex) {