mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
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:
parent
93d9f1ddd9
commit
507bff762b
4 changed files with 64 additions and 8 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue