462 Handle loader2, bool is_method, TRAPS); |
462 Handle loader2, bool is_method, TRAPS); |
463 |
463 |
464 // JSR 292 |
464 // JSR 292 |
465 // find a java.lang.invoke.MethodHandle.invoke* method for a given signature |
465 // find a java.lang.invoke.MethodHandle.invoke* method for a given signature |
466 // (asks Java to compute it if necessary, except in a compiler thread) |
466 // (asks Java to compute it if necessary, except in a compiler thread) |
467 static methodHandle find_method_handle_invoker(Klass* klass, |
467 static Method* find_method_handle_invoker(Klass* klass, |
468 Symbol* name, |
468 Symbol* name, |
469 Symbol* signature, |
469 Symbol* signature, |
470 Klass* accessing_klass, |
470 Klass* accessing_klass, |
471 Handle *appendix_result, |
471 Handle *appendix_result, |
472 TRAPS); |
472 TRAPS); |
473 // for a given signature, find the internal MethodHandle method (linkTo* or invokeBasic) |
473 // for a given signature, find the internal MethodHandle method (linkTo* or invokeBasic) |
474 // (does not ask Java, since this is a low-level intrinsic defined by the JVM) |
474 // (does not ask Java, since this is a low-level intrinsic defined by the JVM) |
475 static methodHandle find_method_handle_intrinsic(vmIntrinsics::ID iid, |
475 static Method* find_method_handle_intrinsic(vmIntrinsics::ID iid, |
476 Symbol* signature, |
476 Symbol* signature, |
477 TRAPS); |
477 TRAPS); |
478 |
478 |
479 // compute java_mirror (java.lang.Class instance) for a type ("I", "[[B", "LFoo;", etc.) |
479 // compute java_mirror (java.lang.Class instance) for a type ("I", "[[B", "LFoo;", etc.) |
480 // Either the accessing_klass or the CL/PD can be non-null, but not both. |
480 // Either the accessing_klass or the CL/PD can be non-null, but not both. |
481 static Handle find_java_mirror_for_type(Symbol* signature, |
481 static Handle find_java_mirror_for_type(Symbol* signature, |
482 Klass* accessing_klass, |
482 Klass* accessing_klass, |