--- old/src/hotspot/share/runtime/sharedRuntime.cpp 2019-08-22 18:54:08.109288797 +0000 +++ new/src/hotspot/share/runtime/sharedRuntime.cpp 2019-08-22 18:54:07.155266905 +0000 @@ -2091,12 +2091,7 @@ Atomic::inc(BiasedLocking::slow_path_entry_count_addr()); } Handle h_obj(THREAD, obj); - if (UseBiasedLocking) { - // Retry fast entry if bias is revoked to avoid unnecessary inflation - ObjectSynchronizer::fast_enter(h_obj, lock, true, CHECK); - } else { - ObjectSynchronizer::slow_enter(h_obj, lock, CHECK); - } + ObjectSynchronizer::enter(h_obj, lock, CHECK); assert(!HAS_PENDING_EXCEPTION, "Should have no exception here"); JRT_BLOCK_END JRT_END @@ -2127,7 +2122,7 @@ { // Exit must be non-blocking, and therefore no exceptions can be thrown. EXCEPTION_MARK; - ObjectSynchronizer::slow_exit(obj, lock, THREAD); + ObjectSynchronizer::exit(obj, lock, THREAD); } #ifdef MIGHT_HAVE_PENDING