RFR: 8156131: C2: MachProj dumps data on tty w/ -XX:+WizardMode

Jamsheed C m jamsheed.c.m at oracle.com
Fri May 6 06:11:30 UTC 2016


Hi,

Request for review a trivial change.

+WizardMode dont take a stream input. as its very small change sending diff.

diff --git a/src/share/vm/opto/machnode.cpp b/src/share/vm/opto/machnode.cpp
--- a/src/share/vm/opto/machnode.cpp
+++ b/src/share/vm/opto/machnode.cpp
@@ -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

Best Regards,
Jamsheed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160506/14c22c20/attachment.html>


More information about the hotspot-compiler-dev mailing list