Skip to content

Commit

Permalink
8289729: G1: Incorrect verification logic in G1ConcurrentMark::clear_…
Browse files Browse the repository at this point in the history
…next_bitmap

Reviewed-by: tschatzl, iwalulya
  • Loading branch information
albertnetymk committed Jul 11, 2022
1 parent c86c51c commit b542bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/g1/g1ConcurrentMark.cpp
Expand Up @@ -703,7 +703,7 @@ void G1ConcurrentMark::clear_next_bitmap(WorkerThreads* workers, bool may_yield)

log_debug(gc, ergo)("Running %s with %u workers for " SIZE_FORMAT " work units.", cl.name(), num_workers, num_chunks);
workers->run_task(&cl, num_workers);
guarantee(!may_yield || cl.is_complete(), "Must have completed iteration when not yielding.");
guarantee(may_yield || cl.is_complete(), "Must have completed iteration when not yielding.");
}

void G1ConcurrentMark::cleanup_for_next_mark() {
Expand Down

0 comments on commit b542bcb

Please sign in to comment.