8156131: C2: MachProj dumps data on tty w/ -XX:+WizardMode
Summary: Made to dump on output stream on wizard mode.
Reviewed-by: vlivanov
--- a/hotspot/src/share/vm/opto/machnode.cpp Fri May 06 05:57:43 2016 -0700
+++ b/hotspot/src/share/vm/opto/machnode.cpp Fri May 06 06:08:15 2016 -0700
@@ -600,8 +600,8 @@
void MachProjNode::dump_spec(outputStream *st) const {
ProjNode::dump_spec(st);
switch (_ideal_reg) {
- case unmatched_proj: st->print("/unmatched"); break;
- case fat_proj: st->print("/fat"); if (WizardMode) _rout.dump(); break;
+ case unmatched_proj: st->print("/unmatched"); break;
+ case fat_proj: st->print("/fat"); if (WizardMode) _rout.dump(st); break;
}
}
#endif