Mercurial > hg > graal-compiler
diff src/share/vm/gc_implementation/g1/g1GCPhaseTimes.cpp @ 17756:a07bea31ef35
8035398: Add card redirty time in "Other" time in G1
Summary: Show the time taken by card redirtying during GC in a new "Redirty Cards" line.
Reviewed-by: jwilhelm, brutisso
author | tschatzl |
---|---|
date | Mon, 24 Mar 2014 15:30:40 +0100 |
parents | 96b1c2e06e25 |
children | eff02b5bd56c |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1GCPhaseTimes.cpp Mon Mar 24 15:30:36 2014 +0100 +++ b/src/share/vm/gc_implementation/g1/g1GCPhaseTimes.cpp Mon Mar 24 15:30:40 2014 +0100 @@ -314,6 +314,9 @@ _recorded_non_young_cset_choice_time_ms)); print_stats(2, "Ref Proc", _cur_ref_proc_time_ms); print_stats(2, "Ref Enq", _cur_ref_enq_time_ms); + if (G1DeferredRSUpdate) { + print_stats(2, "Redirty Cards", _recorded_redirty_logged_cards_time_ms); + } print_stats(2, "Free CSet", (_recorded_young_free_cset_time_ms + _recorded_non_young_free_cset_time_ms));