< prev index next >

src/hotspot/share/oops/oop.cpp

Print this page
rev 50307 : [mq]: cont

*** 36,45 **** --- 36,49 ---- 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); } }
< prev index next >