mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-09 04:59:33 +00:00
8253902: G1: Starting a new marking cycle before the conc mark thread fully completed causes assertion failure
Reviewed-by: kbarrett, sjohanss
This commit is contained in:
parent
919978380c
commit
c9d1dcc63d
@ -164,8 +164,6 @@ void G1ConcurrentMarkThread::stop_service() {
|
||||
}
|
||||
|
||||
bool G1ConcurrentMarkThread::wait_for_next_cycle() {
|
||||
assert(!in_progress(), "should have been cleared");
|
||||
|
||||
MonitorLocker ml(CGC_lock, Mutex::_no_safepoint_check_flag);
|
||||
while (!in_progress() && !should_terminate()) {
|
||||
ml.wait();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user