rev 50307 : [mq]: cont
@@ -36,10 +36,14 @@ bool always_do_update_barrier = false; void oopDesc::print_on(outputStream* st) const { if (this == NULL) { st->print_cr("NULL"); + } else if (*((juint*)this) == badHeapWordVal) { + st->print("BAD WORD"); + } else if (*((juint*)this) == badMetaWordVal) { + st->print("BAD META WORD"); } else { klass()->oop_print_on(oop(this), st); } }