< prev index next >

src/share/vm/oops/instanceKlass.cpp

Print this page

        

*** 3205,3215 **** class VerifyFieldClosure: public OopClosure { protected: template <class T> void do_oop_work(T* p) { oop obj = oopDesc::load_decode_heap_oop(p); ! if (!obj->is_oop_or_null()) { tty->print_cr("Failed: " PTR_FORMAT " -> " PTR_FORMAT, p2i(p), p2i(obj)); Universe::print_on(tty); guarantee(false, "boom"); } } --- 3205,3215 ---- class VerifyFieldClosure: public OopClosure { protected: template <class T> void do_oop_work(T* p) { oop obj = oopDesc::load_decode_heap_oop(p); ! if (!oopDesc::is_oop_or_null(obj)) { tty->print_cr("Failed: " PTR_FORMAT " -> " PTR_FORMAT, p2i(p), p2i(obj)); Universe::print_on(tty); guarantee(false, "boom"); } }
< prev index next >