hotspot/src/share/vm/memory/metaspaceShared.cpp
changeset 14488 ab48109f7d1b
parent 14120 7d298141c258
child 15100 0ae85ac7c8b0
equal deleted inserted replaced
14486:7d079e0eedef 14488:ab48109f7d1b
   429 
   429 
   430   memmove(vtbl_list, saved_vtbl, vtbl_list_size * sizeof(void*));
   430   memmove(vtbl_list, saved_vtbl, vtbl_list_size * sizeof(void*));
   431 }
   431 }
   432 
   432 
   433 static void link_shared_classes(Klass* obj, TRAPS) {
   433 static void link_shared_classes(Klass* obj, TRAPS) {
   434   Klass* k = Klass::cast(obj);
   434   Klass* k = obj;
   435   if (k->oop_is_instance()) {
   435   if (k->oop_is_instance()) {
   436     InstanceKlass* ik = (InstanceKlass*) k;
   436     InstanceKlass* ik = (InstanceKlass*) k;
   437     // Link the class to cause the bytecodes to be rewritten and the
   437     // Link the class to cause the bytecodes to be rewritten and the
   438     // cpcache to be created.
   438     // cpcache to be created.
   439     if (ik->init_state() < InstanceKlass::linked) {
   439     if (ik->init_state() < InstanceKlass::linked) {