8000227: [obj|type]ArrayKlass::oop_print_on prints one line to tty instead of the provided output stream
Reviewed-by: brutisso, sla, jmasa, coleenp
This commit is contained in:
parent
ddd6138b95
commit
3e967d8f8d
@ -646,7 +646,7 @@ void objArrayKlass::oop_print_on(oop obj, outputStream* st) {
|
||||
}
|
||||
int remaining = oa->length() - print_len;
|
||||
if (remaining > 0) {
|
||||
tty->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining);
|
||||
st->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -381,7 +381,7 @@ void typeArrayKlass::oop_print_on(oop obj, outputStream* st) {
|
||||
}
|
||||
int remaining = ta->length() - print_len;
|
||||
if (remaining > 0) {
|
||||
tty->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining);
|
||||
st->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user