8156131: C2: MachProj dumps data on tty w/ -XX:+WizardMode
authorjcm
Fri, 06 May 2016 06:08:15 -0700
changeset 38244 63cd9f129814
parent 38243 f6cedfdd4721
child 38245 c6c2ac29463b
child 38280 e92d1e71bd9a
8156131: C2: MachProj dumps data on tty w/ -XX:+WizardMode Summary: Made to dump on output stream on wizard mode. Reviewed-by: vlivanov
hotspot/src/share/vm/opto/machnode.cpp
--- 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