Skip to content

Commit 3121898

Browse files
author
Thomas Schatzl
committed
8279703: G1: Remove unused force_not_compacted local in G1CalculatePointersClosure::do_heap_region
Reviewed-by: ayang, mli
1 parent bf7bcaa commit 3121898

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ void G1FullGCPrepareTask::G1CalculatePointersClosure::free_pinned_region(HeapReg
5252
}
5353

5454
bool G1FullGCPrepareTask::G1CalculatePointersClosure::do_heap_region(HeapRegion* hr) {
55-
bool force_not_compacted = false;
5655
if (should_compact(hr)) {
5756
assert(!hr->is_humongous(), "moving humongous objects not supported.");
5857
prepare_for_compaction(hr);

0 commit comments

Comments
 (0)