public class org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase extends org.graalvm.compiler.phases.BasePhase<org.graalvm.compiler.phases.tiers.LowTierContext>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase
super_class: org.graalvm.compiler.phases.BasePhase
{
private static final org.graalvm.compiler.debug.DebugCounter counterTrappingNullCheck;
descriptor: Lorg/graalvm/compiler/debug/DebugCounter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.debug.DebugCounter counterTrappingNullCheckUnreached;
descriptor: Lorg/graalvm/compiler/debug/DebugCounter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.debug.DebugCounter counterTrappingNullCheckDynamicDeoptimize;
descriptor: Lorg/graalvm/compiler/debug/DebugCounter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, 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/phases/common/UseTrappingNullChecksPhase;
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.phases.common.UseTrappingNullChecksPhase.$assertionsDisabled:Z
3: ldc "TrappingNullCheck"
invokestatic org.graalvm.compiler.debug.Debug.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/DebugCounter;
putstatic org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.counterTrappingNullCheck:Lorg/graalvm/compiler/debug/DebugCounter;
4: ldc "TrappingNullCheckUnreached"
invokestatic org.graalvm.compiler.debug.Debug.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/DebugCounter;
putstatic org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.counterTrappingNullCheckUnreached:Lorg/graalvm/compiler/debug/DebugCounter;
5: ldc "TrappingNullCheckDynamicDeoptimize"
invokestatic org.graalvm.compiler.debug.Debug.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/DebugCounter;
putstatic org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.counterTrappingNullCheckDynamicDeoptimize:Lorg/graalvm/compiler/debug/DebugCounter;
return
LocalVariableTable:
Start End Slot Name Signature
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.phases.BasePhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/phases/common/UseTrappingNullChecksPhase;
protected void run(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.phases.tiers.LowTierContext);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/LowTierContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.graalvm.compiler.phases.tiers.LowTierContext.getTarget:()Ljdk/vm/ci/code/TargetDescription;
getfield jdk.vm.ci.code.TargetDescription.implicitNullCheckLimit:I
ifgt 2
1: return
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.$assertionsDisabled:Z
ifne 3
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$GuardsStage.areFrameStatesAtDeopts:()Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 1
getstatic org.graalvm.compiler.nodes.DeoptimizeNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.LowTierContext top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.DeoptimizeNode
astore 3
start local 3 5: aload 3
aload 3
invokevirtual org.graalvm.compiler.nodes.DeoptimizeNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
aload 3
invokevirtual org.graalvm.compiler.nodes.DeoptimizeNode.reason:()Ljdk/vm/ci/meta/DeoptimizationReason;
aload 3
invokevirtual org.graalvm.compiler.nodes.DeoptimizeNode.getSpeculation:()Ljdk/vm/ci/meta/JavaConstant;
invokestatic org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.tryUseTrappingNullCheck:(Lorg/graalvm/compiler/nodes/AbstractDeoptimizeNode;Lorg/graalvm/compiler/graph/Node;Ljdk/vm/ci/meta/DeoptimizationReason;Ljdk/vm/ci/meta/JavaConstant;)V
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
getstatic org.graalvm.compiler.nodes.DynamicDeoptimizeNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals:
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.DynamicDeoptimizeNode
astore 3
start local 3 9: aload 2
invokevirtual org.graalvm.compiler.phases.tiers.LowTierContext.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 3
invokestatic org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.tryUseTrappingNullCheck:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/DynamicDeoptimizeNode;)V
end local 3 10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/phases/common/UseTrappingNullChecksPhase;
0 12 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 12 2 context Lorg/graalvm/compiler/phases/tiers/LowTierContext;
5 6 3 deopt Lorg/graalvm/compiler/nodes/DeoptimizeNode;
9 10 3 deopt Lorg/graalvm/compiler/nodes/DynamicDeoptimizeNode;
MethodParameters:
Name Flags
graph
context
private static void tryUseTrappingNullCheck(jdk.vm.ci.meta.MetaAccessProvider, org.graalvm.compiler.nodes.DynamicDeoptimizeNode);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/DynamicDeoptimizeNode;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=17, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.DynamicDeoptimizeNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
astore 2
start local 2 1: aload 2
instanceof org.graalvm.compiler.nodes.AbstractMergeNode
ifeq 41
2: aload 2
checkcast org.graalvm.compiler.nodes.AbstractMergeNode
astore 3
start local 3 3: aload 1
invokevirtual org.graalvm.compiler.nodes.DynamicDeoptimizeNode.getActionAndReason:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 4
start local 4 4: aconst_null
astore 5
start local 5 5: aconst_null
astore 6
start local 6 6: iconst_0
istore 7
start local 7 7: aload 4
instanceof org.graalvm.compiler.nodes.ValuePhiNode
ifeq 14
8: aload 4
checkcast org.graalvm.compiler.nodes.ValuePhiNode
astore 5
9: aload 5
invokevirtual org.graalvm.compiler.nodes.ValuePhiNode.merge:()Lorg/graalvm/compiler/nodes/AbstractMergeNode;
aload 3
if_acmpeq 11
10: return
11: StackMap locals: jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.nodes.DynamicDeoptimizeNode org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.AbstractMergeNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValuePhiNode java.util.List int
StackMap stack:
aload 5
invokevirtual org.graalvm.compiler.nodes.ValuePhiNode.values:()Lorg/graalvm/compiler/graph/NodeInputList;
invokevirtual org.graalvm.compiler.graph.NodeInputList.snapshot:()Ljava/util/List;
astore 6
12: iinc 7 1
13: goto 16
StackMap locals:
StackMap stack:
14: aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifne 16
15: return
16: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.nodes.DynamicDeoptimizeNode.getSpeculation:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 8
start local 8 17: aconst_null
astore 9
start local 9 18: aconst_null
astore 10
start local 10 19: aload 8
instanceof org.graalvm.compiler.nodes.ValuePhiNode
ifeq 25
20: aload 8
checkcast org.graalvm.compiler.nodes.ValuePhiNode
astore 9
21: aload 9
invokevirtual org.graalvm.compiler.nodes.ValuePhiNode.merge:()Lorg/graalvm/compiler/nodes/AbstractMergeNode;
aload 3
if_acmpeq 23
22: return
23: StackMap locals: org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValuePhiNode java.util.List
StackMap stack:
aload 9
invokevirtual org.graalvm.compiler.nodes.ValuePhiNode.values:()Lorg/graalvm/compiler/graph/NodeInputList;
invokevirtual org.graalvm.compiler.graph.NodeInputList.snapshot:()Ljava/util/List;
astore 10
24: iinc 7 1
25: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.phis:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.count:()I
iload 7
if_icmpeq 27
26: return
27: StackMap locals:
StackMap stack:
iconst_0
istore 11
start local 11 28: aload 3
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.cfgPredecessors:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.snapshot:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 13
goto 40
StackMap locals: jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.nodes.DynamicDeoptimizeNode org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.AbstractMergeNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValuePhiNode java.util.List int org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValuePhiNode java.util.List int top java.util.Iterator
StackMap stack:
29: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.AbstractEndNode
astore 12
start local 12 30: aload 6
ifnull 31
aload 6
iload 11
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ValueNode
goto 32
StackMap locals: jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.nodes.DynamicDeoptimizeNode org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.AbstractMergeNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValuePhiNode java.util.List int org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValuePhiNode java.util.List int org.graalvm.compiler.nodes.AbstractEndNode java.util.Iterator
StackMap stack:
31: aload 4
StackMap locals:
StackMap stack: org.graalvm.compiler.nodes.ValueNode
32: astore 14
start local 14 33: aload 10
ifnull 34
aload 10
iload 11
iinc 11 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ValueNode
goto 35
StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
34: aload 8
StackMap locals:
StackMap stack: org.graalvm.compiler.nodes.ValueNode
35: astore 15
start local 15 36: aload 14
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 40
aload 15
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 40
aload 15
invokevirtual org.graalvm.compiler.nodes.ValueNode.asConstant:()Ljdk/vm/ci/meta/Constant;
getstatic jdk.vm.ci.meta.JavaConstant.NULL_POINTER:Ljdk/vm/ci/meta/JavaConstant;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 38
37: goto 40
38: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 0
aload 14
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.decodeDeoptReason:(Ljdk/vm/ci/meta/JavaConstant;)Ljdk/vm/ci/meta/DeoptimizationReason;
astore 16
start local 16 39: aload 1
aload 12
invokevirtual org.graalvm.compiler.nodes.AbstractEndNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
aload 16
aconst_null
invokestatic org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.tryUseTrappingNullCheck:(Lorg/graalvm/compiler/nodes/AbstractDeoptimizeNode;Lorg/graalvm/compiler/graph/Node;Ljdk/vm/ci/meta/DeoptimizationReason;Ljdk/vm/ci/meta/JavaConstant;)V
end local 16 end local 15 end local 14 end local 12 40: StackMap locals: jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.nodes.DynamicDeoptimizeNode org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.AbstractMergeNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValuePhiNode java.util.List int org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValuePhiNode java.util.List int top java.util.Iterator
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 29
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 41: StackMap locals: jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.nodes.DynamicDeoptimizeNode org.graalvm.compiler.graph.Node
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 metaAccessProvider Ljdk/vm/ci/meta/MetaAccessProvider;
0 42 1 deopt Lorg/graalvm/compiler/nodes/DynamicDeoptimizeNode;
1 42 2 predecessor Lorg/graalvm/compiler/graph/Node;
3 41 3 merge Lorg/graalvm/compiler/nodes/AbstractMergeNode;
4 41 4 reason Lorg/graalvm/compiler/nodes/ValueNode;
5 41 5 reasonPhi Lorg/graalvm/compiler/nodes/ValuePhiNode;
6 41 6 reasons Ljava/util/List<Lorg/graalvm/compiler/nodes/ValueNode;>;
7 41 7 expectedPhis I
17 41 8 speculation Lorg/graalvm/compiler/nodes/ValueNode;
18 41 9 speculationPhi Lorg/graalvm/compiler/nodes/ValuePhiNode;
19 41 10 speculations Ljava/util/List<Lorg/graalvm/compiler/nodes/ValueNode;>;
28 41 11 index I
30 40 12 end Lorg/graalvm/compiler/nodes/AbstractEndNode;
33 40 14 thisReason Lorg/graalvm/compiler/nodes/ValueNode;
36 40 15 thisSpeculation Lorg/graalvm/compiler/nodes/ValueNode;
39 40 16 deoptimizationReason Ljdk/vm/ci/meta/DeoptimizationReason;
MethodParameters:
Name Flags
metaAccessProvider
deopt
private static void tryUseTrappingNullCheck(org.graalvm.compiler.nodes.AbstractDeoptimizeNode, org.graalvm.compiler.graph.Node, jdk.vm.ci.meta.DeoptimizationReason, jdk.vm.ci.meta.JavaConstant);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractDeoptimizeNode;Lorg/graalvm/compiler/graph/Node;Ljdk/vm/ci/meta/DeoptimizationReason;Ljdk/vm/ci/meta/JavaConstant;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
getstatic jdk.vm.ci.meta.DeoptimizationReason.NullCheckException:Ljdk/vm/ci/meta/DeoptimizationReason;
if_acmpeq 2
aload 2
getstatic jdk.vm.ci.meta.DeoptimizationReason.UnreachedCode:Ljdk/vm/ci/meta/DeoptimizationReason;
if_acmpeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 3
ifnull 4
aload 3
getstatic jdk.vm.ci.meta.JavaConstant.NULL_POINTER:Ljdk/vm/ci/meta/JavaConstant;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 4
3: return
4: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.AbstractMergeNode
ifeq 12
5: aload 1
checkcast org.graalvm.compiler.nodes.AbstractMergeNode
astore 4
start local 4 6: aload 4
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.phis:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.isEmpty:()Z
ifeq 14
7: aload 4
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.cfgPredecessors:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.snapshot:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: org.graalvm.compiler.nodes.AbstractDeoptimizeNode org.graalvm.compiler.graph.Node jdk.vm.ci.meta.DeoptimizationReason jdk.vm.ci.meta.JavaConstant org.graalvm.compiler.nodes.AbstractMergeNode top java.util.Iterator
StackMap stack:
8: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.AbstractEndNode
astore 5
start local 5 9: aload 0
aload 5
invokevirtual org.graalvm.compiler.nodes.AbstractEndNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
aload 2
invokestatic org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.checkPredecessor:(Lorg/graalvm/compiler/nodes/AbstractDeoptimizeNode;Lorg/graalvm/compiler/graph/Node;Ljdk/vm/ci/meta/DeoptimizationReason;)V
end local 5 10: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 4 11: goto 14
StackMap locals: org.graalvm.compiler.nodes.AbstractDeoptimizeNode org.graalvm.compiler.graph.Node jdk.vm.ci.meta.DeoptimizationReason jdk.vm.ci.meta.JavaConstant
StackMap stack:
12: aload 1
instanceof org.graalvm.compiler.nodes.AbstractBeginNode
ifeq 14
13: aload 0
aload 1
aload 2
invokestatic org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.checkPredecessor:(Lorg/graalvm/compiler/nodes/AbstractDeoptimizeNode;Lorg/graalvm/compiler/graph/Node;Ljdk/vm/ci/meta/DeoptimizationReason;)V
14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 deopt Lorg/graalvm/compiler/nodes/AbstractDeoptimizeNode;
0 15 1 predecessor Lorg/graalvm/compiler/graph/Node;
0 15 2 deoptimizationReason Ljdk/vm/ci/meta/DeoptimizationReason;
0 15 3 speculation Ljdk/vm/ci/meta/JavaConstant;
6 11 4 merge Lorg/graalvm/compiler/nodes/AbstractMergeNode;
9 10 5 end Lorg/graalvm/compiler/nodes/AbstractEndNode;
MethodParameters:
Name Flags
deopt
predecessor
deoptimizationReason
speculation
private static void checkPredecessor(org.graalvm.compiler.nodes.AbstractDeoptimizeNode, org.graalvm.compiler.graph.Node, jdk.vm.ci.meta.DeoptimizationReason);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractDeoptimizeNode;Lorg/graalvm/compiler/graph/Node;Ljdk/vm/ci/meta/DeoptimizationReason;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: goto 7
3: StackMap locals: org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.AbstractBeginNode
StackMap stack:
aload 3
checkcast org.graalvm.compiler.nodes.AbstractBeginNode
astore 4
4: aload 4
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.anchored:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.isNotEmpty:()Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.graph.Node.predecessor:()Lorg/graalvm/compiler/graph/Node;
astore 3
7: StackMap locals:
StackMap stack:
aload 3
instanceof org.graalvm.compiler.nodes.AbstractBeginNode
ifne 3
8: aload 3
instanceof org.graalvm.compiler.nodes.IfNode
ifeq 15
9: aload 3
checkcast org.graalvm.compiler.nodes.IfNode
astore 5
start local 5 10: aload 4
aload 5
invokevirtual org.graalvm.compiler.nodes.IfNode.trueSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
if_acmpeq 12
11: return
12: StackMap locals: org.graalvm.compiler.nodes.IfNode
StackMap stack:
aload 5
invokevirtual org.graalvm.compiler.nodes.IfNode.condition:()Lorg/graalvm/compiler/nodes/LogicNode;
astore 6
start local 6 13: aload 6
instanceof org.graalvm.compiler.nodes.calc.IsNullNode
ifeq 15
14: aload 0
aload 5
aload 6
aload 2
invokestatic org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.replaceWithTrappingNullCheck:(Lorg/graalvm/compiler/nodes/AbstractDeoptimizeNode;Lorg/graalvm/compiler/nodes/IfNode;Lorg/graalvm/compiler/nodes/LogicNode;Ljdk/vm/ci/meta/DeoptimizationReason;)V
end local 6 end local 5 15: 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 16 0 deopt Lorg/graalvm/compiler/nodes/AbstractDeoptimizeNode;
0 16 1 predecessor Lorg/graalvm/compiler/graph/Node;
0 16 2 deoptimizationReason Ljdk/vm/ci/meta/DeoptimizationReason;
1 16 3 current Lorg/graalvm/compiler/graph/Node;
2 16 4 branch Lorg/graalvm/compiler/nodes/AbstractBeginNode;
10 15 5 ifNode Lorg/graalvm/compiler/nodes/IfNode;
13 15 6 condition Lorg/graalvm/compiler/nodes/LogicNode;
MethodParameters:
Name Flags
deopt
predecessor
deoptimizationReason
private static void replaceWithTrappingNullCheck(org.graalvm.compiler.nodes.AbstractDeoptimizeNode, org.graalvm.compiler.nodes.IfNode, org.graalvm.compiler.nodes.LogicNode, jdk.vm.ci.meta.DeoptimizationReason);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractDeoptimizeNode;Lorg/graalvm/compiler/nodes/IfNode;Lorg/graalvm/compiler/nodes/LogicNode;Ljdk/vm/ci/meta/DeoptimizationReason;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.counterTrappingNullCheck:Lorg/graalvm/compiler/debug/DebugCounter;
invokeinterface org.graalvm.compiler.debug.DebugCounter.increment:()V
1: aload 0
instanceof org.graalvm.compiler.nodes.DynamicDeoptimizeNode
ifeq 3
2: getstatic org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.counterTrappingNullCheckDynamicDeoptimize:Lorg/graalvm/compiler/debug/DebugCounter;
invokeinterface org.graalvm.compiler.debug.DebugCounter.increment:()V
3: StackMap locals:
StackMap stack:
aload 3
getstatic jdk.vm.ci.meta.DeoptimizationReason.UnreachedCode:Ljdk/vm/ci/meta/DeoptimizationReason;
if_acmpne 5
4: getstatic org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.counterTrappingNullCheckUnreached:Lorg/graalvm/compiler/debug/DebugCounter;
invokeinterface org.graalvm.compiler.debug.DebugCounter.increment:()V
5: StackMap locals:
StackMap stack:
aload 2
checkcast org.graalvm.compiler.nodes.calc.IsNullNode
astore 4
start local 4 6: aload 1
invokevirtual org.graalvm.compiler.nodes.IfNode.falseSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
astore 5
start local 5 7: aload 1
invokevirtual org.graalvm.compiler.nodes.IfNode.trueSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
astore 6
start local 6 8: aload 0
invokevirtual org.graalvm.compiler.nodes.AbstractDeoptimizeNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
new org.graalvm.compiler.nodes.extended.NullCheckNode
dup
aload 4
invokevirtual org.graalvm.compiler.nodes.calc.IsNullNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
invokespecial org.graalvm.compiler.nodes.extended.NullCheckNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.extended.NullCheckNode
astore 7
start local 7 9: aload 7
aload 0
invokevirtual org.graalvm.compiler.nodes.AbstractDeoptimizeNode.stateBefore:()Lorg/graalvm/compiler/nodes/FrameState;
invokevirtual org.graalvm.compiler.nodes.extended.NullCheckNode.setStateBefore:(Lorg/graalvm/compiler/nodes/FrameState;)V
10: aload 0
invokevirtual org.graalvm.compiler.nodes.AbstractDeoptimizeNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 1
aload 7
aload 5
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.replaceSplit:(Lorg/graalvm/compiler/nodes/ControlSplitNode;Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/AbstractBeginNode;)V
11: aload 5
getstatic org.graalvm.compiler.nodeinfo.InputType.Guard:Lorg/graalvm/compiler/nodeinfo/InputType;
aload 7
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.replaceAtUsages:(Lorg/graalvm/compiler/nodeinfo/InputType;Lorg/graalvm/compiler/graph/Node;)V
12: aload 5
instanceof org.graalvm.compiler.nodes.BeginNode
ifeq 18
13: aload 5
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 8
start local 8 14: aload 5
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.clearSuccessors:()V
15: aload 7
aload 8
invokevirtual org.graalvm.compiler.nodes.extended.NullCheckNode.setNext:(Lorg/graalvm/compiler/nodes/FixedNode;)V
16: aload 5
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.safeDelete:()V
end local 8 17: goto 19
18: StackMap locals: org.graalvm.compiler.nodes.AbstractDeoptimizeNode org.graalvm.compiler.nodes.IfNode org.graalvm.compiler.nodes.LogicNode jdk.vm.ci.meta.DeoptimizationReason org.graalvm.compiler.nodes.calc.IsNullNode org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.AbstractBeginNode org.graalvm.compiler.nodes.extended.NullCheckNode
StackMap stack:
aload 7
aload 5
invokevirtual org.graalvm.compiler.nodes.extended.NullCheckNode.setNext:(Lorg/graalvm/compiler/nodes/FixedNode;)V
19: StackMap locals:
StackMap stack:
aload 6
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.killCFG:(Lorg/graalvm/compiler/nodes/FixedNode;)V
20: aload 4
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.tryKillUnused:(Lorg/graalvm/compiler/graph/Node;)Z
pop
21: 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 22 0 deopt Lorg/graalvm/compiler/nodes/AbstractDeoptimizeNode;
0 22 1 ifNode Lorg/graalvm/compiler/nodes/IfNode;
0 22 2 condition Lorg/graalvm/compiler/nodes/LogicNode;
0 22 3 deoptimizationReason Ljdk/vm/ci/meta/DeoptimizationReason;
6 22 4 isNullNode Lorg/graalvm/compiler/nodes/calc/IsNullNode;
7 22 5 nonTrappingContinuation Lorg/graalvm/compiler/nodes/AbstractBeginNode;
8 22 6 trappingContinuation Lorg/graalvm/compiler/nodes/AbstractBeginNode;
9 22 7 trappingNullCheck Lorg/graalvm/compiler/nodes/extended/NullCheckNode;
14 17 8 next Lorg/graalvm/compiler/nodes/FixedNode;
MethodParameters:
Name Flags
deopt
ifNode
condition
deoptimizationReason
protected void run(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.phases.tiers.LowTierContext
invokevirtual org.graalvm.compiler.phases.common.UseTrappingNullChecksPhase.run:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/LowTierContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/phases/BasePhase<Lorg/graalvm/compiler/phases/tiers/LowTierContext;>;
SourceFile: "UseTrappingNullChecksPhase.java"
InnerClasses:
public final GuardsStage = org.graalvm.compiler.nodes.StructuredGraph$GuardsStage of org.graalvm.compiler.nodes.StructuredGraph