8140583: Without PrintPLAB, there are superfluous newlines in the GC log messages

Conditionalize offending newlines by -XX:+PrintPLAB

Reviewed-by: mgerdin
This commit is contained in:
Thomas Schatzl 2015-10-27 11:44:49 +01:00
parent 4aad17f807
commit d7363bbd3b

View File

@ -107,7 +107,9 @@ void G1EvacStats::adjust_desired_plab_sz() {
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();
}