Merge
authortwisti
Thu, 17 Dec 2015 23:36:28 +0000
changeset 35134 dbf1c77ae372
parent 35133 4e23fa46d48d (current diff)
parent 35132 07bc696c7fdb (diff)
child 35135 dd2ce9021031
Merge
--- a/hotspot/src/share/vm/code/nmethod.cpp	Thu Dec 17 23:17:34 2015 +0000
+++ b/hotspot/src/share/vm/code/nmethod.cpp	Thu Dec 17 23:36:28 2015 +0000
@@ -3042,7 +3042,11 @@
   for (int i = 0; i < oops_count(); i++) {
     oop o = oop_at(i);
     tty->print("#%3d: " INTPTR_FORMAT " ", i, p2i(o));
-    o->print_value();
+    if (o == (oop)Universe::non_oop_word()) {
+      tty->print("non-oop word");
+    } else {
+      o->print_value();
+    }
     tty->cr();
   }
 }
@@ -3052,7 +3056,11 @@
   for (int i = 0; i < metadata_count(); i++) {
     Metadata* m = metadata_at(i);
     tty->print("#%3d: " INTPTR_FORMAT " ", i, p2i(m));
-    m->print_value_on_maybe_null(tty);
+    if (m == (Metadata*)Universe::non_oop_word()) {
+      tty->print("non-metadata word");
+    } else {
+      m->print_value_on_maybe_null(tty);
+    }
     tty->cr();
   }
 }