mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-01 14:08:24 +00:00
8280804: Parallel: Remove unused variables in PSPromotionManager::drain_stacks_depth
Reviewed-by: tschatzl, mli
This commit is contained in:
parent
55f180fb7d
commit
973dda5ce0
@ -244,12 +244,6 @@ void PSPromotionManager::restore_preserved_marks() {
|
||||
void PSPromotionManager::drain_stacks_depth(bool totally_drain) {
|
||||
totally_drain = totally_drain || _totally_drain;
|
||||
|
||||
#ifdef ASSERT
|
||||
ParallelScavengeHeap* heap = ParallelScavengeHeap::heap();
|
||||
MutableSpace* to_space = heap->young_gen()->to_space();
|
||||
MutableSpace* old_space = heap->old_gen()->object_space();
|
||||
#endif /* ASSERT */
|
||||
|
||||
PSScannerTasksQueue* const tq = claimed_stack_depth();
|
||||
do {
|
||||
ScannerTask task;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user