class org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder
super_class: java.lang.Object
{
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/schedule/SchedulePhase;
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.schedule.SchedulePhase$Instance$GuardOrder.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$GuardOrder;
private static void resortGuards(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.graph.NodeMap<org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock>, org.graalvm.compiler.graph.NodeStack);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/graph/NodeMap;Lorg/graalvm/compiler/graph/NodeStack;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.$assertionsDisabled:Z
ifne 1
aload 2
invokevirtual org.graalvm.compiler.graph.NodeStack.isEmpty:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.internal.vm.compiler.collections.Equivalence.IDENTITY:Ljdk/internal/vm/compiler/collections/Equivalence;
invokestatic jdk.internal.vm.compiler.collections.EconomicSet.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicSet;
astore 3
start local 3 2: aload 0
getstatic org.graalvm.compiler.nodes.GuardNode.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 5
goto 7
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.graph.NodeStack jdk.internal.vm.compiler.collections.EconomicSet top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.GuardNode
astore 4
start local 4 4: aload 1
aload 4
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock
astore 6
start local 6 5: getstatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.$assertionsDisabled:Z
ifne 6
aload 6
ifnonnull 6
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "should already be scheduled to a micro-block"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.graph.NodeStack jdk.internal.vm.compiler.collections.EconomicSet org.graalvm.compiler.nodes.GuardNode java.util.Iterator org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock
StackMap stack:
aload 3
aload 6
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 7: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.graph.NodeStack jdk.internal.vm.compiler.collections.EconomicSet top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: getstatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.$assertionsDisabled:Z
ifne 9
aload 3
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.isEmpty:()Z
ifeq 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.graph.NodeStack jdk.internal.vm.compiler.collections.EconomicSet
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.createNodeMap:()Lorg/graalvm/compiler/graph/NodeMap;
astore 4
start local 4 10: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.createNodeBitMap:()Lorg/graalvm/compiler/graph/NodeBitMap;
astore 5
start local 5 11: aload 3
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.iterator:()Ljava/util/Iterator;
astore 7
goto 20
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.graph.NodeStack jdk.internal.vm.compiler.collections.EconomicSet org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.graph.NodeBitMap top java.util.Iterator
StackMap stack:
12: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock
astore 6
start local 6 13: aload 6
aload 2
aload 5
aload 4
invokestatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.resortGuards:(Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;Lorg/graalvm/compiler/graph/NodeStack;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/graph/NodeMap;)Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;
astore 8
start local 8 14: getstatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.$assertionsDisabled:Z
ifne 15
aload 2
invokevirtual org.graalvm.compiler.graph.NodeStack.isEmpty:()Z
ifne 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
15: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.graph.NodeStack jdk.internal.vm.compiler.collections.EconomicSet org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock java.util.Iterator org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock
StackMap stack:
getstatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.$assertionsDisabled:Z
ifne 16
aload 5
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isEmpty:()Z
ifne 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
aload 8
ifnull 20
17: getstatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.$assertionsDisabled:Z
ifne 18
aload 6
invokevirtual org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock.getNodeCount:()I
aload 8
invokevirtual org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock.getNodeCount:()I
if_icmpeq 18
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
18: StackMap locals:
StackMap stack:
aload 6
aload 8
getfield org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock.head:Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$NodeEntry;
putfield org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock.head:Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$NodeEntry;
19: aload 6
aload 8
getfield org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock.tail:Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$NodeEntry;
putfield org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock.tail:Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$NodeEntry;
end local 8 end local 6 20: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.graph.NodeStack jdk.internal.vm.compiler.collections.EconomicSet org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.graph.NodeBitMap top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
21: 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 22 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 22 1 entries Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;>;
0 22 2 stack Lorg/graalvm/compiler/graph/NodeStack;
2 22 3 blocksWithGuards Ljdk/internal/vm/compiler/collections/EconomicSet<Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;>;
4 7 4 guard Lorg/graalvm/compiler/nodes/GuardNode;
5 7 6 block Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;
10 22 4 priorities Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;>;
11 22 5 blockNodes Lorg/graalvm/compiler/graph/NodeBitMap;
13 20 6 block Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;
14 20 8 newBlock Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;
Signature: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;>;Lorg/graalvm/compiler/graph/NodeStack;)V
MethodParameters:
Name Flags
graph
entries
stack
private static org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock resortGuards(org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock, org.graalvm.compiler.graph.NodeStack, org.graalvm.compiler.graph.NodeBitMap, org.graalvm.compiler.graph.NodeMap<org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority>);
descriptor: (Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;Lorg/graalvm/compiler/graph/NodeStack;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/graph/NodeMap;)Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
aload 2
invokestatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.propagatePriority:(Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;Lorg/graalvm/compiler/graph/NodeStack;Lorg/graalvm/compiler/graph/NodeMap;Lorg/graalvm/compiler/graph/NodeBitMap;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 3
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic apply(Lorg/graalvm/compiler/graph/NodeMap;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/graalvm/compiler/graph/NodeMap.get(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object; (5)
(Lorg/graalvm/compiler/nodes/GuardNode;)Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;
astore 4
start local 4 3: aload 4
invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/graalvm/compiler/nodes/StaticDeoptimizingNode.computePriority()Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority; (9 itf)
(Lorg/graalvm/compiler/nodes/GuardNode;)Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;
invokeinterface java.util.Comparator.thenComparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
invokedynamic applyAsInt()Ljava/util/function/ToIntFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)I
org/graalvm/compiler/graph/Node.hashCode()I (5)
(Lorg/graalvm/compiler/nodes/GuardNode;)I
invokeinterface java.util.Comparator.thenComparingInt:(Ljava/util/function/ToIntFunction;)Ljava/util/Comparator;
astore 6
start local 6 4: new java.util.TreeSet
dup
aload 6
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
astore 7
start local 7 5: new org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock
dup
aload 0
invokevirtual org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock.getId:()I
invokespecial org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock.<init>:(I)V
astore 8
start local 8 6: aload 2
astore 9
start local 9 7: aload 9
invokevirtual org.graalvm.compiler.graph.NodeBitMap.invert:()V
8: aload 0
getfield org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock.head:Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$NodeEntry;
astore 10
start local 10 9: goto 12
10: StackMap locals: org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock org.graalvm.compiler.graph.NodeStack org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.graph.NodeMap java.util.function.Function top java.util.Comparator java.util.SortedSet org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$NodeEntry
StackMap stack:
aload 10
getfield org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$NodeEntry.node:Lorg/graalvm/compiler/graph/Node;
aload 1
aload 9
aload 8
aload 7
iconst_0
invokestatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.checkIfAvailable:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeStack;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;Ljava/util/SortedSet;Z)V
11: aload 10
getfield org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$NodeEntry.next:Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$NodeEntry;
astore 10
StackMap locals:
StackMap stack:
12: aload 10
ifnonnull 10
end local 10 13: goto 15
14: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.graph.NodeStack.pop:()Lorg/graalvm/compiler/graph/Node;
aload 1
aload 9
aload 8
aload 7
iconst_1
invokestatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.checkIfAvailable:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeStack;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;Ljava/util/SortedSet;Z)V
15: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.graph.NodeStack.isEmpty:()Z
ifeq 14
16: aload 7
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 10
start local 10 17: aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 20
18: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
aload 1
aload 9
aload 8
iconst_1
invokestatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.addNodeToResort:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeStack;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;Z)V
19: aload 10
invokeinterface java.util.Iterator.remove:()V
end local 10 20: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.graph.NodeStack.isEmpty:()Z
ifeq 15
aload 7
invokeinterface java.util.SortedSet.isEmpty:()Z
ifeq 15
21: aload 2
invokevirtual org.graalvm.compiler.graph.NodeBitMap.clearAll:()V
22: aload 8
areturn
end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 block Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;
0 23 1 stack Lorg/graalvm/compiler/graph/NodeStack;
0 23 2 blockNodes Lorg/graalvm/compiler/graph/NodeBitMap;
0 23 3 priorities Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;>;
3 23 4 transitiveGuardPriorityGetter Ljava/util/function/Function<Lorg/graalvm/compiler/nodes/GuardNode;Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;>;
4 23 6 globalGuardPriorityComparator Ljava/util/Comparator<Lorg/graalvm/compiler/nodes/GuardNode;>;
5 23 7 availableGuards Ljava/util/SortedSet<Lorg/graalvm/compiler/nodes/GuardNode;>;
6 23 8 newBlock Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;
7 23 9 sorted Lorg/graalvm/compiler/graph/NodeBitMap;
9 13 10 e Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$NodeEntry;
17 20 10 iterator Ljava/util/Iterator<Lorg/graalvm/compiler/nodes/GuardNode;>;
Signature: (Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;Lorg/graalvm/compiler/graph/NodeStack;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;>;)Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;
MethodParameters:
Name Flags
block
stack
blockNodes
priorities
private static void checkIfAvailable(org.graalvm.compiler.graph.Node, org.graalvm.compiler.graph.NodeStack, org.graalvm.compiler.graph.NodeBitMap, org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock, java.util.SortedSet<org.graalvm.compiler.nodes.GuardNode>, );
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeStack;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;Ljava/util/SortedSet;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
aload 0
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.graph.Node.inputs:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 7
goto 6
StackMap locals: org.graalvm.compiler.graph.Node org.graalvm.compiler.graph.NodeStack org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock java.util.SortedSet int top java.util.Iterator
StackMap stack:
3: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 6
start local 6 4: aload 2
aload 6
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 6
5: return
end local 6 6: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 0
instanceof org.graalvm.compiler.nodes.GuardNode
ifeq 10
8: aload 4
aload 0
checkcast org.graalvm.compiler.nodes.GuardNode
invokeinterface java.util.SortedSet.add:(Ljava/lang/Object;)Z
pop
9: goto 11
10: StackMap locals: org.graalvm.compiler.graph.Node org.graalvm.compiler.graph.NodeStack org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock java.util.SortedSet int
StackMap stack:
aload 0
aload 1
aload 2
aload 3
iload 5
invokestatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.addNodeToResort:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeStack;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;Z)V
11: 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 12 0 n Lorg/graalvm/compiler/graph/Node;
0 12 1 stack Lorg/graalvm/compiler/graph/NodeStack;
0 12 2 sorted Lorg/graalvm/compiler/graph/NodeBitMap;
0 12 3 newBlock Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;
0 12 4 availableGuardNodes Ljava/util/SortedSet<Lorg/graalvm/compiler/nodes/GuardNode;>;
0 12 5 pushUsages Z
4 6 6 in Lorg/graalvm/compiler/graph/Node;
Signature: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeStack;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;Ljava/util/SortedSet<Lorg/graalvm/compiler/nodes/GuardNode;>;Z)V
MethodParameters:
Name Flags
n
stack
sorted
newBlock
availableGuardNodes
pushUsages
private static void addNodeToResort(org.graalvm.compiler.graph.Node, org.graalvm.compiler.graph.NodeStack, org.graalvm.compiler.graph.NodeBitMap, org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock, boolean);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeStack;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
aload 0
invokevirtual org.graalvm.compiler.graph.NodeBitMap.mark:(Lorg/graalvm/compiler/graph/Node;)V
1: aload 3
aload 0
invokevirtual org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock.add:(Lorg/graalvm/compiler/graph/Node;)V
2: iload 4
ifeq 8
3: aload 0
invokevirtual org.graalvm.compiler.graph.Node.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: org.graalvm.compiler.graph.Node org.graalvm.compiler.graph.NodeStack org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock int top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 5
start local 5 5: aload 2
aload 5
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 7
6: aload 1
aload 5
invokevirtual org.graalvm.compiler.graph.NodeStack.push:(Lorg/graalvm/compiler/graph/Node;)V
end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: StackMap locals: org.graalvm.compiler.graph.Node org.graalvm.compiler.graph.NodeStack org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock int
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 n Lorg/graalvm/compiler/graph/Node;
0 9 1 stack Lorg/graalvm/compiler/graph/NodeStack;
0 9 2 sorted Lorg/graalvm/compiler/graph/NodeBitMap;
0 9 3 newBlock Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;
0 9 4 pushUsages Z
5 7 5 u Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
n
stack
sorted
newBlock
pushUsages
private static boolean propagatePriority(org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock, org.graalvm.compiler.graph.NodeStack, org.graalvm.compiler.graph.NodeMap<org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority>, org.graalvm.compiler.graph.NodeBitMap);
descriptor: (Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;Lorg/graalvm/compiler/graph/NodeStack;Lorg/graalvm/compiler/graph/NodeMap;Lorg/graalvm/compiler/graph/NodeBitMap;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual org.graalvm.compiler.graph.NodeStack.isEmpty:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.$assertionsDisabled:Z
ifne 2
aload 3
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isEmpty:()Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority.highest:()Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;
astore 4
start local 4 3: aload 0
getfield org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock.head:Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$NodeEntry;
astore 5
start local 5 4: goto 18
5: StackMap locals: org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$NodeEntry
StackMap stack:
aload 3
aload 5
getfield org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$NodeEntry.node:Lorg/graalvm/compiler/graph/Node;
invokevirtual org.graalvm.compiler.graph.NodeBitMap.mark:(Lorg/graalvm/compiler/graph/Node;)V
6: aload 5
getfield org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$NodeEntry.node:Lorg/graalvm/compiler/graph/Node;
instanceof org.graalvm.compiler.nodes.GuardNode
ifeq 17
7: aload 5
getfield org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$NodeEntry.node:Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.GuardNode
astore 6
start local 6 8: aload 6
invokevirtual org.graalvm.compiler.nodes.GuardNode.computePriority:()Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;
astore 7
start local 7 9: aload 4
ifnull 15
10: aload 7
aload 4
invokevirtual org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority.isLowerPriorityThan:(Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;)Z
ifeq 13
11: aload 7
astore 4
12: goto 15
StackMap locals: org.graalvm.compiler.nodes.GuardNode org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority
StackMap stack:
13: aload 7
aload 4
invokevirtual org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority.isHigherPriorityThan:(Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;)Z
ifeq 15
14: aconst_null
astore 4
15: StackMap locals:
StackMap stack:
aload 1
aload 6
invokevirtual org.graalvm.compiler.graph.NodeStack.push:(Lorg/graalvm/compiler/graph/Node;)V
16: aload 2
aload 6
aload 7
invokevirtual org.graalvm.compiler.graph.NodeMap.set:(Lorg/graalvm/compiler/graph/Node;Ljava/lang/Object;)V
end local 7 end local 6 17: StackMap locals:
StackMap stack:
aload 5
getfield org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$NodeEntry.next:Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$NodeEntry;
astore 5
StackMap locals:
StackMap stack:
18: aload 5
ifnonnull 5
end local 5 19: aload 4
ifnull 23
20: aload 1
invokevirtual org.graalvm.compiler.graph.NodeStack.clear:()V
21: aload 3
invokevirtual org.graalvm.compiler.graph.NodeBitMap.clearAll:()V
22: iconst_0
ireturn
23: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.graph.NodeStack.pop:()Lorg/graalvm/compiler/graph/Node;
astore 5
start local 5 24: getstatic org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder.$assertionsDisabled:Z
ifne 25
aload 3
aload 5
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 25
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
25: StackMap locals: org.graalvm.compiler.graph.Node
StackMap stack:
aload 2
aload 5
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority
astore 6
start local 6 26: aload 5
invokevirtual org.graalvm.compiler.graph.Node.inputs:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 8
goto 34
StackMap locals: org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock org.graalvm.compiler.graph.NodeStack org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority top java.util.Iterator
StackMap stack:
27: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 7
start local 7 28: aload 3
aload 7
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 30
29: goto 34
30: StackMap locals: org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock org.graalvm.compiler.graph.NodeStack org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority org.graalvm.compiler.graph.Node java.util.Iterator
StackMap stack:
aload 2
aload 7
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority
astore 9
start local 9 31: aload 9
ifnull 32
aload 9
aload 6
invokevirtual org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority.isLowerPriorityThan:(Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;)Z
ifeq 34
32: StackMap locals: org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority
StackMap stack:
aload 2
aload 7
aload 6
invokevirtual org.graalvm.compiler.graph.NodeMap.set:(Lorg/graalvm/compiler/graph/Node;Ljava/lang/Object;)V
33: aload 1
aload 7
invokevirtual org.graalvm.compiler.graph.NodeStack.push:(Lorg/graalvm/compiler/graph/Node;)V
end local 9 end local 7 34: StackMap locals: org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock org.graalvm.compiler.graph.NodeStack org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
end local 6 end local 5 35: aload 1
invokevirtual org.graalvm.compiler.graph.NodeStack.isEmpty:()Z
ifeq 23
36: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 block Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;
0 37 1 stack Lorg/graalvm/compiler/graph/NodeStack;
0 37 2 priorities Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;>;
0 37 3 blockNodes Lorg/graalvm/compiler/graph/NodeBitMap;
3 37 4 lowestPriority Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;
4 19 5 e Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$NodeEntry;
8 17 6 guard Lorg/graalvm/compiler/nodes/GuardNode;
9 17 7 priority Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;
24 35 5 current Lorg/graalvm/compiler/graph/Node;
26 35 6 priority Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;
28 34 7 input Lorg/graalvm/compiler/graph/Node;
31 34 9 inputPriority Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;
Signature: (Lorg/graalvm/compiler/phases/schedule/SchedulePhase$Instance$MicroBlock;Lorg/graalvm/compiler/graph/NodeStack;Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/nodes/StaticDeoptimizingNode$GuardPriority;>;Lorg/graalvm/compiler/graph/NodeBitMap;)Z
MethodParameters:
Name Flags
block
stack
priorities
blockNodes
}
SourceFile: "SchedulePhase.java"
NestHost: org.graalvm.compiler.phases.schedule.SchedulePhase
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final GuardPriority = org.graalvm.compiler.nodes.StaticDeoptimizingNode$GuardPriority of org.graalvm.compiler.nodes.StaticDeoptimizingNode
public Instance = org.graalvm.compiler.phases.schedule.SchedulePhase$Instance of org.graalvm.compiler.phases.schedule.SchedulePhase
private GuardOrder = org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$GuardOrder of org.graalvm.compiler.phases.schedule.SchedulePhase$Instance
private MicroBlock = org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$MicroBlock of org.graalvm.compiler.phases.schedule.SchedulePhase$Instance
private NodeEntry = org.graalvm.compiler.phases.schedule.SchedulePhase$Instance$NodeEntry of org.graalvm.compiler.phases.schedule.SchedulePhase$Instance