comparison src/share/vm/opto/callGenerator.cpp @ 22988:99edc344d77c

8062280: C2: inlining failure due to access checks being too strict Reviewed-by: kvn
author vlivanov
date Tue, 14 Apr 2015 18:11:06 +0300
parents 8ed0a8dbea70
children dd9cc155639c 55c8792fe214
comparison
equal deleted inserted replaced
22987:4eeec0cdeb6a 22988:99edc344d77c
857 // optimize_virtual_call() takes 2 different holder 857 // optimize_virtual_call() takes 2 different holder
858 // arguments for a corner case that doesn't apply here (see 858 // arguments for a corner case that doesn't apply here (see
859 // Parse::do_call()) 859 // Parse::do_call())
860 target = C->optimize_virtual_call(caller, jvms->bci(), klass, klass, 860 target = C->optimize_virtual_call(caller, jvms->bci(), klass, klass,
861 target, receiver_type, is_virtual, 861 target, receiver_type, is_virtual,
862 call_does_dispatch, vtable_index); // out-parameters 862 call_does_dispatch, vtable_index, // out-parameters
863 /*check_access=*/false);
863 // We lack profiling at this call but type speculation may 864 // We lack profiling at this call but type speculation may
864 // provide us with a type 865 // provide us with a type
865 speculative_receiver_type = (receiver_type != NULL) ? receiver_type->speculative_type() : NULL; 866 speculative_receiver_type = (receiver_type != NULL) ? receiver_type->speculative_type() : NULL;
866 } 867 }
867 868