comparison src/share/vm/memory/metaspaceShared.cpp @ 6985:80e866b1d053

Merge
author coleenp
date Fri, 16 Nov 2012 09:19:12 -0500
parents 070d523b96a7
children 6c3f47d964f3
comparison
equal deleted inserted replaced
6974:6b6ddf8c4329 6985:80e866b1d053
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) {