--- old/src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp 2018-04-16 17:17:08.578847522 +0200 +++ new/src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp 2018-04-16 17:17:08.294838813 +0200 @@ -132,6 +132,7 @@ _cur_expand_heap_time_ms = 0.0; _cur_ref_proc_time_ms = 0.0; _cur_ref_enq_time_ms = 0.0; + _cur_weak_ref_proc_time_ms = 0.0; _cur_collection_start_sec = 0.0; _root_region_scan_wait_time_ms = 0.0; _external_accounted_time_ms = 0.0; @@ -386,6 +387,7 @@ _cur_collection_code_root_fixup_time_ms + _recorded_preserve_cm_referents_time_ms + _cur_ref_proc_time_ms + + _cur_weak_ref_proc_time_ms + _cur_ref_enq_time_ms + _cur_clear_ct_time_ms + _recorded_merge_pss_time_ms + @@ -406,6 +408,8 @@ debug_time_for_reference("Reference Processing", _cur_ref_proc_time_ms); _ref_phase_times.print_all_references(2, false); + debug_time("Weak Processing", _cur_weak_ref_proc_time_ms); + if (G1StringDedup::is_enabled()) { debug_time("String Dedup Fixup", _cur_string_dedup_fixup_time_ms); debug_phase(_gc_par_phases[StringDedupQueueFixup]);