mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
Enhance method resolution and resulting data structures, plus some refactoring. Reviewed-by: twisti, acorn, jrose
This commit is contained in:
parent
98d8f57603
commit
222c735458
40 changed files with 715 additions and 601 deletions
|
@ -952,7 +952,8 @@ oop Reflection::invoke(instanceKlassHandle klass, methodHandle reflected_method,
|
|||
}
|
||||
} else {
|
||||
// if the method can be overridden, we resolve using the vtable index.
|
||||
int index = reflected_method->vtable_index();
|
||||
assert(!reflected_method->has_itable_index(), "");
|
||||
int index = reflected_method->vtable_index();
|
||||
method = reflected_method;
|
||||
if (index != Method::nonvirtual_vtable_index) {
|
||||
// target_klass might be an arrayKlassOop but all vtables start at
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue