8139903: G1EvacStats does not split log entries.
authormchernov
Fri, 23 Oct 2015 14:33:19 +0300
changeset 33597 5d42601232b1
parent 33596 2f3ff842a309
child 33598 e230df0ac751
child 33600 922600753f71
child 33602 16053580a684
8139903: G1EvacStats does not split log entries. Summary: Added gclog_or_tty->cr() to G1EvacStats to avoid concatenated PLAB log entries. Reviewed-by: tschatzl, dfazunen
hotspot/src/share/vm/gc/g1/g1EvacStats.cpp
--- a/hotspot/src/share/vm/gc/g1/g1EvacStats.cpp	Sun Oct 25 19:19:55 2015 -0400
+++ b/hotspot/src/share/vm/gc/g1/g1EvacStats.cpp	Fri Oct 23 14:33:19 2015 +0300
@@ -104,9 +104,10 @@
     // Latch the result
     _desired_net_plab_sz = plab_sz;
     if (PrintPLAB) {
-      gclog_or_tty->print_cr(" (plab_sz = " SIZE_FORMAT " desired_plab_sz = " SIZE_FORMAT ") ", cur_plab_sz, plab_sz);
+      gclog_or_tty->print(" (plab_sz = " SIZE_FORMAT " desired_plab_sz = " SIZE_FORMAT ") ", cur_plab_sz, plab_sz);
     }
   }
+  gclog_or_tty->cr();
   // Clear accumulators for next round.
   reset();
 }