Skip to content

Commit

Permalink
8322888: Parallel: Remove unused variables in PSPromotionManager
Browse files Browse the repository at this point in the history
Reviewed-by: kbarrett
  • Loading branch information
albertnetymk committed Jan 4, 2024
1 parent bbe0079 commit 83564ea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/hotspot/share/gc/parallel/psPromotionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,9 @@ void PSPromotionManager::reset_stats() {
#endif // TASKQUEUE_STATS

PSPromotionManager::PSPromotionManager() {
ParallelScavengeHeap* heap = ParallelScavengeHeap::heap();

// We set the old lab's start array.
_old_lab.set_start_array(old_gen()->start_array());

uint queue_size = claimed_stack_depth()->max_elems();

if (ParallelGCThreads == 1) {
_target_stack_size = 0;
} else {
Expand Down

1 comment on commit 83564ea

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