8005672: Clean up some changes to GC logging with GCCause's

Reviewed-by: johnc, ysr
This commit is contained in:
Jon Masamitsu 2013-01-04 17:04:46 -08:00
parent cca092892b
commit 7fb60025ee
4 changed files with 7 additions and 6 deletions

View file

@ -808,8 +808,9 @@ void PSYoungGen::print_on(outputStream* st) const {
st->print(" to "); to_space()->print_on(st);
}
// Note that a space is not printed before the [NAME:
void PSYoungGen::print_used_change(size_t prev_used) const {
gclog_or_tty->print(" [%s:", name());
gclog_or_tty->print("[%s:", name());
gclog_or_tty->print(" " SIZE_FORMAT "K"
"->" SIZE_FORMAT "K"
"(" SIZE_FORMAT "K)",