public class jdk.internal.foreign.abi.x64.sysv.SysVx64Linker implements jdk.incubator.foreign.CLinker
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.foreign.abi.x64.sysv.SysVx64Linker
super_class: java.lang.Object
{
public static final int MAX_INTEGER_ARGUMENT_REGISTERS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
public static final int MAX_INTEGER_RETURN_REGISTERS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int MAX_VECTOR_ARGUMENT_REGISTERS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int MAX_VECTOR_RETURN_REGISTERS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int MAX_X87_RETURN_REGISTERS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static jdk.internal.foreign.abi.x64.sysv.SysVx64Linker instance;
descriptor: Ljdk/internal/foreign/abi/x64/sysv/SysVx64Linker;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static final long ADDRESS_SIZE;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 64
private static final java.lang.invoke.MethodHandle MH_unboxVaList;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle MH_boxVaList;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
astore 0
start local 0 1: aload 0
ldc Ljdk/incubator/foreign/CLinker$VaList;
ldc "address"
2: ldc Ljdk/incubator/foreign/MemoryAddress;
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
3: 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.x64.sysv.SysVx64Linker.MH_unboxVaList:Ljava/lang/invoke/MethodHandle;
4: aload 0
ldc Ljdk/internal/foreign/abi/x64/sysv/SysVx64Linker;
ldc "newVaListOfAddress"
5: ldc Ljdk/incubator/foreign/CLinker$VaList;
ldc Ljdk/incubator/foreign/MemoryAddress;
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
6: 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.x64.sysv.SysVx64Linker.MH_boxVaList:Ljava/lang/invoke/MethodHandle;
end local 0 7: goto 10
StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
8: astore 0
start local 0 9: new java.lang.ExceptionInInitializerError
dup
aload 0
invokespecial java.lang.ExceptionInInitializerError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 10: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 7 0 lookup Ljava/lang/invoke/MethodHandles$Lookup;
9 10 0 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 7 8 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/x64/sysv/SysVx64Linker;
public static jdk.internal.foreign.abi.x64.sysv.SysVx64Linker getInstance();
descriptor: ()Ljdk/internal/foreign/abi/x64/sysv/SysVx64Linker;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.internal.foreign.abi.x64.sysv.SysVx64Linker.instance:Ljdk/internal/foreign/abi/x64/sysv/SysVx64Linker;
ifnonnull 2
1: new jdk.internal.foreign.abi.x64.sysv.SysVx64Linker
dup
invokespecial jdk.internal.foreign.abi.x64.sysv.SysVx64Linker.<init>:()V
putstatic jdk.internal.foreign.abi.x64.sysv.SysVx64Linker.instance:Ljdk/internal/foreign/abi/x64/sysv/SysVx64Linker;
2: StackMap locals:
StackMap stack:
getstatic jdk.internal.foreign.abi.x64.sysv.SysVx64Linker.instance:Ljdk/internal/foreign/abi/x64/sysv/SysVx64Linker;
areturn
LocalVariableTable:
Start End Slot Name Signature
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=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.internal.foreign.abi.x64.sysv.SysVVaList.builder:(Ljdk/internal/foreign/abi/SharedUtils$Allocator;)Ljdk/internal/foreign/abi/x64/sysv/SysVVaList$Builder;
astore 2
start local 2 1: aload 0
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
2: aload 2
invokevirtual jdk.internal.foreign.abi.x64.sysv.SysVVaList$Builder.build:()Ljdk/incubator/foreign/CLinker$VaList;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 actions Ljava/util/function/Consumer<Ljdk/incubator/foreign/CLinker$VaList$Builder;>;
0 3 1 allocator Ljdk/internal/foreign/abi/SharedUtils$Allocator;
1 3 2 builder Ljdk/internal/foreign/abi/x64/sysv/SysVVaList$Builder;
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 java.lang.invoke.MethodHandle downcallHandle(jdk.incubator.foreign.Addressable, java.lang.invoke.MethodType, jdk.incubator.foreign.FunctionDescriptor);
descriptor: (Ljdk/incubator/foreign/Addressable;Ljava/lang/invoke/MethodType;Ljdk/incubator/foreign/FunctionDescriptor;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 2
getstatic jdk.internal.foreign.abi.x64.sysv.SysVVaList.CARRIER:Ljava/lang/Class;
invokestatic jdk.internal.foreign.abi.SharedUtils.convertVaListCarriers:(Ljava/lang/invoke/MethodType;Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
astore 4
start local 4 4: aload 1
aload 4
aload 3
invokestatic jdk.internal.foreign.abi.x64.sysv.CallArranger.arrangeDowncall:(Ljdk/incubator/foreign/Addressable;Ljava/lang/invoke/MethodType;Ljdk/incubator/foreign/FunctionDescriptor;)Ljava/lang/invoke/MethodHandle;
astore 5
start local 5 5: aload 2
aload 5
getstatic jdk.internal.foreign.abi.x64.sysv.SysVx64Linker.MH_unboxVaList:Ljava/lang/invoke/MethodHandle;
invokestatic jdk.internal.foreign.abi.SharedUtils.unboxVaLists:(Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 5
6: aload 5
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 7 0 this Ljdk/internal/foreign/abi/x64/sysv/SysVx64Linker;
0 7 1 symbol Ljdk/incubator/foreign/Addressable;
0 7 2 type Ljava/lang/invoke/MethodType;
0 7 3 function Ljdk/incubator/foreign/FunctionDescriptor;
4 7 4 llMt Ljava/lang/invoke/MethodType;
5 7 5 handle Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
symbol
type
function
public jdk.incubator.foreign.MemorySegment upcallStub(java.lang.invoke.MethodHandle, jdk.incubator.foreign.FunctionDescriptor);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljdk/incubator/foreign/FunctionDescriptor;)Ljdk/incubator/foreign/MemorySegment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
getstatic jdk.internal.foreign.abi.x64.sysv.SysVx64Linker.MH_boxVaList:Ljava/lang/invoke/MethodHandle;
invokestatic jdk.internal.foreign.abi.SharedUtils.boxVaLists:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 1
3: aload 1
aload 1
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
aload 2
invokestatic jdk.internal.foreign.abi.x64.sysv.CallArranger.arrangeUpcall:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;Ljdk/incubator/foreign/FunctionDescriptor;)Ljdk/internal/foreign/abi/UpcallHandler;
invokestatic jdk.internal.foreign.abi.UpcallStubs.upcallAddress:(Ljdk/internal/foreign/abi/UpcallHandler;)Ljdk/incubator/foreign/MemorySegment;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/foreign/abi/x64/sysv/SysVx64Linker;
0 4 1 target Ljava/lang/invoke/MethodHandle;
0 4 2 function Ljdk/incubator/foreign/FunctionDescriptor;
MethodParameters:
Name Flags
target
function
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=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.internal.foreign.abi.x64.sysv.SysVVaList.ofAddress:(Ljdk/incubator/foreign/MemoryAddress;)Ljdk/incubator/foreign/CLinker$VaList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 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=1, locals=0, args_size=0
0: invokestatic jdk.internal.foreign.abi.x64.sysv.SysVVaList.empty:()Ljdk/incubator/foreign/CLinker$VaList;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SysVx64Linker.java"
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 Allocator = jdk.internal.foreign.abi.SharedUtils$Allocator of jdk.internal.foreign.abi.SharedUtils
Builder = jdk.internal.foreign.abi.x64.sysv.SysVVaList$Builder of jdk.internal.foreign.abi.x64.sysv.SysVVaList