< prev index next >

src/share/vm/runtime/thread.cpp

Print this page

        

*** 3185,3195 **** protected: template <class T> inline void do_oop_work(T* p) { oop obj = oopDesc::load_decode_heap_oop(p); if (obj == NULL) return; tty->print(INTPTR_FORMAT ": ", p2i(p)); ! if (obj->is_oop_or_null()) { if (obj->is_objArray()) { tty->print_cr("valid objArray: " INTPTR_FORMAT, p2i(obj)); } else { obj->print(); } --- 3185,3195 ---- protected: template <class T> inline void do_oop_work(T* p) { oop obj = oopDesc::load_decode_heap_oop(p); if (obj == NULL) return; tty->print(INTPTR_FORMAT ": ", p2i(p)); ! if (oopDesc::is_oop_or_null(obj)) { if (obj->is_objArray()) { tty->print_cr("valid objArray: " INTPTR_FORMAT, p2i(obj)); } else { obj->print(); }
< prev index next >