Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1GCPhaseTimes.cpp @ 17757:eff02b5bd56c
8035654: Add times for evacuation failure handling in "Other" time
Summary: Detailed breakdown of time spent in the evacuation failure handling phases to make the "Other" time roughly correspond to the sum of its parts.
Reviewed-by: jwilhelm, jmasa
author | tschatzl |
---|---|
date | Mon, 24 Mar 2014 15:30:46 +0100 |
parents | a07bea31ef35 |
children | 595c0f60d50d |
comparison
equal
deleted
inserted
replaced
17756:a07bea31ef35 | 17757:eff02b5bd56c |
---|---|
307 double misc_time_ms = pause_time_sec * MILLIUNITS - accounted_time_ms(); | 307 double misc_time_ms = pause_time_sec * MILLIUNITS - accounted_time_ms(); |
308 print_stats(1, "Other", misc_time_ms); | 308 print_stats(1, "Other", misc_time_ms); |
309 if (_cur_verify_before_time_ms > 0.0) { | 309 if (_cur_verify_before_time_ms > 0.0) { |
310 print_stats(2, "Verify Before", _cur_verify_before_time_ms); | 310 print_stats(2, "Verify Before", _cur_verify_before_time_ms); |
311 } | 311 } |
312 if (G1CollectedHeap::heap()->evacuation_failed()) { | |
313 double evac_fail_handling = _cur_evac_fail_recalc_used + _cur_evac_fail_remove_self_forwards + | |
314 _cur_evac_fail_restore_remsets; | |
315 print_stats(2, "Evacuation Failure", evac_fail_handling); | |
316 if (G1Log::finest()) { | |
317 print_stats(3, "Recalculate Used", _cur_evac_fail_recalc_used); | |
318 print_stats(3, "Remove Self Forwards", _cur_evac_fail_remove_self_forwards); | |
319 print_stats(3, "Restore RemSet", _cur_evac_fail_restore_remsets); | |
320 } | |
321 } | |
312 print_stats(2, "Choose CSet", | 322 print_stats(2, "Choose CSet", |
313 (_recorded_young_cset_choice_time_ms + | 323 (_recorded_young_cset_choice_time_ms + |
314 _recorded_non_young_cset_choice_time_ms)); | 324 _recorded_non_young_cset_choice_time_ms)); |
315 print_stats(2, "Ref Proc", _cur_ref_proc_time_ms); | 325 print_stats(2, "Ref Proc", _cur_ref_proc_time_ms); |
316 print_stats(2, "Ref Enq", _cur_ref_enq_time_ms); | 326 print_stats(2, "Ref Enq", _cur_ref_enq_time_ms); |