8139903: G1EvacStats does not split log entries

Added gclog_or_tty->cr() to G1EvacStats to avoid concatenated PLAB log entries.

Reviewed-by: tschatzl, dfazunen
This commit is contained in:
Michail Chernov 2015-10-23 14:33:19 +03:00
parent c6b692b946
commit 25cc742a8f

View File

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