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
--- 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();
}