diff --git a/src/hotspot/share/runtime/objectMonitor.cpp b/src/hotspot/share/runtime/objectMonitor.cpp index 2484c9bb902..f80a041b2ab 100644 --- a/src/hotspot/share/runtime/objectMonitor.cpp +++ b/src/hotspot/share/runtime/objectMonitor.cpp @@ -1821,7 +1821,6 @@ void ObjectMonitor::wait(jlong millis, bool interruptible, TRAPS) { OSThreadWaitState osts(osthread, true); assert(current->thread_state() == _thread_in_vm, "invariant"); - { ThreadBlockInVM tbivm(current, false /* allow_suspend */); if (interrupted || HAS_PENDING_EXCEPTION) {