Mercurial > hg > truffle
comparison src/share/vm/oops/objArrayKlass.cpp @ 6815:86af3dacab81
8000227: [obj|type]ArrayKlass::oop_print_on prints one line to tty instead of the provided output stream
Reviewed-by: brutisso, sla, jmasa, coleenp
author | stefank |
---|---|
date | Mon, 01 Oct 2012 13:29:11 +0200 |
parents | da91efe96a93 |
children | 6e5a59a8e4a7 |
comparison
equal
deleted
inserted
replaced
6814:85f1cded9793 | 6815:86af3dacab81 |
---|---|
644 oa->obj_at(index)->print_value_on(st); | 644 oa->obj_at(index)->print_value_on(st); |
645 st->cr(); | 645 st->cr(); |
646 } | 646 } |
647 int remaining = oa->length() - print_len; | 647 int remaining = oa->length() - print_len; |
648 if (remaining > 0) { | 648 if (remaining > 0) { |
649 tty->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining); | 649 st->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining); |
650 } | 650 } |
651 } | 651 } |
652 | 652 |
653 #endif //PRODUCT | 653 #endif //PRODUCT |
654 | 654 |