src/share/vm/classfile/classFileParser.cpp

changeset 5732
b2e698d2276c
parent 5658
edb5ab0f3fe5
child 5737
da051ce490eb
equal deleted inserted replaced
5729:2c98370f2611 5732:b2e698d2276c
3952 3952
3953 if (has_final_method) { 3953 if (has_final_method) {
3954 this_klass->set_has_final_method(); 3954 this_klass->set_has_final_method();
3955 } 3955 }
3956 this_klass->copy_method_ordering(method_ordering, CHECK_NULL); 3956 this_klass->copy_method_ordering(method_ordering, CHECK_NULL);
3957 // The InstanceKlass::_methods_jmethod_ids cache and the 3957 // The InstanceKlass::_methods_jmethod_ids cache
3958 // InstanceKlass::_methods_cached_itable_indices cache are 3958 // is managed on the assumption that the initial cache
3959 // both managed on the assumption that the initial cache
3960 // size is equal to the number of methods in the class. If 3959 // size is equal to the number of methods in the class. If
3961 // that changes, then InstanceKlass::idnum_can_increment() 3960 // that changes, then InstanceKlass::idnum_can_increment()
3962 // has to be changed accordingly. 3961 // has to be changed accordingly.
3963 this_klass->set_initial_method_idnum(methods->length()); 3962 this_klass->set_initial_method_idnum(methods->length());
3964 this_klass->set_name(cp->klass_name_at(this_class_index)); 3963 this_klass->set_name(cp->klass_name_at(this_class_index));

mercurial