--- a/src/hotspot/share/runtime/java.cpp Thu Apr 25 05:54:54 2019 -0700
+++ b/src/hotspot/share/runtime/java.cpp Thu Apr 25 10:56:31 2019 -0400
@@ -302,7 +302,7 @@
}
if (PrintCodeCache) {
- MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
+ MutexLocker mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
CodeCache::print();
}
@@ -315,7 +315,7 @@
}
if (PrintCodeCache2) {
- MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
+ MutexLocker mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
CodeCache::print_internals();
}
@@ -370,7 +370,7 @@
}
if (PrintCodeCache) {
- MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
+ MutexLocker mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
CodeCache::print();
}