7032531: G1: enhance GC logging to include more accurate eden / survivor size transitions

This changeset extends the logging information generated by +PrintGCDetails to also print out separate size transitions for the eden, survivors, and old regions.

Reviewed-by: ysr, brutisso
This commit is contained in:
Antonios Printezis 2011-06-08 15:31:51 -04:00
parent 93d9f1ddd9
commit 507bff762b
4 changed files with 64 additions and 8 deletions

View file

@ -3456,6 +3456,8 @@ G1CollectedHeap::do_collection_pause_at_safepoint(double target_pause_time_ms) {
}
}
}
// We have to do this after we decide whether to expand the heap or not.
g1_policy()->print_heap_transition();
if (mark_in_progress()) {
concurrent_mark()->update_g1_committed();