mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8221542: ~15% performance degradation due to less optimized inline decision
Reviewed-by: vlivanov, coleenp
This commit is contained in:
parent
2e0c5db11d
commit
0ff8db34ca
6 changed files with 72 additions and 6 deletions
|
@ -506,7 +506,7 @@ Method* ConstantPoolCacheEntry::method_if_resolved(const constantPoolHandle& cpo
|
|||
switch (invoke_code) {
|
||||
case Bytecodes::_invokeinterface:
|
||||
assert(f1->is_klass(), "");
|
||||
return klassItable::method_for_itable_index((InstanceKlass*)f1, f2_as_index());
|
||||
return f2_as_interface_method();
|
||||
case Bytecodes::_invokestatic:
|
||||
case Bytecodes::_invokespecial:
|
||||
assert(!has_appendix(), "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue