< prev index next >

src/hotspot/share/opto/type.cpp

Print this page
@@ -4494,11 +4494,11 @@
  
    if (_ptr == Constant && (WizardMode || Verbose)) {
      ResourceMark rm;
      stringStream ss;
  
-     st->print(" ");
+     st->print(" " INTPTR_FORMAT, p2i(const_oop()));
      const_oop()->print_oop(&ss);
      // 'const_oop->print_oop()' may emit newlines('\n') into ss.
      // suppress newlines from it so -XX:+Verbose -XX:+PrintIdeal dumps one-liner for each node.
      char* buf = ss.as_string(/* c_heap= */false);
      StringUtils::replace_no_expand(buf, "\n", "");

@@ -5107,10 +5107,11 @@
    st->print("aryptr:");
    _ary->dump2(d, depth, st);
    _interfaces->dump(st);
  
    if (_ptr == Constant) {
+     st->print(" " INTPTR_FORMAT " ", p2i(const_oop()));
      const_oop()->print(st);
    }
  
    st->print(":%s", ptr_msg[_ptr]);
    if (_klass_is_exact) {
< prev index next >