mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-29 17:20:18 +00:00
8366659: Fixed new lines.
This commit is contained in:
parent
1fd0278a0e
commit
3a6b798cf4
@ -1856,7 +1856,9 @@ void ObjectMonitor::wait(jlong millis, bool interruptible, TRAPS) {
|
||||
{ // State transition wrappers
|
||||
OSThread* osthread = current->osthread();
|
||||
OSThreadWaitState osts(osthread, true);
|
||||
|
||||
assert(current->thread_state() == _thread_in_vm, "invariant");
|
||||
|
||||
{
|
||||
ThreadBlockInVM tbivm(current, false /* allow_suspend */);
|
||||
if (interrupted || HAS_PENDING_EXCEPTION) {
|
||||
@ -1910,8 +1912,6 @@ 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();
|
||||
|
||||
assert(!has_owner(current), "invariant");
|
||||
@ -1970,6 +1970,7 @@ void ObjectMonitor::wait(jlong millis, bool interruptible, TRAPS) {
|
||||
current->_ParkEvent->unpark();
|
||||
}
|
||||
}
|
||||
|
||||
if (wait_event.should_commit()) {
|
||||
post_monitor_wait_event(&wait_event, this, node._notifier_tid, millis, ret == OS_TIMEOUT);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user