< prev index next >

src/hotspot/share/gc/serial/genMarkSweep.cpp

Print this page
rev 49834 : [mq]: 8202021-cleanup-referenceprocessor

*** 206,216 **** // Process reference objects found during marking { GCTraceTime(Debug, gc, phases) tm_m("Reference Processing", gc_timer()); ref_processor()->setup_policy(clear_all_softrefs); ! ReferenceProcessorPhaseTimes pt(_gc_timer, ref_processor()->num_q()); const ReferenceProcessorStats& stats = ref_processor()->process_discovered_references( &is_alive, &keep_alive, &follow_stack_closure, NULL, &pt); pt.print_all_references(); gc_tracer()->report_gc_reference_stats(stats); --- 206,216 ---- // Process reference objects found during marking { GCTraceTime(Debug, gc, phases) tm_m("Reference Processing", gc_timer()); ref_processor()->setup_policy(clear_all_softrefs); ! ReferenceProcessorPhaseTimes pt(_gc_timer, ref_processor()->num_queues()); const ReferenceProcessorStats& stats = ref_processor()->process_discovered_references( &is_alive, &keep_alive, &follow_stack_closure, NULL, &pt); pt.print_all_references(); gc_tracer()->report_gc_reference_stats(stats);
< prev index next >