public final class org.graalvm.compiler.lir.NullCheckOptimizer extends org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.NullCheckOptimizer
super_class: org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/NullCheckOptimizer;
protected void run(jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.lir.gen.LIRGenerationResult, org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase$PostAllocationOptimizationContext);
descriptor: (Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/phases/PostAllocationOptimizationPhase$PostAllocationOptimizationContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
astore 4
start local 4 1: aload 4
invokevirtual org.graalvm.compiler.lir.LIR.codeEmittingOrder:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
astore 5
start local 5 2: aload 4
aload 5
aload 1
getfield jdk.vm.ci.code.TargetDescription.implicitNullCheckLimit:I
invokestatic org.graalvm.compiler.lir.NullCheckOptimizer.foldNullChecks:(Lorg/graalvm/compiler/lir/LIR;[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;I)V
3: 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 4 0 this Lorg/graalvm/compiler/lir/NullCheckOptimizer;
0 4 1 target Ljdk/vm/ci/code/TargetDescription;
0 4 2 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 4 3 context Lorg/graalvm/compiler/lir/phases/PostAllocationOptimizationPhase$PostAllocationOptimizationContext;
1 4 4 ir Lorg/graalvm/compiler/lir/LIR;
2 4 5 blocks [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
MethodParameters:
Name Flags
target
lirGenRes
context
private static void foldNullChecks(org.graalvm.compiler.lir.LIR, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>[], );
descriptor: (Lorg/graalvm/compiler/lir/LIR;[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 21
StackMap locals: org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 3
ifnonnull 4
3: goto 20
4: StackMap locals: org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
aload 0
aload 3
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
astore 7
start local 7 5: aload 7
invokevirtual java.util.ArrayList.isEmpty:()Z
ifne 20
6: aload 7
iconst_0
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.LIRInstruction
astore 8
start local 8 7: iconst_0
istore 9
start local 9 8: goto 19
9: StackMap locals: java.util.ArrayList org.graalvm.compiler.lir.LIRInstruction int
StackMap stack:
aload 7
iload 9
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.LIRInstruction
astore 10
start local 10 10: aload 10
instanceof org.graalvm.compiler.lir.StandardOp$ImplicitNullCheck
ifeq 17
aload 8
instanceof org.graalvm.compiler.lir.StandardOp$NullCheck
ifeq 17
11: aload 8
checkcast org.graalvm.compiler.lir.StandardOp$NullCheck
astore 11
start local 11 12: aload 10
checkcast org.graalvm.compiler.lir.StandardOp$ImplicitNullCheck
astore 12
start local 12 13: aload 12
aload 11
invokeinterface org.graalvm.compiler.lir.StandardOp$NullCheck.getCheckedValue:()Ljdk/vm/ci/meta/Value;
aload 11
invokeinterface org.graalvm.compiler.lir.StandardOp$NullCheck.getState:()Lorg/graalvm/compiler/lir/LIRFrameState;
iload 2
invokeinterface org.graalvm.compiler.lir.StandardOp$ImplicitNullCheck.makeNullCheckFor:(Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/lir/LIRFrameState;I)Z
ifeq 17
14: aload 7
iload 9
iconst_1
isub
invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
pop
15: iload 9
aload 7
invokevirtual java.util.ArrayList.size:()I
if_icmpge 17
16: aload 7
iload 9
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.LIRInstruction
astore 10
end local 12 end local 11 17: StackMap locals: org.graalvm.compiler.lir.LIRInstruction
StackMap stack:
aload 10
astore 8
end local 10 18: iinc 9 1
StackMap locals:
StackMap stack:
19: iload 9
aload 7
invokevirtual java.util.ArrayList.size:()I
if_icmplt 9
end local 9 end local 8 end local 7 end local 3 20: StackMap locals: org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
21: iload 4
iload 5
if_icmplt 1
22: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 ir Lorg/graalvm/compiler/lir/LIR;
0 23 1 blocks [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
0 23 2 implicitNullCheckLimit I
2 20 3 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
5 20 7 list Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;
7 20 8 lastInstruction Lorg/graalvm/compiler/lir/LIRInstruction;
8 20 9 i I
10 18 10 instruction Lorg/graalvm/compiler/lir/LIRInstruction;
12 17 11 nullCheck Lorg/graalvm/compiler/lir/StandardOp$NullCheck;
13 17 12 implicitNullCheck Lorg/graalvm/compiler/lir/StandardOp$ImplicitNullCheck;
Signature: (Lorg/graalvm/compiler/lir/LIR;[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;I)V
MethodParameters:
Name Flags
ir
blocks
implicitNullCheckLimit
protected void run(jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.lir.gen.LIRGenerationResult, java.lang.Object);
descriptor: (Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
checkcast org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase$PostAllocationOptimizationContext
invokevirtual org.graalvm.compiler.lir.NullCheckOptimizer.run:(Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/phases/PostAllocationOptimizationPhase$PostAllocationOptimizationContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "NullCheckOptimizer.java"
InnerClasses:
public abstract ImplicitNullCheck = org.graalvm.compiler.lir.StandardOp$ImplicitNullCheck of org.graalvm.compiler.lir.StandardOp
public abstract NullCheck = org.graalvm.compiler.lir.StandardOp$NullCheck of org.graalvm.compiler.lir.StandardOp
public final PostAllocationOptimizationContext = org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase$PostAllocationOptimizationContext of org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase