changeset 58226 | 408c445d04e8 |
parent 55206 | 2fe2063fe567 |
--- a/src/hotspot/share/runtime/tieredThresholdPolicy.cpp Thu Sep 19 09:50:11 2019 +0200 +++ b/src/hotspot/share/runtime/tieredThresholdPolicy.cpp Thu Sep 19 10:52:22 2019 +0200 @@ -445,6 +445,7 @@ if (mh->has_compiled_code()) { mh->code()->make_not_entrant(); } + MutexLocker pl(CompiledMethod_lock, Mutex::_no_safepoint_check_flag); Method::set_code(mh, mh->aot_code()); } }