Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
3763:e66f38dd58a9 | 3764:053d84a76d3d |
---|---|
3454 assert(capacity() == _g1_storage.committed_size(), "committed size mismatch"); | 3454 assert(capacity() == _g1_storage.committed_size(), "committed size mismatch"); |
3455 assert(max_capacity() == _g1_storage.reserved_size(), "reserved size mismatch"); | 3455 assert(max_capacity() == _g1_storage.reserved_size(), "reserved size mismatch"); |
3456 } | 3456 } |
3457 } | 3457 } |
3458 } | 3458 } |
3459 // We have to do this after we decide whether to expand the heap or not. | |
3460 g1_policy()->print_heap_transition(); | |
3459 | 3461 |
3460 if (mark_in_progress()) { | 3462 if (mark_in_progress()) { |
3461 concurrent_mark()->update_g1_committed(); | 3463 concurrent_mark()->update_g1_committed(); |
3462 } | 3464 } |
3463 | 3465 |