public final class org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList extends org.graalvm.compiler.graph.NodeWorkList
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList
super_class: org.graalvm.compiler.graph.NodeWorkList
{
private static final int EXPLICIT_BITMAP_THRESHOLD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
protected org.graalvm.compiler.graph.NodeBitMap inQueue;
descriptor: Lorg/graalvm/compiler/graph/NodeBitMap;
flags: (0x0004) ACC_PROTECTED
private final org.graalvm.compiler.debug.DebugContext debug;
descriptor: Lorg/graalvm/compiler/debug/DebugContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int iterationLimit;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.graalvm.compiler.graph.Node firstNoChange;
descriptor: Lorg/graalvm/compiler/graph/Node;
flags: (0x0002) ACC_PRIVATE
private org.graalvm.compiler.graph.Node lastPull;
descriptor: Lorg/graalvm/compiler/graph/Node;
flags: (0x0002) ACC_PRIVATE
private org.graalvm.compiler.graph.Node lastChain;
descriptor: Lorg/graalvm/compiler/graph/Node;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/graph/NodeWorkList;
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.graph.NodeWorkList$IterativeNodeWorkList.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.graph.Graph, boolean, int);
descriptor: (Lorg/graalvm/compiler/graph/Graph;ZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
invokespecial org.graalvm.compiler.graph.NodeWorkList.<init>:(Lorg/graalvm/compiler/graph/Graph;Z)V
1: aload 0
aload 1
invokevirtual org.graalvm.compiler.graph.Graph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
putfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.debug:Lorg/graalvm/compiler/debug/DebugContext;
2: getstatic org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.$assertionsDisabled:Z
ifne 3
iload 3
ifgt 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList org.graalvm.compiler.graph.Graph int int
StackMap stack:
iload 3
i2l
aload 1
invokevirtual org.graalvm.compiler.graph.Graph.getNodeCount:()I
i2l
lmul
lstore 4
start local 4 4: aload 0
ldc 2147483647
lload 4
invokestatic java.lang.Long.min:(JJ)J
l2i
putfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.iterationLimit:I
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/graph/NodeWorkList$IterativeNodeWorkList;
0 6 1 graph Lorg/graalvm/compiler/graph/Graph;
0 6 2 fill Z
0 6 3 iterationLimitPerNode I
4 6 4 limit J
MethodParameters:
Name Flags
graph
fill
iterationLimitPerNode
public java.util.Iterator<org.graalvm.compiler.graph.Node> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList$1
dup
aload 0
aload 0
invokespecial org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList$1.<init>:(Lorg/graalvm/compiler/graph/NodeWorkList$IterativeNodeWorkList;Lorg/graalvm/compiler/graph/NodeWorkList;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/graph/NodeWorkList$IterativeNodeWorkList;
Signature: ()Ljava/util/Iterator<Lorg/graalvm/compiler/graph/Node;>;
public void add(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 15
1: aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.inQueue:Lorg/graalvm/compiler/graph/NodeBitMap;
ifnonnull 3
aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.worklist:Ljava/util/Queue;
invokeinterface java.util.Queue.size:()I
bipush 10
if_icmple 3
2: aload 0
aload 1
invokevirtual org.graalvm.compiler.graph.Node.graph:()Lorg/graalvm/compiler/graph/Graph;
invokevirtual org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.inflateToBitMap:(Lorg/graalvm/compiler/graph/Graph;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.inQueue:Lorg/graalvm/compiler/graph/NodeBitMap;
ifnull 6
4: aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.inQueue:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarkedAndGrow:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 11
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.worklist:Ljava/util/Queue;
invokeinterface java.util.Queue.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList org.graalvm.compiler.graph.Node top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 8: aload 2
aload 1
if_acmpne 10
9: return
end local 2 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
11: StackMap locals: org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList org.graalvm.compiler.graph.Node
StackMap stack:
getstatic org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.$assertionsDisabled:Z
ifne 12
aload 0
aload 1
invokevirtual org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.checkInfiniteWork:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 12
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Re-added "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.inQueue:Lorg/graalvm/compiler/graph/NodeBitMap;
ifnull 14
13: aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.inQueue:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeBitMap.markAndGrow:(Lorg/graalvm/compiler/graph/Node;)V
14: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.worklist:Ljava/util/Queue;
aload 1
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/graph/NodeWorkList$IterativeNodeWorkList;
0 16 1 node Lorg/graalvm/compiler/graph/Node;
8 10 2 queuedNode Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
public boolean contains(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.inQueue:Lorg/graalvm/compiler/graph/NodeBitMap;
ifnull 2
1: aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.inQueue:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.worklist:Ljava/util/Queue;
invokeinterface java.util.Queue.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList org.graalvm.compiler.graph.Node top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 4: aload 2
aload 1
if_acmpne 6
5: iconst_1
ireturn
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/graph/NodeWorkList$IterativeNodeWorkList;
0 8 1 node Lorg/graalvm/compiler/graph/Node;
4 6 2 queuedNode Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
private boolean checkInfiniteWork(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.lastPull:Lorg/graalvm/compiler/graph/Node;
aload 1
if_acmpne 9
aload 1
invokevirtual org.graalvm.compiler.graph.Node.hasNoUsages:()Z
ifne 9
1: aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.firstNoChange:Lorg/graalvm/compiler/graph/Node;
ifnonnull 5
2: aload 0
aload 1
putfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.firstNoChange:Lorg/graalvm/compiler/graph/Node;
3: aload 0
aload 1
putfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.lastChain:Lorg/graalvm/compiler/graph/Node;
4: goto 10
StackMap locals:
StackMap stack:
5: aload 1
aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.firstNoChange:Lorg/graalvm/compiler/graph/Node;
if_acmpne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.lastChain:Lorg/graalvm/compiler/graph/Node;
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.firstNoChange:Lorg/graalvm/compiler/graph/Node;
10: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/graph/NodeWorkList$IterativeNodeWorkList;
0 11 1 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
private void inflateToBitMap(org.graalvm.compiler.graph.Graph);
descriptor: (Lorg/graalvm/compiler/graph/Graph;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.inQueue:Lorg/graalvm/compiler/graph/NodeBitMap;
ifnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.graalvm.compiler.graph.Graph.createNodeBitMap:()Lorg/graalvm/compiler/graph/NodeBitMap;
putfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.inQueue:Lorg/graalvm/compiler/graph/NodeBitMap;
2: aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.worklist:Ljava/util/Queue;
invokeinterface java.util.Queue.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList org.graalvm.compiler.graph.Graph top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 4: aload 2
invokevirtual org.graalvm.compiler.graph.Node.isAlive:()Z
ifeq 6
5: aload 0
getfield org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList.inQueue:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 2
invokevirtual org.graalvm.compiler.graph.NodeBitMap.mark:(Lorg/graalvm/compiler/graph/Node;)V
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/graph/NodeWorkList$IterativeNodeWorkList;
0 8 1 graph Lorg/graalvm/compiler/graph/Graph;
4 6 2 queuedNode Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
graph
}
SourceFile: "NodeWorkList.java"
NestHost: org.graalvm.compiler.graph.NodeWorkList
InnerClasses:
public final IterativeNodeWorkList = org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList of org.graalvm.compiler.graph.NodeWorkList
org.graalvm.compiler.graph.NodeWorkList$IterativeNodeWorkList$1