changeset 54437 | 2ae93028bef3 |
parent 54347 | 235883996bc7 |
child 54623 | 1126f0607c70 |
--- a/src/hotspot/share/oops/instanceKlass.cpp Fri Apr 05 09:18:18 2019 +0200 +++ b/src/hotspot/share/oops/instanceKlass.cpp Wed Mar 27 14:13:34 2019 +0100 @@ -3104,7 +3104,7 @@ 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()) { + if (MetaspaceObj::is_valid((Metadata*)e)) { st->print(" "); ((Metadata*)e)->print_value_on(st); }