mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
8062280: C2: inlining failure due to access checks being too strict
Reviewed-by: kvn
This commit is contained in:
parent
ce40bf07b2
commit
5ff12acb9d
8 changed files with 249 additions and 27 deletions
|
@ -876,7 +876,8 @@ CallGenerator* CallGenerator::for_method_handle_inline(JVMState* jvms, ciMethod*
|
|||
// Parse::do_call())
|
||||
target = C->optimize_virtual_call(caller, jvms->bci(), klass, klass,
|
||||
target, receiver_type, is_virtual,
|
||||
call_does_dispatch, vtable_index); // out-parameters
|
||||
call_does_dispatch, vtable_index, // out-parameters
|
||||
/*check_access=*/false);
|
||||
// We lack profiling at this call but type speculation may
|
||||
// provide us with a type
|
||||
speculative_receiver_type = (receiver_type != NULL) ? receiver_type->speculative_type() : NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue