Skip to content

Commit 83564ea

Browse files
committedJan 4, 2024
8322888: Parallel: Remove unused variables in PSPromotionManager
Reviewed-by: kbarrett
1 parent bbe0079 commit 83564ea

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎src/hotspot/share/gc/parallel/psPromotionManager.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,9 @@ void PSPromotionManager::reset_stats() {
173173
#endif // TASKQUEUE_STATS
174174

175175
PSPromotionManager::PSPromotionManager() {
176-
ParallelScavengeHeap* heap = ParallelScavengeHeap::heap();
177-
178176
// We set the old lab's start array.
179177
_old_lab.set_start_array(old_gen()->start_array());
180178

181-
uint queue_size = claimed_stack_depth()->max_elems();
182-
183179
if (ParallelGCThreads == 1) {
184180
_target_stack_size = 0;
185181
} else {

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Jan 4, 2024

@openjdk-notifier[bot]
Please sign in to comment.