src/share/vm/memory/metaspaceShared.cpp

changeset 4278
070d523b96a7
parent 4193
716c64bda5ba
child 4396
6c3f47d964f3
equal deleted inserted replaced
4276:8c413497f434 4278:070d523b96a7
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) {

mercurial