< prev index next >

src/hotspot/share/oops/instanceKlass.cpp

Print this page

        

*** 3102,3112 **** static void print_vtable(intptr_t* start, int len, outputStream* st) { for (int i = 0; i < len; i++) { intptr_t e = start[i]; st->print("%d : " INTPTR_FORMAT, i, e); ! if (MetaspaceObj::is_valid((Metadata*)e)) { st->print(" "); ((Metadata*)e)->print_value_on(st); } st->cr(); } --- 3102,3112 ---- static void print_vtable(intptr_t* start, int len, outputStream* st) { for (int i = 0; i < len; i++) { intptr_t e = start[i]; st->print("%d : " INTPTR_FORMAT, i, e); ! if (e != 0 && ((Metadata*)e)->is_metaspace_object()) { st->print(" "); ((Metadata*)e)->print_value_on(st); } st->cr(); }
< prev index next >