Mercurial > hg > truffle
diff src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 3764:053d84a76d3d
7032531: G1: enhance GC logging to include more accurate eden / survivor size transitions
Summary: 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
author | tonyp |
---|---|
date | Wed, 08 Jun 2011 15:31:51 -0400 |
parents | 69293e516993 |
children | c3f1170908be |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Wed Jun 08 08:39:53 2011 -0700 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Wed Jun 08 15:31:51 2011 -0400 @@ -3456,6 +3456,8 @@ } } } + // 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();