changeset 9260:f22aeb038230

8140583: Without PrintPLAB, there are superfluous newlines in the GC log messages Summary: Conditionalize offending newlines by -XX:+PrintPLAB Reviewed-by: mgerdin
author tschatzl
date Tue, 27 Oct 2015 11:44:49 +0100
parents eb05a697271f
children f27912435e2f
files src/share/vm/gc/g1/g1EvacStats.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/g1/g1EvacStats.cpp	Fri Oct 09 16:39:37 2015 +0200
+++ b/src/share/vm/gc/g1/g1EvacStats.cpp	Tue Oct 27 11:44:49 2015 +0100
@@ -107,7 +107,9 @@
       gclog_or_tty->print(" (plab_sz = " SIZE_FORMAT " desired_plab_sz = " SIZE_FORMAT ") ", cur_plab_sz, plab_sz);
     }
   }
-  gclog_or_tty->cr();
+  if (PrintPLAB) {
+    gclog_or_tty->cr();
+  }
   // Clear accumulators for next round.
   reset();
 }