public class jdk.internal.foreign.abi.SharedUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.foreign.abi.SharedUtils
super_class: java.lang.Object
{
private static final java.lang.invoke.MethodHandle MH_ALLOC_BUFFER;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle MH_BASEADDRESS;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle MH_BUFFER_COPY;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final jdk.internal.foreign.abi.SharedUtils$Allocator DEFAULT_ALLOCATOR;
descriptor: Ljdk/internal/foreign/abi/SharedUtils$Allocator;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$jdk$internal$foreign$CABI;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=9, locals=1, args_size=0
0: invokedynamic allocate()Ljdk/internal/foreign/abi/SharedUtils$Allocator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(JJ)Ljdk/incubator/foreign/MemorySegment;
jdk/incubator/foreign/MemorySegment.allocateNative(JJ)Ljdk/incubator/foreign/MemorySegment; (6 itf)
(JJ)Ljdk/incubator/foreign/MemorySegment;
putstatic jdk.internal.foreign.abi.SharedUtils.DEFAULT_ALLOCATOR:Ljdk/internal/foreign/abi/SharedUtils$Allocator;
1: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
astore 0
start local 0 2: aload 0
ldc Ljdk/internal/foreign/abi/SharedUtils;
ldc "allocateNative"
3: ldc Ljdk/incubator/foreign/MemorySegment;
ldc Ljdk/incubator/foreign/MemoryLayout;
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
4: invokevirtual java.lang.invoke.MethodHandles$Lookup.findStatic:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.internal.foreign.abi.SharedUtils.MH_ALLOC_BUFFER:Ljava/lang/invoke/MethodHandle;
5: aload 0
ldc Ljdk/incubator/foreign/MemorySegment;
ldc "address"
6: ldc Ljdk/incubator/foreign/MemoryAddress;
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
7: invokevirtual java.lang.invoke.MethodHandles$Lookup.findVirtual:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.internal.foreign.abi.SharedUtils.MH_BASEADDRESS:Ljava/lang/invoke/MethodHandle;
8: aload 0
ldc Ljdk/internal/foreign/abi/SharedUtils;
ldc "bufferCopy"
9: ldc Ljdk/incubator/foreign/MemoryAddress;
ldc Ljdk/incubator/foreign/MemoryAddress;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljdk/incubator/foreign/MemorySegment;
aastore
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
10: invokevirtual java.lang.invoke.MethodHandles$Lookup.findStatic:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.internal.foreign.abi.SharedUtils.MH_BUFFER_COPY:Ljava/lang/invoke/MethodHandle;
end local 0 11: goto 14
StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
12: astore 0
start local 0 13: new java.lang.BootstrapMethodError
dup
aload 0
invokespecial java.lang.BootstrapMethodError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 14: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
2 11 0 lookup Ljava/lang/invoke/MethodHandles$Lookup;
13 14 0 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
1 11 12 Class java.lang.ReflectiveOperationException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/foreign/abi/SharedUtils;
private static jdk.incubator.foreign.MemorySegment allocateNative(jdk.incubator.foreign.MemoryLayout);
descriptor: (Ljdk/incubator/foreign/MemoryLayout;)Ljdk/incubator/foreign/MemorySegment;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.incubator.foreign.MemorySegment.allocateNative:(Ljdk/incubator/foreign/MemoryLayout;)Ljdk/incubator/foreign/MemorySegment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 layout Ljdk/incubator/foreign/MemoryLayout;
MethodParameters:
Name Flags
layout
public static long align(jdk.incubator.foreign.MemoryLayout, boolean, long);
descriptor: (Ljdk/incubator/foreign/MemoryLayout;ZJ)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: lload 2
aload 0
iload 1
invokestatic jdk.internal.foreign.abi.SharedUtils.alignment:(Ljdk/incubator/foreign/MemoryLayout;Z)J
invokestatic jdk.internal.foreign.abi.SharedUtils.alignUp:(JJ)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 t Ljdk/incubator/foreign/MemoryLayout;
0 1 1 isVar Z
0 1 2 addr J
MethodParameters:
Name Flags
t
isVar
addr
public static long alignUp(long, long);
descriptor: (JJ)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 2 0: lload 0
lconst_1
lsub
lload 2
lconst_1
lsub
lor
lconst_1
ladd
lreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 addr J
0 1 2 alignment J
MethodParameters:
Name Flags
addr
alignment
public static long alignment(jdk.incubator.foreign.MemoryLayout, boolean);
descriptor: (Ljdk/incubator/foreign/MemoryLayout;Z)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof jdk.incubator.foreign.ValueLayout
ifeq 2
1: aload 0
checkcast jdk.incubator.foreign.ValueLayout
invokestatic jdk.internal.foreign.abi.SharedUtils.alignmentOfScalar:(Ljdk/incubator/foreign/ValueLayout;)J
lreturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof jdk.incubator.foreign.SequenceLayout
ifeq 4
3: aload 0
checkcast jdk.incubator.foreign.SequenceLayout
iload 1
invokestatic jdk.internal.foreign.abi.SharedUtils.alignmentOfArray:(Ljdk/incubator/foreign/SequenceLayout;Z)J
lreturn
4: StackMap locals:
StackMap stack:
aload 0
instanceof jdk.incubator.foreign.GroupLayout
ifeq 6
5: aload 0
checkcast jdk.incubator.foreign.GroupLayout
invokestatic jdk.internal.foreign.abi.SharedUtils.alignmentOfContainer:(Ljdk/incubator/foreign/GroupLayout;)J
lreturn
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface jdk.incubator.foreign.MemoryLayout.isPadding:()Z
ifeq 8
7: lconst_1
lreturn
8: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 t Ljdk/incubator/foreign/MemoryLayout;
0 9 1 isVar Z
MethodParameters:
Name Flags
t
isVar
private static long alignmentOfScalar(jdk.incubator.foreign.ValueLayout);
descriptor: (Ljdk/incubator/foreign/ValueLayout;)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.foreign.ValueLayout.byteSize:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 st Ljdk/incubator/foreign/ValueLayout;
MethodParameters:
Name Flags
st
private static long alignmentOfArray(jdk.incubator.foreign.SequenceLayout, boolean);
descriptor: (Ljdk/incubator/foreign/SequenceLayout;Z)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.incubator.foreign.SequenceLayout.elementCount:()Ljava/util/OptionalLong;
invokevirtual java.util.OptionalLong.orElseThrow:()J
lconst_0
lcmp
ifne 2
1: ldc 16
lreturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.incubator.foreign.SequenceLayout.byteSize:()J
ldc 16
lcmp
iflt 4
iload 1
ifeq 4
3: ldc 16
lreturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.incubator.foreign.SequenceLayout.elementLayout:()Ljdk/incubator/foreign/MemoryLayout;
astore 2
start local 2 5: aload 2
iconst_0
invokestatic jdk.internal.foreign.abi.SharedUtils.alignment:(Ljdk/incubator/foreign/MemoryLayout;Z)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ar Ljdk/incubator/foreign/SequenceLayout;
0 6 1 isVar Z
5 6 2 elementType Ljdk/incubator/foreign/MemoryLayout;
MethodParameters:
Name Flags
ar
isVar
private static long alignmentOfContainer(jdk.incubator.foreign.GroupLayout);
descriptor: (Ljdk/incubator/foreign/GroupLayout;)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.foreign.GroupLayout.memberLayouts:()Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic applyAsLong()Ljava/util/function/ToLongFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)J
jdk/internal/foreign/abi/SharedUtils.lambda$1(Ljdk/incubator/foreign/MemoryLayout;)J (6)
(Ljdk/incubator/foreign/MemoryLayout;)J
invokeinterface java.util.stream.Stream.mapToLong:(Ljava/util/function/ToLongFunction;)Ljava/util/stream/LongStream;
invokeinterface java.util.stream.LongStream.max:()Ljava/util/OptionalLong;
lconst_1
invokevirtual java.util.OptionalLong.orElse:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ct Ljdk/incubator/foreign/GroupLayout;
MethodParameters:
Name Flags
ct
public static java.lang.invoke.MethodHandle adaptDowncallForIMR(java.lang.invoke.MethodHandle, jdk.incubator.foreign.FunctionDescriptor);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljdk/incubator/foreign/FunctionDescriptor;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "return expected to be void for in memory returns"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
iconst_0
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
ldc Ljdk/incubator/foreign/MemoryAddress;
if_acmpeq 4
3: new java.lang.IllegalArgumentException
dup
ldc "MemoryAddress expected as first param"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.incubator.foreign.FunctionDescriptor.returnLayout:()Ljava/util/Optional;
invokevirtual java.util.Optional.isEmpty:()Z
ifeq 6
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Return layout needed: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
ldc Ljdk/incubator/foreign/MemorySegment;
invokestatic java.lang.invoke.MethodHandles.identity:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
astore 2
start local 2 7: aload 2
iconst_1
aload 0
invokestatic java.lang.invoke.MethodHandles.collectArguments:(Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 0
8: aload 0
iconst_1
getstatic jdk.internal.foreign.abi.SharedUtils.MH_BASEADDRESS:Ljava/lang/invoke/MethodHandle;
invokestatic java.lang.invoke.MethodHandles.collectArguments:(Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 0
9: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 3
start local 3 10: aload 3
iconst_0
iconst_1
invokevirtual java.lang.invoke.MethodType.dropParameterTypes:(II)Ljava/lang/invoke/MethodType;
astore 4
start local 4 11: iconst_m1
aload 4
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
invokestatic java.util.stream.IntStream.range:(II)Ljava/util/stream/IntStream;
invokeinterface java.util.stream.IntStream.toArray:()[I
astore 5
start local 5 12: aload 5
iconst_0
iconst_0
iastore
13: aload 0
aload 4
aload 5
invokestatic java.lang.invoke.MethodHandles.permuteArguments:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;[I)Ljava/lang/invoke/MethodHandle;
astore 0
14: aload 0
iconst_0
getstatic jdk.internal.foreign.abi.SharedUtils.MH_ALLOC_BUFFER:Ljava/lang/invoke/MethodHandle;
iconst_0
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual jdk.incubator.foreign.FunctionDescriptor.returnLayout:()Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
aastore
invokestatic java.lang.invoke.MethodHandles.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
invokestatic java.lang.invoke.MethodHandles.collectArguments:(Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 0
15: aload 0
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 handle Ljava/lang/invoke/MethodHandle;
0 16 1 cDesc Ljdk/incubator/foreign/FunctionDescriptor;
7 16 2 ret Ljava/lang/invoke/MethodHandle;
10 16 3 oldType Ljava/lang/invoke/MethodType;
11 16 4 newType Ljava/lang/invoke/MethodType;
12 16 5 reorder [I
MethodParameters:
Name Flags
handle
cDesc
public static java.lang.invoke.MethodHandle adaptUpcallForIMR(java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
ldc Ljdk/incubator/foreign/MemorySegment;
if_acmpeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "Must return MemorySegment for IMR"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic jdk.internal.foreign.abi.SharedUtils.MH_BUFFER_COPY:Ljava/lang/invoke/MethodHandle;
iconst_1
aload 0
invokestatic java.lang.invoke.MethodHandles.collectArguments:(Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 0
3: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 target Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
target
private static jdk.incubator.foreign.MemoryAddress bufferCopy(jdk.incubator.foreign.MemoryAddress, jdk.incubator.foreign.MemorySegment);
descriptor: (Ljdk/incubator/foreign/MemoryAddress;Ljdk/incubator/foreign/MemorySegment;)Ljdk/incubator/foreign/MemoryAddress;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface jdk.incubator.foreign.MemoryAddress.toRawLongValue:()J
aload 1
invokeinterface jdk.incubator.foreign.MemorySegment.byteSize:()J
invokestatic jdk.internal.foreign.MemoryAddressImpl.ofLongUnchecked:(JJ)Ljdk/incubator/foreign/MemorySegment;
aload 1
invokeinterface jdk.incubator.foreign.MemorySegment.copyFrom:(Ljdk/incubator/foreign/MemorySegment;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dest Ljdk/incubator/foreign/MemoryAddress;
0 2 1 buffer Ljdk/incubator/foreign/MemorySegment;
MethodParameters:
Name Flags
dest
buffer
public static void checkCompatibleType(java.lang.Class<?>, jdk.incubator.foreign.MemoryLayout, );
descriptor: (Ljava/lang/Class;Ljdk/incubator/foreign/MemoryLayout;J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 3
1: aload 0
aload 1
invokestatic jdk.internal.foreign.Utils.checkPrimitiveCarrierCompat:(Ljava/lang/Class;Ljdk/incubator/foreign/MemoryLayout;)V
2: goto 11
StackMap locals:
StackMap stack:
3: aload 0
ldc Ljdk/incubator/foreign/MemoryAddress;
if_acmpne 7
4: aload 1
ldc Ljdk/incubator/foreign/ValueLayout;
invokestatic jdk.internal.foreign.Utils.checkLayoutType:(Ljdk/incubator/foreign/MemoryLayout;Ljava/lang/Class;)V
5: aload 1
invokeinterface jdk.incubator.foreign.MemoryLayout.bitSize:()J
lload 2
lcmp
ifeq 11
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Address size mismatch: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " != "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokeinterface jdk.incubator.foreign.MemoryLayout.bitSize:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
ldc Ljdk/incubator/foreign/MemorySegment;
if_acmpne 10
8: aload 1
ldc Ljdk/incubator/foreign/GroupLayout;
invokestatic jdk.internal.foreign.Utils.checkLayoutType:(Ljdk/incubator/foreign/MemoryLayout;Ljava/lang/Class;)V
9: goto 11
10: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported carrier: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 carrier Ljava/lang/Class<*>;
0 12 1 layout Ljdk/incubator/foreign/MemoryLayout;
0 12 2 addressSize J
Signature: (Ljava/lang/Class<*>;Ljdk/incubator/foreign/MemoryLayout;J)V
MethodParameters:
Name Flags
carrier
layout
addressSize
public static void checkFunctionTypes(java.lang.invoke.MethodType, jdk.incubator.foreign.FunctionDescriptor, long);
descriptor: (Ljava/lang/invoke/MethodType;Ljdk/incubator/foreign/FunctionDescriptor;J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: aload 1
invokevirtual jdk.incubator.foreign.FunctionDescriptor.returnLayout:()Ljava/util/Optional;
invokevirtual java.util.Optional.isEmpty:()Z
if_icmpeq 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Return type mismatch: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " != "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.incubator.foreign.FunctionDescriptor.argumentLayouts:()Ljava/util/List;
astore 4
start local 4 5: aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
aload 4
invokeinterface java.util.List.size:()I
if_icmpeq 7
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Arity mismatch: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " != "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.util.List
StackMap stack:
aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
istore 5
start local 5 8: iconst_0
istore 6
start local 6 9: goto 12
10: StackMap locals: int int
StackMap stack:
aload 0
iload 6
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
aload 4
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.incubator.foreign.MemoryLayout
lload 2
invokestatic jdk.internal.foreign.abi.SharedUtils.checkCompatibleType:(Ljava/lang/Class;Ljdk/incubator/foreign/MemoryLayout;J)V
11: iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
iload 5
if_icmplt 10
end local 6 13: aload 1
invokevirtual jdk.incubator.foreign.FunctionDescriptor.returnLayout:()Ljava/util/Optional;
aload 0
lload 2
invokedynamic accept(Ljava/lang/invoke/MethodType;J)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/internal/foreign/abi/SharedUtils.lambda$2(Ljava/lang/invoke/MethodType;JLjdk/incubator/foreign/MemoryLayout;)V (6)
(Ljdk/incubator/foreign/MemoryLayout;)V
invokevirtual java.util.Optional.ifPresent:(Ljava/util/function/Consumer;)V
14: return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 mt Ljava/lang/invoke/MethodType;
0 15 1 cDesc Ljdk/incubator/foreign/FunctionDescriptor;
0 15 2 addressSize J
5 15 4 argLayouts Ljava/util/List<Ljdk/incubator/foreign/MemoryLayout;>;
8 15 5 paramCount I
9 13 6 i I
MethodParameters:
Name Flags
mt
cDesc
addressSize
public static java.lang.Class<?> primitiveCarrierForSize(long);
descriptor: (J)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: lload 0
lconst_1
lcmp
ifne 2
1: getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
areturn
2: StackMap locals:
StackMap stack:
lload 0
ldc 2
lcmp
ifne 4
3: getstatic java.lang.Short.TYPE:Ljava/lang/Class;
areturn
4: StackMap locals:
StackMap stack:
lload 0
ldc 4
lcmp
ifgt 6
5: getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
areturn
6: StackMap locals:
StackMap stack:
lload 0
ldc 8
lcmp
ifgt 8
7: getstatic java.lang.Long.TYPE:Ljava/lang/Class;
areturn
8: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Size too large: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 0
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 size J
Signature: (J)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
size
public static jdk.incubator.foreign.CLinker getSystemLinker();
descriptor: ()Ljdk/incubator/foreign/CLinker;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: invokestatic jdk.internal.foreign.abi.SharedUtils.$SWITCH_TABLE$jdk$internal$foreign$CABI:()[I
invokestatic jdk.internal.foreign.CABI.current:()Ljdk/internal/foreign/CABI;
invokevirtual jdk.internal.foreign.CABI.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 2
2: 1
3: 3
default: 4
}
1: StackMap locals:
StackMap stack:
invokestatic jdk.internal.foreign.abi.x64.windows.Windowsx64Linker.getInstance:()Ljdk/internal/foreign/abi/x64/windows/Windowsx64Linker;
goto 5
2: StackMap locals:
StackMap stack:
invokestatic jdk.internal.foreign.abi.x64.sysv.SysVx64Linker.getInstance:()Ljdk/internal/foreign/abi/x64/sysv/SysVx64Linker;
goto 5
3: StackMap locals:
StackMap stack:
invokestatic jdk.internal.foreign.abi.aarch64.AArch64Linker.getInstance:()Ljdk/internal/foreign/abi/aarch64/AArch64Linker;
goto 5
StackMap locals:
StackMap stack:
4: new java.lang.IncompatibleClassChangeError
dup
invokespecial java.lang.IncompatibleClassChangeError.<init>:()V
athrow
5: StackMap locals:
StackMap stack: jdk.incubator.foreign.CLinker
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String toJavaStringInternal(jdk.incubator.foreign.MemorySegment, long, java.nio.charset.Charset);
descriptor: (Ljdk/incubator/foreign/MemorySegment;JLjava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
invokestatic jdk.internal.foreign.abi.SharedUtils.strlen:(Ljdk/incubator/foreign/MemorySegment;J)I
istore 4
start local 4 1: iload 4
newarray 8
astore 5
start local 5 2: aload 5
invokestatic jdk.incubator.foreign.MemorySegment.ofArray:([B)Ljdk/incubator/foreign/MemorySegment;
3: aload 0
lload 1
iload 4
i2l
invokeinterface jdk.incubator.foreign.MemorySegment.asSlice:(JJ)Ljdk/incubator/foreign/MemorySegment;
invokeinterface jdk.incubator.foreign.MemorySegment.copyFrom:(Ljdk/incubator/foreign/MemorySegment;)V
4: new java.lang.String
dup
aload 5
aload 3
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
areturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 segment Ljdk/incubator/foreign/MemorySegment;
0 5 1 start J
0 5 3 charset Ljava/nio/charset/Charset;
1 5 4 len I
2 5 5 bytes [B
MethodParameters:
Name Flags
segment
start
charset
private static int strlen(jdk.incubator.foreign.MemorySegment, long);
descriptor: (Ljdk/incubator/foreign/MemorySegment;J)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 3
start local 3 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
lload 1
iload 3
i2l
ladd
invokestatic jdk.incubator.foreign.MemoryAccess.getByteAtOffset:(Ljdk/incubator/foreign/MemorySegment;J)B
istore 4
start local 4 3: iload 4
ifne 5
4: iload 3
ireturn
end local 4 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
ifge 2
end local 3 7: new java.lang.IllegalArgumentException
dup
ldc "String too large"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 segment Ljdk/incubator/foreign/MemorySegment;
0 8 1 start J
1 7 3 offset I
3 5 4 curr B
MethodParameters:
Name Flags
segment
start
public static jdk.incubator.foreign.MemoryAddress allocateMemoryInternal(long);
descriptor: (J)Ljdk/incubator/foreign/MemoryAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic jdk.internal.foreign.abi.SharedUtils$AllocHolder.MH_MALLOC:Ljava/lang/invoke/MethodHandle;
lload 0
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(J)Ljdk/incubator/foreign/MemoryAddress;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 3: new java.lang.RuntimeException
dup
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 size J
3 4 2 th Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
size
public static void freeMemoryInternal(jdk.incubator.foreign.MemoryAddress);
descriptor: (Ljdk/incubator/foreign/MemoryAddress;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic jdk.internal.foreign.abi.SharedUtils$AllocHolder.MH_FREE:Ljava/lang/invoke/MethodHandle;
aload 0
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/incubator/foreign/MemoryAddress;)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 1
start local 1 3: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 addr Ljdk/incubator/foreign/MemoryAddress;
3 4 1 th Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
addr
public static jdk.incubator.foreign.CLinker$VaList newVaList(java.util.function.Consumer<jdk.incubator.foreign.CLinker$VaList$Builder>, jdk.internal.foreign.abi.SharedUtils$Allocator);
descriptor: (Ljava/util/function/Consumer;Ljdk/internal/foreign/abi/SharedUtils$Allocator;)Ljdk/incubator/foreign/CLinker$VaList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.internal.foreign.abi.SharedUtils.$SWITCH_TABLE$jdk$internal$foreign$CABI:()[I
invokestatic jdk.internal.foreign.CABI.current:()Ljdk/internal/foreign/CABI;
invokevirtual jdk.internal.foreign.CABI.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 2
2: 1
3: 3
default: 4
}
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.internal.foreign.abi.x64.windows.Windowsx64Linker.newVaList:(Ljava/util/function/Consumer;Ljdk/internal/foreign/abi/SharedUtils$Allocator;)Ljdk/incubator/foreign/CLinker$VaList;
goto 5
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.internal.foreign.abi.x64.sysv.SysVx64Linker.newVaList:(Ljava/util/function/Consumer;Ljdk/internal/foreign/abi/SharedUtils$Allocator;)Ljdk/incubator/foreign/CLinker$VaList;
goto 5
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.internal.foreign.abi.aarch64.AArch64Linker.newVaList:(Ljava/util/function/Consumer;Ljdk/internal/foreign/abi/SharedUtils$Allocator;)Ljdk/incubator/foreign/CLinker$VaList;
goto 5
StackMap locals:
StackMap stack:
4: new java.lang.IncompatibleClassChangeError
dup
invokespecial java.lang.IncompatibleClassChangeError.<init>:()V
athrow
5: StackMap locals:
StackMap stack: jdk.incubator.foreign.CLinker$VaList
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 actions Ljava/util/function/Consumer<Ljdk/incubator/foreign/CLinker$VaList$Builder;>;
0 6 1 allocator Ljdk/internal/foreign/abi/SharedUtils$Allocator;
Signature: (Ljava/util/function/Consumer<Ljdk/incubator/foreign/CLinker$VaList$Builder;>;Ljdk/internal/foreign/abi/SharedUtils$Allocator;)Ljdk/incubator/foreign/CLinker$VaList;
MethodParameters:
Name Flags
actions
allocator
public static java.lang.invoke.VarHandle vhPrimitiveOrAddress(java.lang.Class<?>, jdk.incubator.foreign.MemoryLayout);
descriptor: (Ljava/lang/Class;Ljdk/incubator/foreign/MemoryLayout;)Ljava/lang/invoke/VarHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljdk/incubator/foreign/MemoryAddress;
if_acmpne 2
1: aload 1
aload 1
invokeinterface jdk.incubator.foreign.MemoryLayout.byteSize:()J
invokestatic jdk.internal.foreign.abi.SharedUtils.primitiveCarrierForSize:(J)Ljava/lang/Class;
iconst_0
anewarray jdk.incubator.foreign.MemoryLayout$PathElement
invokeinterface jdk.incubator.foreign.MemoryLayout.varHandle:(Ljava/lang/Class;[Ljdk/incubator/foreign/MemoryLayout$PathElement;)Ljava/lang/invoke/VarHandle;
invokestatic jdk.incubator.foreign.MemoryHandles.asAddressVarHandle:(Ljava/lang/invoke/VarHandle;)Ljava/lang/invoke/VarHandle;
goto 3
2: StackMap locals:
StackMap stack:
aload 1
aload 0
iconst_0
anewarray jdk.incubator.foreign.MemoryLayout$PathElement
invokeinterface jdk.incubator.foreign.MemoryLayout.varHandle:(Ljava/lang/Class;[Ljdk/incubator/foreign/MemoryLayout$PathElement;)Ljava/lang/invoke/VarHandle;
3: StackMap locals:
StackMap stack: java.lang.invoke.VarHandle
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 carrier Ljava/lang/Class<*>;
0 4 1 layout Ljdk/incubator/foreign/MemoryLayout;
Signature: (Ljava/lang/Class<*>;Ljdk/incubator/foreign/MemoryLayout;)Ljava/lang/invoke/VarHandle;
MethodParameters:
Name Flags
carrier
layout
public static jdk.incubator.foreign.CLinker$VaList newVaListOfAddress(jdk.incubator.foreign.MemoryAddress);
descriptor: (Ljdk/incubator/foreign/MemoryAddress;)Ljdk/incubator/foreign/CLinker$VaList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic jdk.internal.foreign.abi.SharedUtils.$SWITCH_TABLE$jdk$internal$foreign$CABI:()[I
invokestatic jdk.internal.foreign.CABI.current:()Ljdk/internal/foreign/CABI;
invokevirtual jdk.internal.foreign.CABI.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 2
2: 1
3: 3
default: 4
}
1: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.internal.foreign.abi.x64.windows.Windowsx64Linker.newVaListOfAddress:(Ljdk/incubator/foreign/MemoryAddress;)Ljdk/incubator/foreign/CLinker$VaList;
goto 5
2: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.internal.foreign.abi.x64.sysv.SysVx64Linker.newVaListOfAddress:(Ljdk/incubator/foreign/MemoryAddress;)Ljdk/incubator/foreign/CLinker$VaList;
goto 5
3: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.internal.foreign.abi.aarch64.AArch64Linker.newVaListOfAddress:(Ljdk/incubator/foreign/MemoryAddress;)Ljdk/incubator/foreign/CLinker$VaList;
goto 5
StackMap locals:
StackMap stack:
4: new java.lang.IncompatibleClassChangeError
dup
invokespecial java.lang.IncompatibleClassChangeError.<init>:()V
athrow
5: StackMap locals:
StackMap stack: jdk.incubator.foreign.CLinker$VaList
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ma Ljdk/incubator/foreign/MemoryAddress;
MethodParameters:
Name Flags
ma
public static jdk.incubator.foreign.CLinker$VaList emptyVaList();
descriptor: ()Ljdk/incubator/foreign/CLinker$VaList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: invokestatic jdk.internal.foreign.abi.SharedUtils.$SWITCH_TABLE$jdk$internal$foreign$CABI:()[I
invokestatic jdk.internal.foreign.CABI.current:()Ljdk/internal/foreign/CABI;
invokevirtual jdk.internal.foreign.CABI.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 2
2: 1
3: 3
default: 4
}
1: StackMap locals:
StackMap stack:
invokestatic jdk.internal.foreign.abi.x64.windows.Windowsx64Linker.emptyVaList:()Ljdk/incubator/foreign/CLinker$VaList;
goto 5
2: StackMap locals:
StackMap stack:
invokestatic jdk.internal.foreign.abi.x64.sysv.SysVx64Linker.emptyVaList:()Ljdk/incubator/foreign/CLinker$VaList;
goto 5
3: StackMap locals:
StackMap stack:
invokestatic jdk.internal.foreign.abi.aarch64.AArch64Linker.emptyVaList:()Ljdk/incubator/foreign/CLinker$VaList;
goto 5
StackMap locals:
StackMap stack:
4: new java.lang.IncompatibleClassChangeError
dup
invokespecial java.lang.IncompatibleClassChangeError.<init>:()V
athrow
5: StackMap locals:
StackMap stack: jdk.incubator.foreign.CLinker$VaList
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.invoke.MethodType convertVaListCarriers(java.lang.invoke.MethodType, java.lang.Class<?>);
descriptor: (Ljava/lang/invoke/MethodType;Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
anewarray java.lang.Class
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 8
3: StackMap locals: java.lang.Class[] int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
astore 4
start local 4 4: aload 2
iload 3
aload 4
ldc Ljdk/incubator/foreign/CLinker$VaList;
if_acmpne 5
aload 1
goto 6
StackMap locals: java.lang.invoke.MethodType java.lang.Class java.lang.Class[] int java.lang.Class
StackMap stack: java.lang.Class[] int
5: aload 4
StackMap locals: java.lang.invoke.MethodType java.lang.Class java.lang.Class[] int java.lang.Class
StackMap stack: java.lang.Class[] int java.lang.Class
6: aastore
end local 4 7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 2
arraylength
if_icmplt 3
end local 3 9: aload 0
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
aload 2
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 mt Ljava/lang/invoke/MethodType;
0 10 1 carrier Ljava/lang/Class<*>;
1 10 2 params [Ljava/lang/Class;
2 9 3 i I
4 7 4 pType Ljava/lang/Class<*>;
Signature: (Ljava/lang/invoke/MethodType;Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
mt
carrier
public static java.lang.invoke.MethodHandle unboxVaLists(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
ldc Ljdk/incubator/foreign/CLinker$VaList;
if_acmpne 4
3: aload 1
iload 3
iconst_1
anewarray java.lang.invoke.MethodHandle
dup
iconst_0
aload 2
aastore
invokestatic java.lang.invoke.MethodHandles.filterArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 1
4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
if_icmplt 2
end local 3 6: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 type Ljava/lang/invoke/MethodType;
0 7 1 handle Ljava/lang/invoke/MethodHandle;
0 7 2 unboxer Ljava/lang/invoke/MethodHandle;
1 6 3 i I
MethodParameters:
Name Flags
type
handle
unboxer
public static java.lang.invoke.MethodHandle boxVaLists(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 6
3: StackMap locals: java.lang.invoke.MethodType int
StackMap stack:
aload 2
iload 3
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
ldc Ljdk/incubator/foreign/CLinker$VaList;
if_acmpne 5
4: aload 0
iload 3
iconst_1
anewarray java.lang.invoke.MethodHandle
dup
iconst_0
aload 1
aastore
invokestatic java.lang.invoke.MethodHandles.filterArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 0
5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 2
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
if_icmplt 3
end local 3 7: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 handle Ljava/lang/invoke/MethodHandle;
0 8 1 boxer Ljava/lang/invoke/MethodHandle;
1 8 2 type Ljava/lang/invoke/MethodType;
2 7 3 i I
MethodParameters:
Name Flags
handle
boxer
static void checkType(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpeq 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "Invalid operand type: %s. %s expected"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 actualType Ljava/lang/Class<*>;
0 5 1 expectedType Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
actualType
expectedType
public static boolean isTrivial(jdk.incubator.foreign.FunctionDescriptor);
descriptor: (Ljdk/incubator/foreign/FunctionDescriptor;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "abi/trivial"
invokevirtual jdk.incubator.foreign.FunctionDescriptor.attribute:(Ljava/lang/String;)Ljava/util/Optional;
1: ldc Ljava/lang/Boolean;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic apply(Ljava/lang/Class;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/lang/Class.cast(Ljava/lang/Object;)Ljava/lang/Object; (5)
(Ljava/lang/constant/Constable;)Ljava/lang/Boolean;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
2: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
3: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 cDesc Ljdk/incubator/foreign/FunctionDescriptor;
MethodParameters:
Name Flags
cDesc
static void writeOverSized(jdk.incubator.foreign.MemorySegment, java.lang.Class<?>, );
descriptor: (Ljdk/incubator/foreign/MemorySegment;Ljava/lang/Class;Ljava/lang/Object;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpne 3
1: aload 0
aload 2
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokestatic jdk.incubator.foreign.MemoryAccess.setLong:(Ljdk/incubator/foreign/MemorySegment;J)V
2: goto 22
StackMap locals:
StackMap stack:
3: aload 1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 6
4: aload 0
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
i2l
invokestatic jdk.incubator.foreign.MemoryAccess.setLong:(Ljdk/incubator/foreign/MemorySegment;J)V
5: goto 22
StackMap locals:
StackMap stack:
6: aload 1
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpne 9
7: aload 0
aload 2
checkcast java.lang.Short
invokevirtual java.lang.Short.shortValue:()S
i2l
invokestatic jdk.incubator.foreign.MemoryAccess.setLong:(Ljdk/incubator/foreign/MemorySegment;J)V
8: goto 22
StackMap locals:
StackMap stack:
9: aload 1
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpne 12
10: aload 0
aload 2
checkcast java.lang.Character
invokevirtual java.lang.Character.charValue:()C
i2l
invokestatic jdk.incubator.foreign.MemoryAccess.setLong:(Ljdk/incubator/foreign/MemorySegment;J)V
11: goto 22
StackMap locals:
StackMap stack:
12: aload 1
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 15
13: aload 0
aload 2
checkcast java.lang.Byte
invokevirtual java.lang.Byte.byteValue:()B
i2l
invokestatic jdk.incubator.foreign.MemoryAccess.setLong:(Ljdk/incubator/foreign/MemorySegment;J)V
14: goto 22
StackMap locals:
StackMap stack:
15: aload 1
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpne 18
16: aload 0
aload 2
checkcast java.lang.Float
invokevirtual java.lang.Float.floatValue:()F
invokestatic jdk.incubator.foreign.MemoryAccess.setFloat:(Ljdk/incubator/foreign/MemorySegment;F)V
17: goto 22
StackMap locals:
StackMap stack:
18: aload 1
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 21
19: aload 0
aload 2
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
invokestatic jdk.incubator.foreign.MemoryAccess.setDouble:(Ljdk/incubator/foreign/MemorySegment;D)V
20: goto 22
21: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported carrier: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 ptr Ljdk/incubator/foreign/MemorySegment;
0 23 1 type Ljava/lang/Class<*>;
0 23 2 o Ljava/lang/Object;
Signature: (Ljdk/incubator/foreign/MemorySegment;Ljava/lang/Class<*>;Ljava/lang/Object;)V
MethodParameters:
Name Flags
ptr
type
o
static void write(jdk.incubator.foreign.MemorySegment, java.lang.Class<?>, );
descriptor: (Ljdk/incubator/foreign/MemorySegment;Ljava/lang/Class;Ljava/lang/Object;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpne 3
1: aload 0
aload 2
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokestatic jdk.incubator.foreign.MemoryAccess.setLong:(Ljdk/incubator/foreign/MemorySegment;J)V
2: goto 22
StackMap locals:
StackMap stack:
3: aload 1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 6
4: aload 0
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokestatic jdk.incubator.foreign.MemoryAccess.setInt:(Ljdk/incubator/foreign/MemorySegment;I)V
5: goto 22
StackMap locals:
StackMap stack:
6: aload 1
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpne 9
7: aload 0
aload 2
checkcast java.lang.Short
invokevirtual java.lang.Short.shortValue:()S
invokestatic jdk.incubator.foreign.MemoryAccess.setShort:(Ljdk/incubator/foreign/MemorySegment;S)V
8: goto 22
StackMap locals:
StackMap stack:
9: aload 1
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpne 12
10: aload 0
aload 2
checkcast java.lang.Character
invokevirtual java.lang.Character.charValue:()C
invokestatic jdk.incubator.foreign.MemoryAccess.setChar:(Ljdk/incubator/foreign/MemorySegment;C)V
11: goto 22
StackMap locals:
StackMap stack:
12: aload 1
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 15
13: aload 0
aload 2
checkcast java.lang.Byte
invokevirtual java.lang.Byte.byteValue:()B
invokestatic jdk.incubator.foreign.MemoryAccess.setByte:(Ljdk/incubator/foreign/MemorySegment;B)V
14: goto 22
StackMap locals:
StackMap stack:
15: aload 1
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpne 18
16: aload 0
aload 2
checkcast java.lang.Float
invokevirtual java.lang.Float.floatValue:()F
invokestatic jdk.incubator.foreign.MemoryAccess.setFloat:(Ljdk/incubator/foreign/MemorySegment;F)V
17: goto 22
StackMap locals:
StackMap stack:
18: aload 1
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 21
19: aload 0
aload 2
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
invokestatic jdk.incubator.foreign.MemoryAccess.setDouble:(Ljdk/incubator/foreign/MemorySegment;D)V
20: goto 22
21: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported carrier: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 ptr Ljdk/incubator/foreign/MemorySegment;
0 23 1 type Ljava/lang/Class<*>;
0 23 2 o Ljava/lang/Object;
Signature: (Ljdk/incubator/foreign/MemorySegment;Ljava/lang/Class<*>;Ljava/lang/Object;)V
MethodParameters:
Name Flags
ptr
type
o
static read(jdk.incubator.foreign.MemorySegment, java.lang.Class<?>);
descriptor: (Ljdk/incubator/foreign/MemorySegment;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpne 2
1: aload 0
invokestatic jdk.incubator.foreign.MemoryAccess.getLong:(Ljdk/incubator/foreign/MemorySegment;)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 4
3: aload 0
invokestatic jdk.incubator.foreign.MemoryAccess.getInt:(Ljdk/incubator/foreign/MemorySegment;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
4: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpne 6
5: aload 0
invokestatic jdk.incubator.foreign.MemoryAccess.getShort:(Ljdk/incubator/foreign/MemorySegment;)S
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
areturn
6: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpne 8
7: aload 0
invokestatic jdk.incubator.foreign.MemoryAccess.getChar:(Ljdk/incubator/foreign/MemorySegment;)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
areturn
8: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 10
9: aload 0
invokestatic jdk.incubator.foreign.MemoryAccess.getByte:(Ljdk/incubator/foreign/MemorySegment;)B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
areturn
10: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpne 12
11: aload 0
invokestatic jdk.incubator.foreign.MemoryAccess.getFloat:(Ljdk/incubator/foreign/MemorySegment;)F
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
areturn
12: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 14
13: aload 0
invokestatic jdk.incubator.foreign.MemoryAccess.getDouble:(Ljdk/incubator/foreign/MemorySegment;)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
areturn
14: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported carrier: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 ptr Ljdk/incubator/foreign/MemorySegment;
0 15 1 type Ljava/lang/Class<*>;
Signature: (Ljdk/incubator/foreign/MemorySegment;Ljava/lang/Class<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
ptr
type
static int[] $SWITCH_TABLE$jdk$internal$foreign$CABI();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.internal.foreign.abi.SharedUtils.$SWITCH_TABLE$jdk$internal$foreign$CABI:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.internal.foreign.CABI.values:()[Ljdk/internal/foreign/CABI;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.internal.foreign.CABI.AArch64:Ljdk/internal/foreign/CABI;
invokevirtual jdk.internal.foreign.CABI.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.internal.foreign.CABI.SysV:Ljdk/internal/foreign/CABI;
invokevirtual jdk.internal.foreign.CABI.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.internal.foreign.CABI.Win64:Ljdk/internal/foreign/CABI;
invokevirtual jdk.internal.foreign.CABI.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic jdk.internal.foreign.abi.SharedUtils.$SWITCH_TABLE$jdk$internal$foreign$CABI:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
private static long lambda$1(jdk.incubator.foreign.MemoryLayout);
descriptor: (Ljdk/incubator/foreign/MemoryLayout;)J
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic jdk.internal.foreign.abi.SharedUtils.alignment:(Ljdk/incubator/foreign/MemoryLayout;Z)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 t Ljdk/incubator/foreign/MemoryLayout;
private static void lambda$2(java.lang.invoke.MethodType, long, jdk.incubator.foreign.MemoryLayout);
descriptor: (Ljava/lang/invoke/MethodType;JLjdk/incubator/foreign/MemoryLayout;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
start local 3 0: aload 0
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
aload 3
lload 1
invokestatic jdk.internal.foreign.abi.SharedUtils.checkCompatibleType:(Ljava/lang/Class;Ljdk/incubator/foreign/MemoryLayout;J)V
return
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 1 3 rl Ljdk/incubator/foreign/MemoryLayout;
}
SourceFile: "SharedUtils.java"
NestMembers:
jdk.internal.foreign.abi.SharedUtils$AllocHolder jdk.internal.foreign.abi.SharedUtils$Allocator jdk.internal.foreign.abi.SharedUtils$Allocator$1 jdk.internal.foreign.abi.SharedUtils$EmptyVaList jdk.internal.foreign.abi.SharedUtils$SimpleVaArg
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract VaList = jdk.incubator.foreign.CLinker$VaList of jdk.incubator.foreign.CLinker
public abstract Builder = jdk.incubator.foreign.CLinker$VaList$Builder of jdk.incubator.foreign.CLinker$VaList
public abstract PathElement = jdk.incubator.foreign.MemoryLayout$PathElement of jdk.incubator.foreign.MemoryLayout
private AllocHolder = jdk.internal.foreign.abi.SharedUtils$AllocHolder of jdk.internal.foreign.abi.SharedUtils
public abstract Allocator = jdk.internal.foreign.abi.SharedUtils$Allocator of jdk.internal.foreign.abi.SharedUtils
public EmptyVaList = jdk.internal.foreign.abi.SharedUtils$EmptyVaList of jdk.internal.foreign.abi.SharedUtils
public SimpleVaArg = jdk.internal.foreign.abi.SharedUtils$SimpleVaArg of jdk.internal.foreign.abi.SharedUtils