public final class org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp extends org.graalvm.compiler.lir.amd64.AMD64LIRInstruction
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp
super_class: org.graalvm.compiler.lir.amd64.AMD64LIRInstruction
{
public static final org.graalvm.compiler.lir.LIRInstructionClass<org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp> TYPE;
descriptor: Lorg/graalvm/compiler/lir/LIRInstructionClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/lir/LIRInstructionClass<Lorg/graalvm/compiler/hotspot/amd64/AMD64HotSpotSafepointOp;>;
protected org.graalvm.compiler.lir.LIRFrameState state;
descriptor: Lorg/graalvm/compiler/lir/LIRFrameState;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$State()
private jdk.vm.ci.meta.AllocatableValue temp;
descriptor: Ljdk/vm/ci/meta/AllocatableValue;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Temp(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;, org.graalvm.compiler.lir.LIRInstruction$OperandFlag.ILLEGAL:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
private final org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config;
descriptor: Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.vm.ci.code.Register thread;
descriptor: Ljdk/vm/ci/code/Register;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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/hotspot/amd64/AMD64HotSpotSafepointOp;
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.hotspot.amd64.AMD64HotSpotSafepointOp.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/hotspot/amd64/AMD64HotSpotSafepointOp;
invokestatic org.graalvm.compiler.lir.LIRInstructionClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/lir/LIRInstructionClass;
putstatic org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.lir.LIRFrameState, org.graalvm.compiler.hotspot.GraalHotSpotVMConfig, org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool, jdk.vm.ci.code.Register);
descriptor: (Lorg/graalvm/compiler/lir/LIRFrameState;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;Ljdk/vm/ci/code/Register;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getstatic org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
invokespecial org.graalvm.compiler.lir.amd64.AMD64LIRInstruction.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;)V
1: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.state:Lorg/graalvm/compiler/lir/LIRFrameState;
2: aload 0
aload 2
putfield org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.config:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
3: aload 0
aload 4
putfield org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.thread:Ljdk/vm/ci/code/Register;
4: aload 2
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.useThreadLocalPolling:Z
ifne 5
aload 2
invokestatic org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.isPollingPageFar:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifne 5
getstatic org.graalvm.compiler.core.common.GraalOptions.ImmutableCode:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 7
5: StackMap locals: org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp org.graalvm.compiler.lir.LIRFrameState org.graalvm.compiler.hotspot.GraalHotSpotVMConfig org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool jdk.vm.ci.code.Register
StackMap stack:
aload 0
aload 3
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.getLIRGeneratorTool:()Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
aload 3
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.getLIRGeneratorTool:()Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.target:()Ljdk/vm/ci/code/TargetDescription;
getfield jdk.vm.ci.code.TargetDescription.arch:Ljdk/vm/ci/code/Architecture;
invokevirtual jdk.vm.ci.code.Architecture.getWordKind:()Ljdk/vm/ci/meta/PlatformKind;
invokestatic org.graalvm.compiler.core.common.LIRKind.value:(Ljdk/vm/ci/meta/PlatformKind;)Lorg/graalvm/compiler/core/common/LIRKind;
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.newVariable:(Ljdk/vm/ci/meta/ValueKind;)Lorg/graalvm/compiler/lir/Variable;
putfield org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.temp:Ljdk/vm/ci/meta/AllocatableValue;
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.vm.ci.meta.Value.ILLEGAL:Ljdk/vm/ci/meta/AllocatableValue;
putfield org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.temp:Ljdk/vm/ci/meta/AllocatableValue;
8: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/hotspot/amd64/AMD64HotSpotSafepointOp;
0 9 1 state Lorg/graalvm/compiler/lir/LIRFrameState;
0 9 2 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
0 9 3 tool Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;
0 9 4 thread Ljdk/vm/ci/code/Register;
MethodParameters:
Name Flags
state
config
tool
thread
public void emitCode(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
aload 0
getfield org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.config:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
iconst_0
aload 0
getfield org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.state:Lorg/graalvm/compiler/lir/LIRFrameState;
aload 0
getfield org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.thread:Ljdk/vm/ci/code/Register;
aload 0
getfield org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.temp:Ljdk/vm/ci/meta/AllocatableValue;
instanceof jdk.vm.ci.code.RegisterValue
ifeq 1
aload 0
getfield org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.temp:Ljdk/vm/ci/meta/AllocatableValue;
checkcast jdk.vm.ci.code.RegisterValue
invokevirtual jdk.vm.ci.code.RegisterValue.getRegister:()Ljdk/vm/ci/code/Register;
goto 2
StackMap locals: org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler
StackMap stack: org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig int org.graalvm.compiler.lir.LIRFrameState jdk.vm.ci.code.Register
1: aconst_null
StackMap locals: org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler
StackMap stack: org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig int org.graalvm.compiler.lir.LIRFrameState jdk.vm.ci.code.Register jdk.vm.ci.code.Register
2: invokestatic org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.emitCode:(Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;ZLorg/graalvm/compiler/lir/LIRFrameState;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/amd64/AMD64HotSpotSafepointOp;
0 4 1 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 4 2 asm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
MethodParameters:
Name Flags
crb
asm
public static void emitCode(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler, org.graalvm.compiler.hotspot.GraalHotSpotVMConfig, boolean, org.graalvm.compiler.lir.LIRFrameState, jdk.vm.ci.code.Register, jdk.vm.ci.code.Register);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;ZLorg/graalvm/compiler/lir/LIRFrameState;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 2
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.useThreadLocalPolling:Z
ifeq 3
1: aload 0
aload 1
aload 2
iload 3
aload 4
aload 5
aload 6
invokestatic org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.emitThreadLocalPoll:(Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;ZLorg/graalvm/compiler/lir/LIRFrameState;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 3
aload 4
aload 6
invokestatic org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.emitGlobalPoll:(Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;ZLorg/graalvm/compiler/lir/LIRFrameState;Ljdk/vm/ci/code/Register;)V
4: StackMap locals:
StackMap stack:
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 5 0 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 5 1 asm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
0 5 2 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
0 5 3 atReturn Z
0 5 4 state Lorg/graalvm/compiler/lir/LIRFrameState;
0 5 5 thread Ljdk/vm/ci/code/Register;
0 5 6 scratch Ljdk/vm/ci/code/Register;
MethodParameters:
Name Flags
crb
asm
config
atReturn
state
thread
scratch
private static boolean isPollingPageFar(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.safepointPollingAddress:J
lstore 1
start local 1 1: aload 0
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.forceUnreachable:Z
ifne 2
lload 1
aload 0
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.codeCacheLowBound:J
lsub
invokestatic org.graalvm.compiler.core.common.NumUtil.isInt:(J)Z
ifeq 2
lload 1
aload 0
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.codeCacheHighBound:J
lsub
invokestatic org.graalvm.compiler.core.common.NumUtil.isInt:(J)Z
ifeq 2
iconst_0
ireturn
StackMap locals: long
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
1 3 1 pollingPageAddress J
MethodParameters:
Name Flags
config
private static void emitGlobalPoll(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler, org.graalvm.compiler.hotspot.GraalHotSpotVMConfig, boolean, org.graalvm.compiler.lir.LIRFrameState, jdk.vm.ci.code.Register);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;ZLorg/graalvm/compiler/lir/LIRFrameState;Ljdk/vm/ci/code/Register;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: getstatic org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.$assertionsDisabled:Z
ifne 1
iload 3
ifeq 1
aload 4
ifnull 1
new java.lang.AssertionError
dup
ldc "state is unneeded at return"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.GraalOptions.ImmutableCode:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 17
2: getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
astore 6
start local 6 3: aload 6
invokevirtual jdk.vm.ci.meta.JavaKind.getBitCount:()I
bipush 8
idiv
istore 7
start local 7 4: aload 6
aload 2
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.safepointPollingAddress:J
invokestatic jdk.vm.ci.meta.JavaConstant.forIntegerKind:(Ljdk/vm/ci/meta/JavaKind;J)Ljdk/vm/ci/meta/PrimitiveConstant;
astore 8
start local 8 5: getstatic org.graalvm.compiler.core.common.GraalOptions.GeneratePIC:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 8
6: aload 1
aload 5
aload 1
iconst_m1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.getPlaceholder:(I)Lorg/graalvm/compiler/asm/amd64/AMD64Address;
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.movq:(Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/amd64/AMD64Address;)V
7: goto 9
8: StackMap locals: jdk.vm.ci.meta.JavaKind int jdk.vm.ci.meta.JavaConstant
StackMap stack:
aload 1
aload 5
aload 0
aload 8
iload 7
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordDataReferenceInCode:(Ljdk/vm/ci/meta/Constant;I)Lorg/graalvm/compiler/asm/AbstractAddress;
checkcast org.graalvm.compiler.asm.amd64.AMD64Address
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.movq:(Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/amd64/AMD64Address;)V
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 9
start local 9 10: aload 0
iload 3
ifeq 11
getstatic org.graalvm.compiler.hotspot.HotSpotMarkId.POLL_RETURN_FAR:Lorg/graalvm/compiler/hotspot/HotSpotMarkId;
goto 12
StackMap locals: org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig int org.graalvm.compiler.lir.LIRFrameState jdk.vm.ci.code.Register jdk.vm.ci.meta.JavaKind int jdk.vm.ci.meta.JavaConstant int
StackMap stack: org.graalvm.compiler.lir.asm.CompilationResultBuilder
11: getstatic org.graalvm.compiler.hotspot.HotSpotMarkId.POLL_FAR:Lorg/graalvm/compiler/hotspot/HotSpotMarkId;
StackMap locals: org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig int org.graalvm.compiler.lir.LIRFrameState jdk.vm.ci.code.Register jdk.vm.ci.meta.JavaKind int jdk.vm.ci.meta.JavaConstant int
StackMap stack: org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.hotspot.HotSpotMarkId
12: invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordMark:(Lorg/graalvm/compiler/code/CompilationResult$MarkId;)Lorg/graalvm/compiler/code/CompilationResult$CodeMark;
pop
13: aload 4
ifnull 15
14: aload 0
iload 9
aload 4
getstatic jdk.vm.ci.code.site.InfopointReason.SAFEPOINT:Ljdk/vm/ci/code/site/InfopointReason;
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordInfopoint:(ILorg/graalvm/compiler/lir/LIRFrameState;Ljdk/vm/ci/code/site/InfopointReason;)V
15: StackMap locals:
StackMap stack:
aload 1
getstatic jdk.vm.ci.amd64.AMD64.rax:Ljdk/vm/ci/code/Register;
new org.graalvm.compiler.asm.amd64.AMD64Address
dup
aload 5
invokespecial org.graalvm.compiler.asm.amd64.AMD64Address.<init>:(Ljdk/vm/ci/code/Register;)V
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.testl:(Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/amd64/AMD64Address;)V
end local 9 end local 8 end local 7 end local 6 16: goto 34
StackMap locals: org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig int org.graalvm.compiler.lir.LIRFrameState jdk.vm.ci.code.Register
StackMap stack:
17: aload 2
invokestatic org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.isPollingPageFar:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 27
18: aload 1
aload 5
aload 2
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.safepointPollingAddress:J
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.movq:(Ljdk/vm/ci/code/Register;J)V
19: aload 0
iload 3
ifeq 20
getstatic org.graalvm.compiler.hotspot.HotSpotMarkId.POLL_RETURN_FAR:Lorg/graalvm/compiler/hotspot/HotSpotMarkId;
goto 21
StackMap locals:
StackMap stack: org.graalvm.compiler.lir.asm.CompilationResultBuilder
20: getstatic org.graalvm.compiler.hotspot.HotSpotMarkId.POLL_FAR:Lorg/graalvm/compiler/hotspot/HotSpotMarkId;
StackMap locals: org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig int org.graalvm.compiler.lir.LIRFrameState jdk.vm.ci.code.Register
StackMap stack: org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.hotspot.HotSpotMarkId
21: invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordMark:(Lorg/graalvm/compiler/code/CompilationResult$MarkId;)Lorg/graalvm/compiler/code/CompilationResult$CodeMark;
pop
22: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 6
start local 6 23: aload 4
ifnull 25
24: aload 0
iload 6
aload 4
getstatic jdk.vm.ci.code.site.InfopointReason.SAFEPOINT:Ljdk/vm/ci/code/site/InfopointReason;
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordInfopoint:(ILorg/graalvm/compiler/lir/LIRFrameState;Ljdk/vm/ci/code/site/InfopointReason;)V
25: StackMap locals: int
StackMap stack:
aload 1
getstatic jdk.vm.ci.amd64.AMD64.rax:Ljdk/vm/ci/code/Register;
new org.graalvm.compiler.asm.amd64.AMD64Address
dup
aload 5
invokespecial org.graalvm.compiler.asm.amd64.AMD64Address.<init>:(Ljdk/vm/ci/code/Register;)V
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.testl:(Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/amd64/AMD64Address;)V
end local 6 26: goto 34
27: StackMap locals:
StackMap stack:
aload 0
iload 3
ifeq 28
getstatic org.graalvm.compiler.hotspot.HotSpotMarkId.POLL_RETURN_NEAR:Lorg/graalvm/compiler/hotspot/HotSpotMarkId;
goto 29
StackMap locals:
StackMap stack: org.graalvm.compiler.lir.asm.CompilationResultBuilder
28: getstatic org.graalvm.compiler.hotspot.HotSpotMarkId.POLL_NEAR:Lorg/graalvm/compiler/hotspot/HotSpotMarkId;
StackMap locals: org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig int org.graalvm.compiler.lir.LIRFrameState jdk.vm.ci.code.Register
StackMap stack: org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.hotspot.HotSpotMarkId
29: invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordMark:(Lorg/graalvm/compiler/code/CompilationResult$MarkId;)Lorg/graalvm/compiler/code/CompilationResult$CodeMark;
pop
30: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 6
start local 6 31: aload 4
ifnull 33
32: aload 0
iload 6
aload 4
getstatic jdk.vm.ci.code.site.InfopointReason.SAFEPOINT:Ljdk/vm/ci/code/site/InfopointReason;
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordInfopoint:(ILorg/graalvm/compiler/lir/LIRFrameState;Ljdk/vm/ci/code/site/InfopointReason;)V
33: StackMap locals: int
StackMap stack:
aload 1
getstatic jdk.vm.ci.amd64.AMD64.rax:Ljdk/vm/ci/code/Register;
new org.graalvm.compiler.asm.amd64.AMD64Address
dup
getstatic jdk.vm.ci.amd64.AMD64.rip:Ljdk/vm/ci/code/Register;
iconst_0
invokespecial org.graalvm.compiler.asm.amd64.AMD64Address.<init>:(Ljdk/vm/ci/code/Register;I)V
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.testl:(Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/amd64/AMD64Address;)V
end local 6 34: StackMap locals:
StackMap stack:
return
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 35 0 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 35 1 asm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
0 35 2 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
0 35 3 atReturn Z
0 35 4 state Lorg/graalvm/compiler/lir/LIRFrameState;
0 35 5 scratch Ljdk/vm/ci/code/Register;
3 16 6 hostWordKind Ljdk/vm/ci/meta/JavaKind;
4 16 7 alignment I
5 16 8 pollingPageAddress Ljdk/vm/ci/meta/JavaConstant;
10 16 9 pos I
23 26 6 pos I
31 34 6 pos I
MethodParameters:
Name Flags
crb
asm
config
atReturn
state
scratch
private static void emitThreadLocalPoll(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler, org.graalvm.compiler.hotspot.GraalHotSpotVMConfig, boolean, org.graalvm.compiler.lir.LIRFrameState, jdk.vm.ci.code.Register, jdk.vm.ci.code.Register);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;ZLorg/graalvm/compiler/lir/LIRFrameState;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: getstatic org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.$assertionsDisabled:Z
ifne 1
iload 3
ifeq 1
aload 4
ifnull 1
new java.lang.AssertionError
dup
ldc "state is unneeded at return"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.amd64.AMD64HotSpotSafepointOp.$assertionsDisabled:Z
ifne 2
aload 2
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.threadPollingPageOffset:I
ifge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 6
new org.graalvm.compiler.asm.amd64.AMD64Address
dup
aload 5
aload 2
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.threadPollingPageOffset:I
invokespecial org.graalvm.compiler.asm.amd64.AMD64Address.<init>:(Ljdk/vm/ci/code/Register;I)V
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.movptr:(Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/amd64/AMD64Address;)V
3: aload 0
iload 3
ifeq 4
getstatic org.graalvm.compiler.hotspot.HotSpotMarkId.POLL_RETURN_FAR:Lorg/graalvm/compiler/hotspot/HotSpotMarkId;
goto 5
StackMap locals:
StackMap stack: org.graalvm.compiler.lir.asm.CompilationResultBuilder
4: getstatic org.graalvm.compiler.hotspot.HotSpotMarkId.POLL_FAR:Lorg/graalvm/compiler/hotspot/HotSpotMarkId;
StackMap locals: org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig int org.graalvm.compiler.lir.LIRFrameState jdk.vm.ci.code.Register jdk.vm.ci.code.Register
StackMap stack: org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.hotspot.HotSpotMarkId
5: invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordMark:(Lorg/graalvm/compiler/code/CompilationResult$MarkId;)Lorg/graalvm/compiler/code/CompilationResult$CodeMark;
pop
6: aload 1
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 7
start local 7 7: aload 4
ifnull 9
8: aload 0
iload 7
aload 4
getstatic jdk.vm.ci.code.site.InfopointReason.SAFEPOINT:Ljdk/vm/ci/code/site/InfopointReason;
invokevirtual org.graalvm.compiler.lir.asm.CompilationResultBuilder.recordInfopoint:(ILorg/graalvm/compiler/lir/LIRFrameState;Ljdk/vm/ci/code/site/InfopointReason;)V
9: StackMap locals: int
StackMap stack:
aload 1
getstatic jdk.vm.ci.amd64.AMD64.rax:Ljdk/vm/ci/code/Register;
new org.graalvm.compiler.asm.amd64.AMD64Address
dup
aload 6
invokespecial org.graalvm.compiler.asm.amd64.AMD64Address.<init>:(Ljdk/vm/ci/code/Register;)V
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.testl:(Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/amd64/AMD64Address;)V
10: return
end local 7 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 11 0 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 11 1 asm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
0 11 2 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
0 11 3 atReturn Z
0 11 4 state Lorg/graalvm/compiler/lir/LIRFrameState;
0 11 5 thread Ljdk/vm/ci/code/Register;
0 11 6 scratch Ljdk/vm/ci/code/Register;
7 11 7 pos I
MethodParameters:
Name Flags
crb
asm
config
atReturn
state
thread
scratch
}
SourceFile: "AMD64HotSpotSafepointOp.java"
InnerClasses:
public CodeMark = org.graalvm.compiler.code.CompilationResult$CodeMark of org.graalvm.compiler.code.CompilationResult
public abstract MarkId = org.graalvm.compiler.code.CompilationResult$MarkId of org.graalvm.compiler.code.CompilationResult
public final OperandFlag = org.graalvm.compiler.lir.LIRInstruction$OperandFlag of org.graalvm.compiler.lir.LIRInstruction
public abstract State = org.graalvm.compiler.lir.LIRInstruction$State of org.graalvm.compiler.lir.LIRInstruction
public abstract Temp = org.graalvm.compiler.lir.LIRInstruction$Temp of org.graalvm.compiler.lir.LIRInstruction
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.Opcode(value = "SAFEPOINT")