8265330: G1: Fix comment in G1FullGCPrepareTask::G1CalculatePointersClosure

Reviewed-by: shade, mli
This commit is contained in:
Thomas Schatzl 2021-04-16 09:25:36 +00:00
parent b4ba74e3ac
commit 1d66a155c7

@ -63,7 +63,8 @@ bool G1FullGCPrepareTask::G1CalculatePointersClosure::do_heap_region(HeapRegion*
} else {
assert(MarkSweepDeadRatio > 0,
"only skip compaction for other regions when MarkSweepDeadRatio > 0");
// Force the high live ratio region as compacting to skip these regions in the
// Force the high live ratio region as not-compacting to skip these regions in the
// later compaction step.
force_not_compacted = true;
if (hr->is_young()) {