/openjdk9/hotspot/src/share/vm/ci/ |
H A D | ciMethodType.hpp | 53 ciType* rtype() const { function in class:ciMethodType 55 oop rtype = java_lang_invoke_MethodType::rtype(get_oop()); 56 return class_to_citype(rtype);
|
/openjdk9/jdk/src/java.base/share/classes/java/lang/invoke/ |
H A D | MethodType.java | 95 private static final long serialVersionUID = 292L; // {rtype, {ptype...}} 97 // The rtype and ptypes fields define the structural identity of the method type: 98 private final Class<?> rtype; field in class:MethodType 110 private MethodType(Class<?> rtype, Class<?>[] ptypes, boolean trusted) { argument 111 checkRtype(rtype); 113 this.rtype = rtype; 123 private MethodType(Class<?>[] ptypes, Class<?> rtype) { argument 124 this.rtype = rtype; 129 /*trusted*/ Class<?> rtype() { return rtype; } method in class:MethodType 164 checkRtype(Class<?> rtype) argument 210 methodType(Class<?> rtype, Class<?>[] ptypes) argument 224 methodType(Class<?> rtype, List<Class<?>> ptypes) argument 247 methodType(Class<?> rtype, Class<?> ptype0, Class<?>... ptypes) argument 263 methodType(Class<?> rtype) argument 278 methodType(Class<?> rtype, Class<?> ptype0) argument 293 methodType(Class<?> rtype, MethodType ptypes) argument 305 makeImpl(Class<?> rtype, Class<?>[] ptypes, boolean trusted) argument 1212 MethodType_init(Class<?> rtype, Class<?>[] ptypes) argument [all...] |
H A D | InvokerBytecodeGenerator.java | 796 Class<?> rtype = name.function.methodType().returnType(); 797 if (isStaticallyNameable(rtype)) { 1008 Class<?> rtype = member.getInvocationType().returnType(); 1009 assert(!rtype.isPrimitive()); 1010 if (rtype != Object.class && !rtype.isInterface()) { 1011 assertStaticType(rtype, name); 1017 Class<?> rtype = name.function.methodType().returnType(); 1027 assert(emptyArray.getClass() == rtype); // exact typing 1029 emitReferenceCast(rtype, emptyArra [all...] |
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/ |
H A D | InvokeByName.java | 81 * @param rtype the return type of the function 84 public InvokeByName(final String name, final Class<?> targetClass, final Class<?> rtype, final Class<?>... ptypes) { argument 98 invoker = Bootstrap.createDynamicCallInvoker(rtype, finalPtypes);
|
H A D | NashornGuards.java | 238 private static MethodHandle findOwnMH(final String name, final Class<?> rtype, final Class<?>... types) { argument 239 return MH.findStatic(MethodHandles.lookup(), NashornGuards.class, name, MH.type(rtype, types));
|
H A D | NashornPrimitiveLinker.java | 178 private static MethodHandle findOwnMH(final String name, final Class<?> rtype, final Class<?>... types) { argument 179 return MH.findStatic(MethodHandles.lookup(), NashornPrimitiveLinker.class, name, MH.type(rtype, types));
|
H A D | JSObjectLinker.java | 257 private static MethodHandle findJSObjectMH_V(final String name, final Class<?> rtype, final Class<?>... types) { argument 258 return MH.findVirtual(MethodHandles.lookup(), JSObject.class, name, MH.type(rtype, types)); 261 private static MethodHandle findOwnMH_S(final String name, final Class<?> rtype, final Class<?>... types) { argument 262 return MH.findStatic(MethodHandles.lookup(), JSObjectLinker.class, name, MH.type(rtype, types));
|
H A D | Bootstrap.java | 346 * @param rtype the return type for the operation 350 public static MethodHandle createDynamicInvoker(final String name, final int flags, final Class<?> rtype, final Class<?>... ptypes) { argument 351 return bootstrap(MethodHandles.publicLookup(), name, MethodType.methodType(rtype, ptypes), flags).dynamicInvoker(); 357 * @param rtype the return type for the operation 361 public static MethodHandle createDynamicCallInvoker(final Class<?> rtype, final Class<?>... ptypes) { argument 362 return createDynamicInvoker("", NashornCallSiteDescriptor.CALL, rtype, ptypes);
|
H A D | BrowserJSObjectLinker.java | 182 private static MethodHandle findOwnMH_S(final String name, final Class<?> rtype, final Class<?>... types) { argument 183 return MH.findStatic(MethodHandles.lookup(), BrowserJSObjectLinker.class, name, MH.type(rtype, types)); 197 private static MethodHandle findJSObjectMH_V(final String name, final Class<?> rtype, final Class<?>... types) { argument 199 return MH.findVirtual(MethodHandles.publicLookup(), jsObjectClass, name, MH.type(rtype, types));
|
/openjdk9/jdk/src/java.base/share/classes/sun/invoke/util/ |
H A D | BytecodeDescriptor.java | 69 Class<?> rtype = parseSig(str, i, end, loader); 70 if (rtype == null || i[0] != end) 72 ptypes.add(rtype); 127 public static String unparseMethod(Class<?> rtype, List<Class<?>> ptypes) { argument 133 unparseSig(rtype, sb); 137 public static String unparseMethod(Class<?> rtype, Class<?>[] ptypes) { argument 143 unparseSig(rtype, sb);
|
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ |
H A D | CompilerConstants.java | 305 * @param rtype return type 310 public static String methodDescriptor(final Class<?> rtype, final Class<?>... ptypes) { argument 311 return Type.getMethodDescriptor(rtype, ptypes); 393 * @param rtype the return type 398 public static Call specialCallNoLookup(final Class<?> clazz, final String name, final Class<?> rtype, final Class<?>... ptypes) { argument 399 return specialCallNoLookup(className(clazz), name, methodDescriptor(rtype, ptypes)); 432 * @param rtype the return type 437 public static Call staticCallNoLookup(final Class<?> clazz, final String name, final Class<?> rtype, final Class<?>... ptypes) { argument 438 return staticCallNoLookup(className(clazz), name, methodDescriptor(rtype, ptypes)); 447 * @param rtype th 452 virtualCallNoLookup(final Class<?> clazz, final String name, final Class<?> rtype, final Class<?>... ptypes) argument 477 interfaceCallNoLookup(final Class<?> clazz, final String name, final Class<?> rtype, final Class<?>... ptypes) argument 578 staticCall(final MethodHandles.Lookup lookup, final Class<?> clazz, final String name, final Class<?> rtype, final Class<?>... ptypes) argument 603 virtualCall(final MethodHandles.Lookup lookup, final Class<?> clazz, final String name, final Class<?> rtype, final Class<?>... ptypes) argument 629 specialCall(final MethodHandles.Lookup lookup, final Class<?> clazz, final String name, final Class<?> rtype, final Class<?>... ptypes) argument [all...] |
/openjdk9/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/linker/support/ |
H A D | Lookup.java | 348 * @param rtype the return type of the method 352 public static MethodHandle findOwnSpecial(final MethodHandles.Lookup lookup, final String name, final Class<?> rtype, final Class<?>... ptypes) { argument 353 return new Lookup(lookup).findOwnSpecial(name, rtype, ptypes); 364 * @param rtype the return type of the method 368 public MethodHandle findOwnSpecial(final String name, final Class<?> rtype, final Class<?>... ptypes) { argument 369 return findSpecial(lookup.lookupClass(), name, MethodType.methodType(rtype, ptypes)); 380 * @param rtype the return type of the method 384 public static MethodHandle findOwnStatic(final MethodHandles.Lookup lookup, final String name, final Class<?> rtype, final Class<?>... ptypes) { argument 385 return new Lookup(lookup).findOwnStatic(name, rtype, ptypes); 395 * @param rtype th 399 findOwnStatic(final String name, final Class<?> rtype, final Class<?>... ptypes) argument [all...] |
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/ |
H A D | ShellFunctions.java | 98 private static MethodHandle findOwnMH(final String name, final Class<?> rtype, final Class<?>... types) { argument 99 return MH.findStatic(MethodHandles.lookup(), ShellFunctions.class, name, MH.type(rtype, types));
|
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ |
H A D | PrototypeObject.java | 115 private static MethodHandle findOwnMH(final String name, final Class<?> rtype, final Class<?>... types) { argument 116 return MH.findStatic(MethodHandles.lookup(), PrototypeObject.class, name, MH.type(rtype, types));
|
H A D | Undefined.java | 169 private static MethodHandle findOwnMH(final String name, final Class<?> rtype, final Class<?>... types) { argument 170 return MH.findVirtual(MethodHandles.lookup(), Undefined.class, name, MH.type(rtype, types));
|
/openjdk9/jdk/src/jdk.rmic/share/classes/sun/tools/tree/ |
H A D | AssignOpExpression.java | 58 Type rtype = null; // special conversion type for RHS 97 rtype = Type.tInt; 122 if (rtype == null) { 123 rtype = itype; 125 right = convert(env, ctx, rtype, right);
|
/openjdk9/hotspot/src/cpu/sparc/vm/ |
H A D | macroAssembler_sparc.hpp | 286 const relocInfo::relocType rtype() { return _rspec.type(); } function in class:VALUE_OBJ_CLASS_SPEC 330 RelocationHolder rspec_from_rtype(relocInfo::relocType rtype, address addr) { argument 331 switch (rtype) { 370 AddressLiteral(address addr, relocInfo::relocType rtype = relocInfo::none) 372 _rspec(rspec_from_rtype(rtype, (address) addr)) {} 375 AddressLiteral(address* addr, relocInfo::relocType rtype = relocInfo::none) 377 _rspec(rspec_from_rtype(rtype, (address) addr)) {} 379 AddressLiteral(bool* addr, relocInfo::relocType rtype = relocInfo::none) 381 _rspec(rspec_from_rtype(rtype, (address) addr)) {} 383 AddressLiteral(const bool* addr, relocInfo::relocType rtype 425 const relocInfo::relocType rtype() const { return _rspec.type(); } function in class:VALUE_OBJ_CLASS_SPEC [all...] |
/openjdk9/hotspot/src/cpu/aarch64/vm/ |
H A D | c1_LIRAssembler_aarch64.hpp | 61 void poll_for_safepoint(relocInfo::relocType rtype, CodeEmitInfo* info = NULL);
|
/openjdk9/jdk/test/java/lang/invoke/modules/m1/p1/ |
H A D | Main.java | 346 Class<?> rtype, 349 findConstructor(lookup, clazz, rtype, ptypes); 360 Class<?> rtype, 362 MethodType mt = MethodType.methodType(rtype, ptypes); 344 findConstructorExpectingIAE(Lookup lookup, Class<?> clazz, Class<?> rtype, Class<?>... ptypes) argument 358 findConstructor(Lookup lookup, Class<?> clazz, Class<?> rtype, Class<?>... ptypes) argument
|
/openjdk9/jdk/test/java/lang/invoke/MethodHandles/ |
H A D | CatchExceptionTest.java | 369 public final Class<T> rtype; field in class:TestCase 383 private TestCase(Class<T> rtype, Function<Object, T> cast, argument 392 this.rtype = rtype; 423 Class<T2> rtype, Function<Object, T2> cast) { 426 return new TestCase<>(rtype, cast, t, u); 463 "rtype=" + rtype + 499 if (rtype.isArray()) { 422 create( Class<T2> rtype, Function<Object, T2> cast) argument
|
/openjdk9/jdk/test/java/lang/invoke/ |
H A D | MethodHandleConstants.java | 64 private static void testCase(MethodHandle mh, Class<?> defc, String name, Class<?> rtype, Class<?>... ptypes) throws Throwable { argument 67 MethodType mt = methodType(rtype, ptypes);
|
/openjdk9/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/beans/ |
H A D | CallerSensitiveDynamicMethod.java | 141 final Class<?> rtype = isMethod ? ((Method)ao).getReturnType() : ((Constructor<?>)ao).getDeclaringClass(); 143 final MethodType type = MethodType.methodType(rtype, ptypes);
|
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/lookup/ |
H A D | Lookup.java | 224 private static MethodHandle findOwnMH(final String name, final Class<?> rtype, final Class<?>... types) { argument 225 return MH.findStatic(MethodHandles.lookup(), Lookup.class, name, MH.type(rtype, types));
|
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/ |
H A D | NativeStrictArguments.java | 151 private static MethodHandle findOwnMH(final String name, final Class<?> rtype, final Class<?>... types) { argument 152 return MH.findStatic(MethodHandles.lookup(), NativeStrictArguments.class, name, MH.type(rtype, types));
|
/openjdk9/hotspot/src/share/vm/opto/ |
H A D | doCall.cpp | 633 ciType* rtype = cg->method()->return_type(); local 638 if (ctype != rtype) { 639 BasicType rt = rtype->basic_type(); 652 const TypeOopPtr* arg_type = TypeOopPtr::make_from_klass(rtype->as_klass()); 668 rtype = ctype; 676 assert(!rtype->is_loaded() || !ctype->is_loaded() || rtype == ctype, 677 "mismatched return types: rtype=%s, ctype=%s", rtype->name(), ctype->name()); 682 if (!rtype [all...] |