--- a/src/hotspot/share/aot/aotCompiledMethod.cpp Thu Apr 25 05:54:54 2019 -0700
+++ b/src/hotspot/share/aot/aotCompiledMethod.cpp Thu Apr 25 10:56:31 2019 -0400
@@ -167,7 +167,7 @@
{
// Enter critical section. Does not block for safepoint.
- MutexLockerEx pl(Patching_lock, Mutex::_no_safepoint_check_flag);
+ MutexLocker pl(Patching_lock, Mutex::_no_safepoint_check_flag);
if (*_state_adr == new_state) {
// another thread already performed this transition so nothing
@@ -218,7 +218,7 @@
{
// Enter critical section. Does not block for safepoint.
- MutexLockerEx pl(Patching_lock, Mutex::_no_safepoint_check_flag);
+ MutexLocker pl(Patching_lock, Mutex::_no_safepoint_check_flag);
if (*_state_adr == in_use) {
// another thread already performed this transition so nothing