diff 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
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/heapRegion.cpp	Thu Jul 02 16:28:15 2009 -0700
+++ b/src/share/vm/gc_implementation/g1/heapRegion.cpp	Tue Jul 07 14:23:00 2009 -0400
@@ -703,7 +703,7 @@
   }
   if (vl_cl.failures()) {
     gclog_or_tty->print_cr("Heap:");
-    G1CollectedHeap::heap()->print();
+    G1CollectedHeap::heap()->print_on(gclog_or_tty, true /* extended */);
     gclog_or_tty->print_cr("");
   }
   if (VerifyDuringGC &&