--- old/src/hotspot/share/runtime/thread.cpp 2020-04-02 14:23:13.484282942 +0000 +++ new/src/hotspot/share/runtime/thread.cpp 2020-04-02 14:23:12.613261846 +0000 @@ -4473,7 +4473,7 @@ // before attempting to delete it. A thread could be waiting // on _handshake_turn_sem trying to execute a direct handshake // with this thread. - if (!ThreadsSMRSupport::is_a_protected_JavaThread_with_lock((JavaThread *) thread, true /* skiplock */)) { + if (!ThreadsSMRSupport::is_a_protected_JavaThread((JavaThread *) thread)) { delete thread; } else { // Clear value for _thread_key in TLS to prevent, depending