equal
deleted
inserted
replaced
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) { |