mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8035654: Add times for evacuation failure handling in "Other" time
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
This commit is contained in:
parent
80188ce0b2
commit
2a8616c9d6
5 changed files with 93 additions and 1 deletions
|
@ -309,6 +309,16 @@ void G1GCPhaseTimes::print(double pause_time_sec) {
|
|||
if (_cur_verify_before_time_ms > 0.0) {
|
||||
print_stats(2, "Verify Before", _cur_verify_before_time_ms);
|
||||
}
|
||||
if (G1CollectedHeap::heap()->evacuation_failed()) {
|
||||
double evac_fail_handling = _cur_evac_fail_recalc_used + _cur_evac_fail_remove_self_forwards +
|
||||
_cur_evac_fail_restore_remsets;
|
||||
print_stats(2, "Evacuation Failure", evac_fail_handling);
|
||||
if (G1Log::finest()) {
|
||||
print_stats(3, "Recalculate Used", _cur_evac_fail_recalc_used);
|
||||
print_stats(3, "Remove Self Forwards", _cur_evac_fail_remove_self_forwards);
|
||||
print_stats(3, "Restore RemSet", _cur_evac_fail_restore_remsets);
|
||||
}
|
||||
}
|
||||
print_stats(2, "Choose CSet",
|
||||
(_recorded_young_cset_choice_time_ms +
|
||||
_recorded_non_young_cset_choice_time_ms));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue