diff 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
line wrap: on
line diff
--- a/src/share/vm/opto/callGenerator.cpp	Thu Jan 29 10:26:02 2015 -0800
+++ b/src/share/vm/opto/callGenerator.cpp	Tue Apr 14 18:11:06 2015 +0300
@@ -859,7 +859,8 @@
           // 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;