Skip to content

Commit

Permalink
8293209: Parallel: Remove unused variables in PSParallelCompact::invoke
Browse files Browse the repository at this point in the history
Reviewed-by: kbarrett
  • Loading branch information
albertnetymk committed Sep 2, 2022
1 parent 46523b8 commit 26cac08
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hotspot/share/gc/parallel/psParallelCompact.cpp
Expand Up @@ -1683,10 +1683,8 @@ void PSParallelCompact::invoke(bool maximum_heap_compaction) {
"should be in vm thread");

ParallelScavengeHeap* heap = ParallelScavengeHeap::heap();
GCCause::Cause gc_cause = heap->gc_cause();
assert(!heap->is_gc_active(), "not reentrant");

PSAdaptiveSizePolicy* policy = heap->size_policy();
IsGCActiveMark mark;

if (ScavengeBeforeFullGC) {
Expand Down

1 comment on commit 26cac08

@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.