Skip to content

Commit 379ba80

Browse files
author
Kim Barrett
committed
8255595: delay_to_keep_mmu passes wrong arguments to Monitor wait
Remove improper wait argument. Reviewed-by: sjohanss, tschatzl, ayang
1 parent 1a89d68 commit 379ba80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/gc/g1/g1ConcurrentMarkThread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void G1ConcurrentMarkThread::delay_to_keep_mmu(bool remark) {
108108
jlong sleep_time_ms = ceil(sleep_time_sec * MILLIUNITS);
109109
if (sleep_time_ms <= 0) {
110110
break; // Passed end time.
111-
} else if (ml.wait(sleep_time_ms, Monitor::_no_safepoint_check_flag)) {
111+
} else if (ml.wait(sleep_time_ms)) {
112112
break; // Timeout => reached end time.
113113
}
114114
// Other (possibly spurious) wakeup. Retry with updated sleep time.

0 commit comments

Comments
 (0)