Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/heapRegion.cpp @ 838:0316eac49d5a
6855834: G1: minimize the output when -XX:+PrintHeapAtGC is set
Summary: Changing the behavior of -XX:+PrintHeapAtGC for G1 from printing lengthy, per-region information to instead printing a concise summary.
Reviewed-by: ysr, apetrusenko, jcoomes
author | tonyp |
---|---|
date | Tue, 07 Jul 2009 14:23:00 -0400 |
parents | 830ca2573896 |
children | bd02caa94611 df6caf649ff7 |
comparison
equal
deleted
inserted
replaced
832:e7d5557ad624 | 838:0316eac49d5a |
---|---|
701 guarantee(block_start_const(rtop + (rend - rtop) / 2) == rtop, | 701 guarantee(block_start_const(rtop + (rend - rtop) / 2) == rtop, |
702 "check offset computation"); | 702 "check offset computation"); |
703 } | 703 } |
704 if (vl_cl.failures()) { | 704 if (vl_cl.failures()) { |
705 gclog_or_tty->print_cr("Heap:"); | 705 gclog_or_tty->print_cr("Heap:"); |
706 G1CollectedHeap::heap()->print(); | 706 G1CollectedHeap::heap()->print_on(gclog_or_tty, true /* extended */); |
707 gclog_or_tty->print_cr(""); | 707 gclog_or_tty->print_cr(""); |
708 } | 708 } |
709 if (VerifyDuringGC && | 709 if (VerifyDuringGC && |
710 G1VerifyConcMarkPrintReachable && | 710 G1VerifyConcMarkPrintReachable && |
711 vl_cl.failures()) { | 711 vl_cl.failures()) { |