Mercurial > hg > graal-compiler
comparison src/share/vm/classfile/classFileParser.cpp @ 12264:b2e698d2276c
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
Summary: Enhance method resolution and resulting data structures, plus some refactoring.
Reviewed-by: twisti, acorn, jrose
author | drchase |
---|---|
date | Fri, 13 Sep 2013 22:38:02 -0400 |
parents | edb5ab0f3fe5 |
children | da051ce490eb |
comparison
equal
deleted
inserted
replaced
12261:2c98370f2611 | 12264: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)); |