< prev index next >

src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp

Print this page
rev 49826 : imported patch 6672778-partial-queue-trimming
rev 49827 : imported patch 6672778-refactoring
rev 49828 : imported patch 6672778-stefanj-review
rev 49829 : imported patch 6672778-inconsistent-time-fixes
rev 49830 : [mq]: 6672778-satb-timing-fix
rev 49831 : imported patch 8201492-properly-implement-non-contiguous-reference-processing
rev 49833 : imported patch 8202018-move-card-table-clear


 380                                     _cur_evac_fail_remove_self_forwards;
 381   const double sum_ms = evac_fail_handling +
 382                         _cur_collection_code_root_fixup_time_ms +
 383                         _recorded_preserve_cm_referents_time_ms +
 384                         _cur_ref_proc_time_ms +
 385                         _cur_weak_ref_proc_time_ms +
 386                         _cur_ref_enq_time_ms +
 387                         _cur_clear_ct_time_ms +
 388                         _recorded_merge_pss_time_ms +
 389                         _cur_strong_code_root_purge_time_ms +
 390                         _recorded_redirty_logged_cards_time_ms +
 391                         _recorded_total_free_cset_time_ms +
 392                         _cur_fast_reclaim_humongous_time_ms +
 393                         _cur_expand_heap_time_ms +
 394                         _cur_string_dedup_fixup_time_ms;
 395 
 396   info_time("Post Evacuate Collection Set", sum_ms);
 397 
 398   debug_time("Code Roots Fixup", _cur_collection_code_root_fixup_time_ms);
 399 


 400   debug_time_for_reference("Reference Processing", _cur_ref_proc_time_ms);
 401   _ref_phase_times.print_all_references(2, false);
 402 
 403   debug_time("Weak Processing", _cur_weak_ref_proc_time_ms);
 404 
 405   if (G1StringDedup::is_enabled()) {
 406     debug_time("String Dedup Fixup", _cur_string_dedup_fixup_time_ms);
 407     debug_phase(_gc_par_phases[StringDedupQueueFixup]);
 408     debug_phase(_gc_par_phases[StringDedupTableFixup]);
 409   }
 410 
 411   debug_time("Clear Card Table", _cur_clear_ct_time_ms);
 412 
 413   if (G1CollectedHeap::heap()->evacuation_failed()) {
 414     debug_time("Evacuation Failure", evac_fail_handling);
 415     trace_time("Recalculate Used", _cur_evac_fail_recalc_used);
 416     trace_time("Remove Self Forwards",_cur_evac_fail_remove_self_forwards);
 417   }
 418 
 419   debug_time_for_reference("Reference Enqueuing", _cur_ref_enq_time_ms);
 420   _ref_phase_times.print_enqueue_phase(2, false);
 421 
 422   debug_time("Merge Per-Thread State", _recorded_merge_pss_time_ms);
 423   debug_time("Code Roots Purge", _cur_strong_code_root_purge_time_ms);
 424 
 425   debug_time("Redirty Cards", _recorded_redirty_logged_cards_time_ms);
 426   trace_phase(_gc_par_phases[RedirtyCards]);
 427 #if COMPILER2_OR_JVMCI
 428   debug_time("DerivedPointerTable Update", _cur_derived_pointer_table_update_time_ms);
 429 #endif
 430 
 431   debug_time("Free Collection Set", _recorded_total_free_cset_time_ms);




 380                                     _cur_evac_fail_remove_self_forwards;
 381   const double sum_ms = evac_fail_handling +
 382                         _cur_collection_code_root_fixup_time_ms +
 383                         _recorded_preserve_cm_referents_time_ms +
 384                         _cur_ref_proc_time_ms +
 385                         _cur_weak_ref_proc_time_ms +
 386                         _cur_ref_enq_time_ms +
 387                         _cur_clear_ct_time_ms +
 388                         _recorded_merge_pss_time_ms +
 389                         _cur_strong_code_root_purge_time_ms +
 390                         _recorded_redirty_logged_cards_time_ms +
 391                         _recorded_total_free_cset_time_ms +
 392                         _cur_fast_reclaim_humongous_time_ms +
 393                         _cur_expand_heap_time_ms +
 394                         _cur_string_dedup_fixup_time_ms;
 395 
 396   info_time("Post Evacuate Collection Set", sum_ms);
 397 
 398   debug_time("Code Roots Fixup", _cur_collection_code_root_fixup_time_ms);
 399 
 400   debug_time("Clear Card Table", _cur_clear_ct_time_ms);
 401 
 402   debug_time_for_reference("Reference Processing", _cur_ref_proc_time_ms);
 403   _ref_phase_times.print_all_references(2, false);
 404 
 405   debug_time("Weak Processing", _cur_weak_ref_proc_time_ms);
 406 
 407   if (G1StringDedup::is_enabled()) {
 408     debug_time("String Dedup Fixup", _cur_string_dedup_fixup_time_ms);
 409     debug_phase(_gc_par_phases[StringDedupQueueFixup]);
 410     debug_phase(_gc_par_phases[StringDedupTableFixup]);
 411   }


 412 
 413   if (G1CollectedHeap::heap()->evacuation_failed()) {
 414     debug_time("Evacuation Failure", evac_fail_handling);
 415     trace_time("Recalculate Used", _cur_evac_fail_recalc_used);
 416     trace_time("Remove Self Forwards",_cur_evac_fail_remove_self_forwards);
 417   }
 418 
 419   debug_time_for_reference("Reference Enqueuing", _cur_ref_enq_time_ms);
 420   _ref_phase_times.print_enqueue_phase(2, false);
 421 
 422   debug_time("Merge Per-Thread State", _recorded_merge_pss_time_ms);
 423   debug_time("Code Roots Purge", _cur_strong_code_root_purge_time_ms);
 424 
 425   debug_time("Redirty Cards", _recorded_redirty_logged_cards_time_ms);
 426   trace_phase(_gc_par_phases[RedirtyCards]);
 427 #if COMPILER2_OR_JVMCI
 428   debug_time("DerivedPointerTable Update", _cur_derived_pointer_table_update_time_ms);
 429 #endif
 430 
 431   debug_time("Free Collection Set", _recorded_total_free_cset_time_ms);


< prev index next >