--- old/src/hotspot/share/gc/z/zNMethod.cpp 2019-04-25 11:54:08.437613965 +0200 +++ new/src/hotspot/share/gc/z/zNMethod.cpp 2019-04-25 11:54:07.703589245 +0200 @@ -284,7 +284,7 @@ // We don't need to take the lock when unlinking nmethods from // the Method, because it is only concurrently unlinked by // the entry barrier, which acquires the per nmethod lock. - nm->unlink_from_method(false /* acquire_lock */); + nm->unlink_from_method(); return; }