public class jdk.internal.foreign.abi.Binding$Copy extends jdk.internal.foreign.abi.Binding
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.foreign.abi.Binding$Copy
super_class: jdk.internal.foreign.abi.Binding
{
private final long size;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long alignment;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(long, long);
descriptor: (JJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getstatic jdk.internal.foreign.abi.Binding$Tag.COPY_BUFFER:Ljdk/internal/foreign/abi/Binding$Tag;
invokespecial jdk.internal.foreign.abi.Binding.<init>:(Ljdk/internal/foreign/abi/Binding$Tag;)V
1: aload 0
lload 1
putfield jdk.internal.foreign.abi.Binding$Copy.size:J
2: aload 0
lload 3
putfield jdk.internal.foreign.abi.Binding$Copy.alignment:J
3: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/foreign/abi/Binding$Copy;
0 4 1 size J
0 4 3 alignment J
MethodParameters:
Name Flags
size
alignment
private static jdk.incubator.foreign.MemorySegment copyBuffer(jdk.incubator.foreign.MemorySegment, long, long, jdk.internal.foreign.abi.SharedUtils$Allocator);
descriptor: (Ljdk/incubator/foreign/MemorySegment;JJLjdk/internal/foreign/abi/SharedUtils$Allocator;)Ljdk/incubator/foreign/MemorySegment;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 5
lload 1
lload 3
invokeinterface jdk.internal.foreign.abi.SharedUtils$Allocator.allocate:(JJ)Ljdk/incubator/foreign/MemorySegment;
astore 6
start local 6 1: aload 6
aload 0
lconst_0
lload 1
invokeinterface jdk.incubator.foreign.MemorySegment.asSlice:(JJ)Ljdk/incubator/foreign/MemorySegment;
invokeinterface jdk.incubator.foreign.MemorySegment.copyFrom:(Ljdk/incubator/foreign/MemorySegment;)V
2: aload 6
areturn
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 operand Ljdk/incubator/foreign/MemorySegment;
0 3 1 size J
0 3 3 alignment J
0 3 5 allocator Ljdk/internal/foreign/abi/SharedUtils$Allocator;
1 3 6 copy Ljdk/incubator/foreign/MemorySegment;
MethodParameters:
Name Flags
operand
size
alignment
allocator
public long size();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.foreign.abi.Binding$Copy.size:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/foreign/abi/Binding$Copy;
public long alignment();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.foreign.abi.Binding$Copy.alignment:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/foreign/abi/Binding$Copy;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Copy{tag="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
invokevirtual jdk.internal.foreign.abi.Binding$Copy.tag:()Ljdk/internal/foreign/abi/Binding$Tag;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc ", size="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.foreign.abi.Binding$Copy.size:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
3: ldc ", alignment="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.foreign.abi.Binding$Copy.alignment:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
4: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/foreign/abi/Binding$Copy;
public void verify(java.util.Deque<java.lang.Class<?>>);
descriptor: (Ljava/util/Deque;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast java.lang.Class
astore 2
start local 2 1: aload 2
ldc Ljdk/incubator/foreign/MemorySegment;
invokestatic jdk.internal.foreign.abi.SharedUtils.checkType:(Ljava/lang/Class;Ljava/lang/Class;)V
2: aload 1
ldc Ljdk/incubator/foreign/MemorySegment;
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/foreign/abi/Binding$Copy;
0 4 1 stack Ljava/util/Deque<Ljava/lang/Class<*>;>;
1 4 2 actualType Ljava/lang/Class<*>;
Signature: (Ljava/util/Deque<Ljava/lang/Class<*>;>;)V
MethodParameters:
Name Flags
stack
public void interpret(java.util.Deque<java.lang.Object>, jdk.internal.foreign.abi.BindingInterpreter$StoreFunc, jdk.internal.foreign.abi.BindingInterpreter$LoadFunc, jdk.internal.foreign.abi.SharedUtils$Allocator);
descriptor: (Ljava/util/Deque;Ljdk/internal/foreign/abi/BindingInterpreter$StoreFunc;Ljdk/internal/foreign/abi/BindingInterpreter$LoadFunc;Ljdk/internal/foreign/abi/SharedUtils$Allocator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast jdk.incubator.foreign.MemorySegment
astore 5
start local 5 1: aload 5
aload 0
getfield jdk.internal.foreign.abi.Binding$Copy.size:J
aload 0
getfield jdk.internal.foreign.abi.Binding$Copy.alignment:J
aload 4
invokestatic jdk.internal.foreign.abi.Binding$Copy.copyBuffer:(Ljdk/incubator/foreign/MemorySegment;JJLjdk/internal/foreign/abi/SharedUtils$Allocator;)Ljdk/incubator/foreign/MemorySegment;
astore 6
start local 6 2: aload 1
aload 6
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
3: return
end local 6 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 4 0 this Ljdk/internal/foreign/abi/Binding$Copy;
0 4 1 stack Ljava/util/Deque<Ljava/lang/Object;>;
0 4 2 storeFunc Ljdk/internal/foreign/abi/BindingInterpreter$StoreFunc;
0 4 3 loadFunc Ljdk/internal/foreign/abi/BindingInterpreter$LoadFunc;
0 4 4 allocator Ljdk/internal/foreign/abi/SharedUtils$Allocator;
1 4 5 operand Ljdk/incubator/foreign/MemorySegment;
2 4 6 copy Ljdk/incubator/foreign/MemorySegment;
Signature: (Ljava/util/Deque<Ljava/lang/Object;>;Ljdk/internal/foreign/abi/BindingInterpreter$StoreFunc;Ljdk/internal/foreign/abi/BindingInterpreter$LoadFunc;Ljdk/internal/foreign/abi/SharedUtils$Allocator;)V
MethodParameters:
Name Flags
stack
storeFunc
loadFunc
allocator
public java.lang.invoke.MethodHandle specialize(java.lang.invoke.MethodHandle, int, int);
descriptor: (Ljava/lang/invoke/MethodHandle;II)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.internal.foreign.abi.Binding.MH_COPY_BUFFER:Ljava/lang/invoke/MethodHandle;
iconst_1
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.foreign.abi.Binding$Copy.size:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
getfield jdk.internal.foreign.abi.Binding$Copy.alignment:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic java.lang.invoke.MethodHandles.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 4
start local 4 1: aload 1
iload 2
aload 4
invokestatic java.lang.invoke.MethodHandles.collectArguments:(Ljava/lang/invoke/MethodHandle;ILjava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 1
2: aload 1
iload 3
iload 2
iconst_1
iadd
invokestatic jdk.internal.foreign.abi.Binding.mergeArguments:(Ljava/lang/invoke/MethodHandle;II)Ljava/lang/invoke/MethodHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/foreign/abi/Binding$Copy;
0 3 1 specializedHandle Ljava/lang/invoke/MethodHandle;
0 3 2 insertPos I
0 3 3 allocatorPos I
1 3 4 filter Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
specializedHandle
insertPos
allocatorPos
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial jdk.internal.foreign.abi.Binding.equals:(Ljava/lang/Object;)Z
ifne 4
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.internal.foreign.abi.Binding$Copy
astore 2
start local 2 5: aload 0
getfield jdk.internal.foreign.abi.Binding$Copy.size:J
aload 2
getfield jdk.internal.foreign.abi.Binding$Copy.size:J
lcmp
ifne 8
6: aload 0
getfield jdk.internal.foreign.abi.Binding$Copy.alignment:J
aload 2
getfield jdk.internal.foreign.abi.Binding$Copy.alignment:J
lcmp
ifne 8
7: iconst_1
ireturn
StackMap locals: jdk.internal.foreign.abi.Binding$Copy
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/foreign/abi/Binding$Copy;
0 9 1 o Ljava/lang/Object;
5 9 2 copy Ljdk/internal/foreign/abi/Binding$Copy;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokespecial jdk.internal.foreign.abi.Binding.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield jdk.internal.foreign.abi.Binding$Copy.size:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
aload 0
getfield jdk.internal.foreign.abi.Binding$Copy.alignment:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic java.util.Objects.hash:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/foreign/abi/Binding$Copy;
}
SourceFile: "Binding.java"
NestHost: jdk.internal.foreign.abi.Binding
InnerClasses:
public Copy = jdk.internal.foreign.abi.Binding$Copy of jdk.internal.foreign.abi.Binding
final Tag = jdk.internal.foreign.abi.Binding$Tag of jdk.internal.foreign.abi.Binding
abstract LoadFunc = jdk.internal.foreign.abi.BindingInterpreter$LoadFunc of jdk.internal.foreign.abi.BindingInterpreter
abstract StoreFunc = jdk.internal.foreign.abi.BindingInterpreter$StoreFunc of jdk.internal.foreign.abi.BindingInterpreter
public abstract Allocator = jdk.internal.foreign.abi.SharedUtils$Allocator of jdk.internal.foreign.abi.SharedUtils