changeset 9251:4d7995577f52

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
author mchernov
date Fri, 23 Oct 2015 14:33:19 +0300
parents 4bf6d3c2c816
children 714c9bead5bb 0aa8adafb982 c8434ad4f332
files src/share/vm/gc/g1/g1EvacStats.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/g1/g1EvacStats.cpp	Sun Oct 25 19:19:55 2015 -0400
+++ b/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();
 }