src/hotspot/share/gc/parallel/psScavenge.cpp
changeset 54669 ad45b3802d4e
parent 54085 ab87b06dfdc0
child 54678 93f09ca4a7f8
equal deleted inserted replaced
54668:0bda2308eded 54669:ad45b3802d4e
   377       q->enqueue(new ScavengeRootsTask(ScavengeRootsTask::management));
   377       q->enqueue(new ScavengeRootsTask(ScavengeRootsTask::management));
   378       q->enqueue(new ScavengeRootsTask(ScavengeRootsTask::system_dictionary));
   378       q->enqueue(new ScavengeRootsTask(ScavengeRootsTask::system_dictionary));
   379       q->enqueue(new ScavengeRootsTask(ScavengeRootsTask::class_loader_data));
   379       q->enqueue(new ScavengeRootsTask(ScavengeRootsTask::class_loader_data));
   380       q->enqueue(new ScavengeRootsTask(ScavengeRootsTask::jvmti));
   380       q->enqueue(new ScavengeRootsTask(ScavengeRootsTask::jvmti));
   381       q->enqueue(new ScavengeRootsTask(ScavengeRootsTask::code_cache));
   381       q->enqueue(new ScavengeRootsTask(ScavengeRootsTask::code_cache));
       
   382       JVMCI_ONLY(q->enqueue(new ScavengeRootsTask(ScavengeRootsTask::jvmci));)
   382 
   383 
   383       TaskTerminator terminator(active_workers,
   384       TaskTerminator terminator(active_workers,
   384                                 (TaskQueueSetSuper*) promotion_manager->stack_array_depth());
   385                                 (TaskQueueSetSuper*) promotion_manager->stack_array_depth());
   385         // If active_workers can exceed 1, add a StrealTask.
   386         // If active_workers can exceed 1, add a StrealTask.
   386         // PSPromotionManager::drain_stacks_depth() does not fully drain its
   387         // PSPromotionManager::drain_stacks_depth() does not fully drain its