/openjdk10/jdk/src/java.base/share/classes/java/lang/invoke/ |
H A D | MethodTypeForm.java | 53 final MethodType basicType; // the canonical erasure, with primitives simplified field in class:MethodTypeForm 102 public MethodType basicType() { method in class:MethodTypeForm 103 return basicType; 108 assert(erasedType == basicType) 109 : "erasedType: " + erasedType + " != basicType: " + basicType; 201 this.basicType = erasedType; 203 this.basicType = MethodType.makeImpl(bt, bpts, true); 205 MethodTypeForm that = this.basicType.form(); 255 assert(basicType [all...] |
H A D | Invokers.java | 82 MethodType basicType = targetType.basicType(); 83 if (basicType != targetType) { 85 return setCachedInvoker(INV_BASIC, basicType.invokers().basicInvoker()); 87 invoker = basicType.form().cachedMethodHandle(MethodTypeForm.MH_BASIC_INV); 89 MemberName method = invokeBasicMethod(basicType); 92 invoker = basicType.form().setCachedMethodHandle(MethodTypeForm.MH_BASIC_INV, invoker); 156 /*non-public*/ static MemberName invokeBasicMethod(MethodType basicType) { argument 157 assert(basicType == basicType [all...] |
H A D | CallSite.java | 262 MethodType basicType = targetType.basicType(); 263 MethodHandle invoker = basicType.form().cachedMethodHandle(MethodTypeForm.MH_UNINIT_CS); 265 invoker = uninitializedCallSiteHandle().asType(basicType); 266 invoker = basicType.form().setCachedMethodHandle(MethodTypeForm.MH_UNINIT_CS, invoker);
|
H A D | MethodHandleImpl.java | 272 MethodType basicSrcType = srcType.basicType(); 273 MethodType midType = target.type().basicType(); 291 LambdaForm form2 = mh.editor().filterArgumentForm(1+i, BasicType.basicType(newType)); 311 LambdaForm form2 = mh.editor().filterReturnForm(BasicType.basicType(newType), false); 314 LambdaForm form2 = mh.editor().filterReturnForm(BasicType.basicType(newType), true); 346 MethodType lambdaType = srcType.basicType().invokerType(); 386 conv = new Name(LambdaForm.constantZero(BasicType.basicType(srcType.returnType()))); 723 MethodType basicType = type.basicType(); 724 LambdaForm form = makeGuardWithTestForm(basicType); 897 makeGuardWithTestForm(MethodType basicType) argument 972 makeGuardWithCatchForm(MethodType basicType) argument 1868 makeLoopForm(MethodType basicType, BasicType[] localVarTypes) argument 2101 makeTryFinallyForm(MethodType basicType) argument [all...] |
H A D | LambdaForm.java | 175 static BasicType basicType(byte type) { method in class:LambdaForm.BasicType 178 static BasicType basicType(char type) { method in class:LambdaForm.BasicType 196 static BasicType basicType(Wrapper type) { method in class:LambdaForm.BasicType 198 return basicType(c); 200 static BasicType basicType(Class<?> type) { method in class:LambdaForm.BasicType 202 return basicType(Wrapper.forPrimitiveType(type)); 207 btypes[i] = basicType(types.charAt(i)); 236 return basicType(type).btChar; 242 ords[i] = (byte)basicType(types[i]).ordinal(); 422 Name zero = new Name(constantZero(basicType(m [all...] |
H A D | InvokerBytecodeGenerator.java | 525 assert(basicType(pclass) == ptype); // boxing/unboxing handled by caller 645 case GENERIC_LINKER: return resolveFrom(name, invokerType.basicType(), Invokers.Holder.class); 904 mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, MH, "invokeBasic", type.basicType().toMethodDescriptorString(), false); 1164 mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, MH, "invokeBasic", type.basicType().toMethodDescriptorString(), false); 1186 mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, MH, "invokeBasic", catcherType.basicType().toMethodDescriptorString(), false); 1275 String cleanupDesc = cleanupType.basicType().toMethodDescriptorString(); 1284 mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, MH, "invokeBasic", type.basicType().toMethodDescriptorString(), false); 1308 emitZero(BasicType.basicType(returnType)); // load default for result 1453 emitStoreInsn(BasicType.basicType(cInitType.returnType()), firstLoopStateIndex + state); 1471 emitStoreInsn(BasicType.basicType(stepTyp [all...] |
H A D | MethodHandle.java | 1139 lform = mh.editor().collectArgumentsForm(1 + collectArgPos, newArray.type().basicType()); 1490 assert(type().basicType().isViewableAs(newType.basicType(), true))
|
H A D | LambdaFormEditor.java | 432 assert(BasicType.basicType(mh.type().parameterType(pos)) == bt); 514 BasicType bt = basicType(elementType); 558 return filterArgumentForm(pos, basicType(collectorType.parameterType(0))); 581 BasicType argType = basicType(elementType); 653 assert(combinerType == combinerType.basicType()); 677 newParams[i] = new Name(pos + i, basicType(combinerType.parameterType(i))); 716 assert(combinerType == combinerType.basicType()); 737 assert (basicType(combinerType.parameterType(i)) == lambdaForm.parameterType(1 + argPositions[i])); 743 assert (basicType(combinerType.parameterType(i)) == lambdaForm.parameterType(1 + argPositions[i]));
|
H A D | DelegatingMethodHandle.java | 110 MethodType mtype = target.type().basicType();
|
H A D | DirectMethodHandle.java | 155 * the same basicType and refKind. 159 MethodType mtype = m.getInvocationType().basicType(); 178 .equals(m.getInvocationType().basicType())) 179 : Arrays.asList(m, m.getInvocationType().basicType(), lform, lform.methodType()); 529 * the same basicType and refKind. 552 .equals(m.getInvocationType().basicType())) 553 : Arrays.asList(m, m.getInvocationType().basicType(), lform, lform.methodType()); 655 mtype = mtype.basicType(); // erase short to int, etc.
|
H A D | MethodHandleNatives.java | 423 final MethodType sigType = mtype.basicType();
|
H A D | MethodHandles.java | 3174 form = form.editor().addArgumentForm(1 + insPos, BasicType.basicType(ptype)); 3374 LambdaForm lform = LambdaForm.identityForm(BasicType.basicType(ptype)); 3392 LambdaForm lform = LambdaForm.zeroForm(BasicType.basicType(rtype)); 3541 lform = lform.editor().addArgumentForm(insertFormArg++, BasicType.basicType(ptype)); 3815 LambdaForm lform = result.editor().filterArgumentForm(1 + pos, BasicType.basicType(newParamType)); 3967 lform = result.editor().collectArgumentsForm(1 + pos, collectorType.basicType()); 4055 BasicType rtype = BasicType.basicType(filterType.returnType()); 4239 LambdaForm lform = result.editor().foldArgumentsForm(1 + pos, dropResult, combinerType.basicType()); 4261 LambdaForm lform = result.editor().foldArgumentsForm(1 + pos, dropResult, combinerType.basicType(), argPositions);
|
H A D | BoundMethodHandle.java | 375 return extendWith(BasicType.basicType(type)); 843 ptypes[i + 2] = BasicType.basicType(types.charAt(i)).basicTypeClass();
|
H A D | MethodType.java | 650 /*non-public*/ MethodType basicType() { method in class:MethodType 651 return form.basicType();
|
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/ |
H A D | ConstantTag.java | 102 public BasicType basicType() { method in class:ConstantTag
|
/openjdk10/jdk/src/java.management/share/classes/sun/management/ |
H A D | MappedMXBeanType.java | 195 final Class<?> basicType; field in class:MappedMXBeanType.BasicMXBeanType 197 this.basicType = c; 204 return basicType; 208 return basicType.getName();
|
/openjdk10/jdk/test/java/lang/invoke/ |
H A D | PrivateInvokeTest.java | 85 private static MethodType basicType(MethodType mtype) { method in class:PrivateInvokeTest 349 MethodType btype = basicType(mtype);
|
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/interpreter/ |
H A D | BytecodeLoadConstant.java | 68 return tag.basicType();
|
/openjdk10/hotspot/test/testlibrary/jittester/src/jdk/test/lib/jittester/visitors/ |
H A D | ByteCodeVisitor.java | 130 Type basicType = arrayType.type; 135 if (basicType.equals(TypeList.BOOLEAN)) { 137 } else if (basicType.equals(TypeList.BYTE)) { 139 } else if (basicType.equals(TypeList.CHAR)) { 141 } else if (basicType.equals(TypeList.SHORT)) { 143 } else if (basicType.equals(TypeList.INT)) { 145 } else if (basicType.equals(TypeList.LONG)) { 147 } else if (basicType.equals(TypeList.FLOAT)) { 149 } else if (basicType.equals(TypeList.DOUBLE)) { 152 currentMV.visitTypeInsn(Opcodes.ANEWARRAY, asInternalName(basicType [all...] |
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/ |
H A D | JavacParser.java | 1400 t = bracketsSuffix(bracketsOpt(basicType())); 1794 JCPrimitiveTypeTree basicType() { method in class:JavacParser 2078 return arrayCreatorRest(newpos, basicType()); 2080 return arrayCreatorRest(newpos, toP(F.at(newAnnotations.head.pos).AnnotatedType(newAnnotations, basicType())));
|