8048703: ReplacedNodes dumps it's content to tty
Reviewed-by: roland, iveresov, drchase
--- a/hotspot/src/share/vm/opto/replacednodes.cpp Mon Jul 14 03:28:13 2014 -0700
+++ b/hotspot/src/share/vm/opto/replacednodes.cpp Mon Jul 14 03:29:42 2014 -0700
@@ -185,11 +185,11 @@
void ReplacedNodes::dump(outputStream *st) const {
if (!is_empty()) {
- tty->print("replaced nodes: ");
+ st->print("replaced nodes: ");
for (int i = 0; i < _replaced_nodes->length(); i++) {
- tty->print("%d->%d", _replaced_nodes->at(i).initial()->_idx, _replaced_nodes->at(i).improved()->_idx);
+ st->print("%d->%d", _replaced_nodes->at(i).initial()->_idx, _replaced_nodes->at(i).improved()->_idx);
if (i < _replaced_nodes->length()-1) {
- tty->print(",");
+ st->print(",");
}
}
}