< prev index next >
src/hotspot/share/gc/cms/parNewGeneration.cpp
Print this page
rev 49831 : imported patch 8201492-properly-implement-non-contiguous-reference-processing
rev 49834 : [mq]: 8202021-cleanup-referenceprocessor
rev 49836 : [mq]: 8202017-reference-processor-remove-enqueue
*** 1054,1075 ****
// does not guarantee monotonicity.
jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC;
update_time_of_last_gc(now);
rp->set_enqueuing_is_done(true);
- if (rp->processing_is_mt()) {
- ParNewRefProcTaskExecutor task_executor(*this, *_old_gen, thread_state_set);
- rp->enqueue_discovered_references(&task_executor, &pt);
- } else {
- rp->enqueue_discovered_references(NULL, &pt);
- }
rp->verify_no_references_recorded();
gch->trace_heap_after_gc(gc_tracer());
- pt.print_enqueue_phase();
-
_gc_timer->register_gc_end();
_gc_tracer.report_gc_end(_gc_timer->gc_end(), _gc_timer->time_partitions());
}
--- 1054,1067 ----
< prev index next >