< prev index next >

src/share/vm/gc/g1/g1CollectedHeap.cpp

Print this page

        

*** 4430,4440 **** assert(n_workers <= rp->max_num_q(), "Mismatch between the number of GC workers %u and the maximum number of Reference process queues %u", n_workers, rp->max_num_q()); G1STWRefProcTaskExecutor par_task_executor(this, per_thread_states, workers(), _task_queues, n_workers); ! rp->enqueue_discovered_references(&par_task_executor); } rp->verify_no_references_recorded(); assert(!rp->discovery_enabled(), "should have been disabled"); --- 4430,4440 ---- assert(n_workers <= rp->max_num_q(), "Mismatch between the number of GC workers %u and the maximum number of Reference process queues %u", n_workers, rp->max_num_q()); G1STWRefProcTaskExecutor par_task_executor(this, per_thread_states, workers(), _task_queues, n_workers); ! rp->enqueue_discovered_references(&par_task_executor, _gc_timer_stw); } rp->verify_no_references_recorded(); assert(!rp->discovery_enabled(), "should have been disabled");
< prev index next >