public class org.graalvm.compiler.lir.amd64.AMD64FrameMap extends org.graalvm.compiler.lir.framemap.FrameMap
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.amd64.AMD64FrameMap
super_class: org.graalvm.compiler.lir.framemap.FrameMap
{
private jdk.vm.ci.code.StackSlot rbpSpillSlot;
descriptor: Ljdk/vm/ci/code/StackSlot;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/lir/amd64/AMD64FrameMap;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.lir.amd64.AMD64FrameMap.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.vm.ci.code.CodeCacheProvider, jdk.vm.ci.code.RegisterConfig, org.graalvm.compiler.lir.framemap.FrameMap$ReferenceMapBuilderFactory);
descriptor: (Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/code/RegisterConfig;Lorg/graalvm/compiler/lir/framemap/FrameMap$ReferenceMapBuilderFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.lir.framemap.FrameMap.<init>:(Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/code/RegisterConfig;Lorg/graalvm/compiler/lir/framemap/FrameMap$ReferenceMapBuilderFactory;)V
1: aload 0
aload 0
invokevirtual org.graalvm.compiler.lir.amd64.AMD64FrameMap.returnAddressSize:()I
putfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.initialSpillSize:I
2: aload 0
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.initialSpillSize:I
putfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.spillSize:I
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/amd64/AMD64FrameMap;
0 4 1 codeCache Ljdk/vm/ci/code/CodeCacheProvider;
0 4 2 registerConfig Ljdk/vm/ci/code/RegisterConfig;
0 4 3 referenceMapFactory Lorg/graalvm/compiler/lir/framemap/FrameMap$ReferenceMapBuilderFactory;
MethodParameters:
Name Flags
codeCache
registerConfig
referenceMapFactory
public int totalFrameSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.lir.amd64.AMD64FrameMap.frameSize:()I
aload 0
invokevirtual org.graalvm.compiler.lir.amd64.AMD64FrameMap.returnAddressSize:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/amd64/AMD64FrameMap;
public int currentFrameSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.outgoingSize:I
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.spillSize:I
iadd
aload 0
invokevirtual org.graalvm.compiler.lir.amd64.AMD64FrameMap.returnAddressSize:()I
isub
invokevirtual org.graalvm.compiler.lir.amd64.AMD64FrameMap.alignFrameSize:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/amd64/AMD64FrameMap;
protected int alignFrameSize(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
invokevirtual org.graalvm.compiler.lir.amd64.AMD64FrameMap.returnAddressSize:()I
iadd
aload 0
invokevirtual org.graalvm.compiler.lir.amd64.AMD64FrameMap.getTarget:()Ljdk/vm/ci/code/TargetDescription;
getfield jdk.vm.ci.code.TargetDescription.stackAlignment:I
invokestatic org.graalvm.compiler.core.common.NumUtil.roundUp:(II)I
aload 0
invokevirtual org.graalvm.compiler.lir.amd64.AMD64FrameMap.returnAddressSize:()I
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/amd64/AMD64FrameMap;
0 1 1 size I
MethodParameters:
Name Flags
size
public int offsetForStackSlot(jdk.vm.ci.code.StackSlot);
descriptor: (Ljdk/vm/ci/code/StackSlot;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.lir.amd64.AMD64FrameMap.$assertionsDisabled:Z
ifne 5
aload 1
invokevirtual jdk.vm.ci.code.StackSlot.getRawAddFrameSize:()Z
ifne 1
aload 1
invokevirtual jdk.vm.ci.code.StackSlot.getRawOffset:()I
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.outgoingSize:I
if_icmplt 5
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.vm.ci.code.StackSlot.getRawAddFrameSize:()Z
ifeq 2
aload 1
invokevirtual jdk.vm.ci.code.StackSlot.getRawOffset:()I
ifge 2
aload 1
invokevirtual jdk.vm.ci.code.StackSlot.getRawOffset:()I
ineg
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.spillSize:I
if_icmple 5
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.vm.ci.code.StackSlot.getRawAddFrameSize:()Z
ifeq 3
aload 1
invokevirtual jdk.vm.ci.code.StackSlot.getRawOffset:()I
ifge 5
StackMap locals:
StackMap stack:
3: new java.lang.AssertionError
dup
4: ldc "RawAddFrameSize: %b RawOffset: 0x%x spillSize: 0x%x outgoingSize: 0x%x"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual jdk.vm.ci.code.StackSlot.getRawAddFrameSize:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_1
aload 1
invokevirtual jdk.vm.ci.code.StackSlot.getRawOffset:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.spillSize:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.outgoingSize:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.graalvm.compiler.lir.framemap.FrameMap.offsetForStackSlot:(Ljdk/vm/ci/code/StackSlot;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/lir/amd64/AMD64FrameMap;
0 6 1 slot Ljdk/vm/ci/code/StackSlot;
MethodParameters:
Name Flags
slot
jdk.vm.ci.code.StackSlot allocateRBPSpillSlot();
descriptor: ()Ljdk/vm/ci/code/StackSlot;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.amd64.AMD64FrameMap.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.spillSize:I
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.initialSpillSize:I
if_icmpeq 1
new java.lang.AssertionError
dup
ldc "RBP spill slot must be the first allocated stack slots"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getstatic jdk.vm.ci.amd64.AMD64Kind.QWORD:Ljdk/vm/ci/amd64/AMD64Kind;
invokestatic org.graalvm.compiler.core.common.LIRKind.value:(Ljdk/vm/ci/meta/PlatformKind;)Lorg/graalvm/compiler/core/common/LIRKind;
invokevirtual org.graalvm.compiler.lir.amd64.AMD64FrameMap.allocateSpillSlot:(Ljdk/vm/ci/meta/ValueKind;)Ljdk/vm/ci/code/StackSlot;
putfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.rbpSpillSlot:Ljdk/vm/ci/code/StackSlot;
2: getstatic org.graalvm.compiler.lir.amd64.AMD64FrameMap.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.rbpSpillSlot:Ljdk/vm/ci/code/StackSlot;
invokestatic jdk.vm.ci.code.ValueUtil.asStackSlot:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/StackSlot;
invokevirtual jdk.vm.ci.code.StackSlot.getRawOffset:()I
bipush -16
if_icmpeq 3
new java.lang.AssertionError
dup
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.rbpSpillSlot:Ljdk/vm/ci/code/StackSlot;
invokestatic jdk.vm.ci.code.ValueUtil.asStackSlot:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/StackSlot;
invokevirtual jdk.vm.ci.code.StackSlot.getRawOffset:()I
invokespecial java.lang.AssertionError.<init>:(I)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.rbpSpillSlot:Ljdk/vm/ci/code/StackSlot;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/amd64/AMD64FrameMap;
void freeRBPSpillSlot();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getstatic jdk.vm.ci.amd64.AMD64Kind.QWORD:Ljdk/vm/ci/amd64/AMD64Kind;
invokestatic org.graalvm.compiler.core.common.LIRKind.value:(Ljdk/vm/ci/meta/PlatformKind;)Lorg/graalvm/compiler/core/common/LIRKind;
invokevirtual org.graalvm.compiler.lir.amd64.AMD64FrameMap.spillSlotSize:(Ljdk/vm/ci/meta/ValueKind;)I
istore 1
start local 1 1: getstatic org.graalvm.compiler.lir.amd64.AMD64FrameMap.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.spillSize:I
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.initialSpillSize:I
iload 1
iadd
iload 1
invokestatic org.graalvm.compiler.core.common.NumUtil.roundUp:(II)I
if_icmpeq 2
new java.lang.AssertionError
dup
ldc "RBP spill slot can not be freed after allocation other stack slots"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.initialSpillSize:I
putfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.spillSize:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/amd64/AMD64FrameMap;
1 4 1 size I
public jdk.vm.ci.code.StackSlot allocateDeoptimizationRescueSlot();
descriptor: ()Ljdk/vm/ci/code/StackSlot;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.amd64.AMD64FrameMap.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.spillSize:I
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.initialSpillSize:I
if_icmpeq 2
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.spillSize:I
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64FrameMap.initialSpillSize:I
1: aload 0
getstatic jdk.vm.ci.amd64.AMD64Kind.QWORD:Ljdk/vm/ci/amd64/AMD64Kind;
invokestatic org.graalvm.compiler.core.common.LIRKind.value:(Ljdk/vm/ci/meta/PlatformKind;)Lorg/graalvm/compiler/core/common/LIRKind;
invokevirtual org.graalvm.compiler.lir.amd64.AMD64FrameMap.spillSlotSize:(Ljdk/vm/ci/meta/ValueKind;)I
iadd
if_icmpeq 2
new java.lang.AssertionError
dup
ldc "Deoptimization rescue slot must be the first or second (if there is an RBP spill slot) stack slot"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.vm.ci.amd64.AMD64Kind.QWORD:Ljdk/vm/ci/amd64/AMD64Kind;
invokestatic org.graalvm.compiler.core.common.LIRKind.value:(Ljdk/vm/ci/meta/PlatformKind;)Lorg/graalvm/compiler/core/common/LIRKind;
invokevirtual org.graalvm.compiler.lir.amd64.AMD64FrameMap.allocateSpillSlot:(Ljdk/vm/ci/meta/ValueKind;)Ljdk/vm/ci/code/StackSlot;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/lir/amd64/AMD64FrameMap;
}
SourceFile: "AMD64FrameMap.java"
InnerClasses:
public abstract ReferenceMapBuilderFactory = org.graalvm.compiler.lir.framemap.FrameMap$ReferenceMapBuilderFactory of org.graalvm.compiler.lir.framemap.FrameMap