< prev index next >

src/hotspot/share/gc/parallel/psMarkSweep.cpp

Print this page
rev 49831 : imported patch 8201492-properly-implement-non-contiguous-reference-processing
rev 49834 : [mq]: 8202021-cleanup-referenceprocessor

*** 255,265 **** #if COMPILER2_OR_JVMCI DerivedPointerTable::update_pointers(); #endif ! ReferenceProcessorPhaseTimes pt(_gc_timer, ref_processor()->num_q()); ref_processor()->enqueue_discovered_references(NULL, &pt); pt.print_enqueue_phase(); --- 255,265 ---- #if COMPILER2_OR_JVMCI DerivedPointerTable::update_pointers(); #endif ! ReferenceProcessorPhaseTimes pt(_gc_timer, ref_processor()->num_queues()); ref_processor()->enqueue_discovered_references(NULL, &pt); pt.print_enqueue_phase();
*** 534,544 **** // Process reference objects found during marking { GCTraceTime(Debug, gc, phases) t("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_closure(), mark_and_push_closure(), follow_stack_closure(), NULL, &pt); gc_tracer()->report_gc_reference_stats(stats); pt.print_all_references(); --- 534,544 ---- // Process reference objects found during marking { GCTraceTime(Debug, gc, phases) t("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_closure(), mark_and_push_closure(), follow_stack_closure(), NULL, &pt); gc_tracer()->report_gc_reference_stats(stats); pt.print_all_references();
< prev index next >