mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
7023639: JSR 292 method handle invocation needs a fast path for compiled code
6984705: JSR 292 method handle creation should not go through JNI Remove assembly code for JDK 7 chained method handles Co-authored-by: John Rose <john.r.rose@oracle.com> Co-authored-by: Michael Haupt <michael.haupt@oracle.com> Reviewed-by: jrose, twisti, kvn, mhaupt
This commit is contained in:
parent
893817c28d
commit
12901d0e5b
181 changed files with 5760 additions and 14402 deletions
|
@ -36,7 +36,6 @@
|
|||
#include "oops/objArrayKlass.hpp"
|
||||
#include "oops/objArrayOop.hpp"
|
||||
#include "prims/jvm.h"
|
||||
#include "prims/methodHandleWalk.hpp"
|
||||
#include "runtime/arguments.hpp"
|
||||
#include "runtime/handles.inline.hpp"
|
||||
#include "runtime/javaCalls.hpp"
|
||||
|
@ -502,11 +501,6 @@ bool Reflection::can_relax_access_check_for(
|
|||
under_host_klass(accessee_ik, accessor))
|
||||
return true;
|
||||
|
||||
// Adapter frames can access anything.
|
||||
if (MethodHandleCompiler::klass_is_method_handle_adapter_holder(accessor))
|
||||
// This is an internal adapter frame from the MethodHandleCompiler.
|
||||
return true;
|
||||
|
||||
if (RelaxAccessControlCheck ||
|
||||
(accessor_ik->major_version() < JAVA_1_5_VERSION &&
|
||||
accessee_ik->major_version() < JAVA_1_5_VERSION)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue