equal
deleted
inserted
replaced
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 |