2336 Threads::create_thread_roots_marking_tasks(q); |
2336 Threads::create_thread_roots_marking_tasks(q); |
2337 q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::object_synchronizer)); |
2337 q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::object_synchronizer)); |
2338 q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::flat_profiler)); |
2338 q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::flat_profiler)); |
2339 q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::management)); |
2339 q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::management)); |
2340 q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::system_dictionary)); |
2340 q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::system_dictionary)); |
|
2341 q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::class_loader_data)); |
2341 q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::jvmti)); |
2342 q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::jvmti)); |
2342 q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::code_cache)); |
2343 q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::code_cache)); |
2343 |
2344 |
2344 if (active_gc_threads > 1) { |
2345 if (active_gc_threads > 1) { |
2345 for (uint j = 0; j < active_gc_threads; j++) { |
2346 for (uint j = 0; j < active_gc_threads; j++) { |