diff --git a/src/hotspot/share/runtime/objectMonitor.cpp b/src/hotspot/share/runtime/objectMonitor.cpp index 555802f18b4..04928e8bfe9 100644 --- a/src/hotspot/share/runtime/objectMonitor.cpp +++ b/src/hotspot/share/runtime/objectMonitor.cpp @@ -1872,7 +1872,7 @@ void ObjectMonitor::wait(jlong millis, bool interruptible, TRAPS) { // although the raw address of the object may have changed. // (Don't cache naked oops over safepoints, of course). - + OrderAccess::fence(); @@ -1904,7 +1904,7 @@ void ObjectMonitor::wait(jlong millis, bool interruptible, TRAPS) { guarantee(node.TState == ObjectWaiter::TS_RUN, "invariant"); current->set_current_pending_monitor(nullptr); enter(current, false); - } + } assert(has_owner(current), "invariant"); node.wait_reenter_end(this); }