Skip to content

Commit

Permalink
8265330: G1: Fix comment in G1FullGCPrepareTask::G1CalculatePointersC…
Browse files Browse the repository at this point in the history
…losure

Reviewed-by: shade, mli
  • Loading branch information
Thomas Schatzl committed Apr 16, 2021
1 parent b4ba74e commit 1d66a15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hotspot/share/gc/g1/g1FullGCPrepareTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

1 comment on commit 1d66a15

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.