comparison src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp @ 10361:eda078b01c65

8015268: NPG: 2.5% regression in young GC times on CRM Sales Opty Summary: Split SystemDictionary and ClassLoaderDataGraph root processing to help load balancing. Reviewed-by: tschatzl, johnc
author stefank
date Mon, 27 May 2013 15:22:59 +0200
parents 14d3f71f831d
children 5534bd30c151
comparison
equal deleted inserted replaced
10360:0886b99a4d1b 10361:eda078b01c65
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++) {