< prev index next >

src/hotspot/share/runtime/safepoint.cpp

Print this page

        

*** 585,595 **** TraceTime timer("safepoint cleanup tasks", TRACETIME_LOG(Info, safepoint, cleanup)); CollectedHeap* heap = Universe::heap(); assert(heap != NULL, "heap not initialized yet?"); ! WorkGang* cleanup_workers = heap->get_safepoint_workers(); if (cleanup_workers != NULL) { // Parallel cleanup using GC provided thread pool. uint num_cleanup_workers = cleanup_workers->active_workers(); ParallelSPCleanupTask cleanup(num_cleanup_workers); cleanup_workers->run_task(&cleanup); --- 585,595 ---- TraceTime timer("safepoint cleanup tasks", TRACETIME_LOG(Info, safepoint, cleanup)); CollectedHeap* heap = Universe::heap(); assert(heap != NULL, "heap not initialized yet?"); ! WorkGang* cleanup_workers = heap->safepoint_workers(); if (cleanup_workers != NULL) { // Parallel cleanup using GC provided thread pool. uint num_cleanup_workers = cleanup_workers->active_workers(); ParallelSPCleanupTask cleanup(num_cleanup_workers); cleanup_workers->run_task(&cleanup);
< prev index next >