public class org.graalvm.compiler.phases.common.FloatingReadPhase extends org.graalvm.compiler.phases.Phase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.phases.common.FloatingReadPhase
super_class: org.graalvm.compiler.phases.Phase
{
private boolean createFloatingReads;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean createMemoryMapNodes;
descriptor: Z
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/phases/common/FloatingReadPhase;
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.FloatingReadPhase.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
iconst_0
invokespecial org.graalvm.compiler.phases.common.FloatingReadPhase.<init>:(ZZ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/phases/common/FloatingReadPhase;
public void <init>(boolean, boolean);
descriptor: (ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.graalvm.compiler.phases.Phase.<init>:()V
1: aload 0
iload 1
putfield org.graalvm.compiler.phases.common.FloatingReadPhase.createFloatingReads:Z
2: aload 0
iload 2
putfield org.graalvm.compiler.phases.common.FloatingReadPhase.createMemoryMapNodes:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/phases/common/FloatingReadPhase;
0 4 1 createFloatingReads Z
0 4 2 createMemoryMapNodes Z
MethodParameters:
Name Flags
createFloatingReads
createMemoryMapNodes
public float codeSizeIncrease();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc 1.25
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/phases/common/FloatingReadPhase;
private static java.util.Set<org.graalvm.compiler.graph.Node> removeExternallyUsedNodes(java.util.Set<org.graalvm.compiler.graph.Node>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 1: aload 0
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 11
3: StackMap locals: int java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 3
start local 3 4: aload 3
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 5
goto 10
StackMap locals: java.util.Set int java.util.Iterator org.graalvm.compiler.graph.Node top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 4
start local 4 6: aload 0
aload 4
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 10
7: iconst_1
istore 1
8: aload 2
invokeinterface java.util.Iterator.remove:()V
9: goto 11
end local 4 10: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 3 11: StackMap locals: java.util.Set int java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 2 12: iload 1
ifne 0
13: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 set Ljava/util/Set<Lorg/graalvm/compiler/graph/Node;>;
1 14 1 change Z
2 12 2 iter Ljava/util/Iterator<Lorg/graalvm/compiler/graph/Node;>;
4 11 3 node Lorg/graalvm/compiler/graph/Node;
6 10 4 usage Lorg/graalvm/compiler/graph/Node;
Signature: (Ljava/util/Set<Lorg/graalvm/compiler/graph/Node;>;)Ljava/util/Set<Lorg/graalvm/compiler/graph/Node;>;
MethodParameters:
Name Flags
set
protected void processNode(org.graalvm.compiler.nodes.FixedNode, java.util.Set<org.graalvm.compiler.core.common.LocationIdentity>);
descriptor: (Lorg/graalvm/compiler/nodes/FixedNode;Ljava/util/Set;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.graalvm.compiler.nodes.memory.MemoryCheckpoint$Single
ifeq 3
1: aload 2
aload 1
checkcast org.graalvm.compiler.nodes.memory.MemoryCheckpoint$Single
invokeinterface org.graalvm.compiler.nodes.memory.MemoryCheckpoint$Single.getLocationIdentity:()Lorg/graalvm/compiler/core/common/LocationIdentity;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: goto 9
StackMap locals:
StackMap stack:
3: aload 1
instanceof org.graalvm.compiler.nodes.memory.MemoryCheckpoint$Multi
ifeq 9
4: aload 1
checkcast org.graalvm.compiler.nodes.memory.MemoryCheckpoint$Multi
invokeinterface org.graalvm.compiler.nodes.memory.MemoryCheckpoint$Multi.getLocationIdentities:()[Lorg/graalvm/compiler/core/common/LocationIdentity;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: org.graalvm.compiler.phases.common.FloatingReadPhase org.graalvm.compiler.nodes.FixedNode java.util.Set top int int org.graalvm.compiler.core.common.LocationIdentity[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 2
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 3 7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 5
9: StackMap locals: org.graalvm.compiler.phases.common.FloatingReadPhase org.graalvm.compiler.nodes.FixedNode java.util.Set
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/phases/common/FloatingReadPhase;
0 10 1 node Lorg/graalvm/compiler/nodes/FixedNode;
0 10 2 currentState Ljava/util/Set<Lorg/graalvm/compiler/core/common/LocationIdentity;>;
6 7 3 identity Lorg/graalvm/compiler/core/common/LocationIdentity;
Signature: (Lorg/graalvm/compiler/nodes/FixedNode;Ljava/util/Set<Lorg/graalvm/compiler/core/common/LocationIdentity;>;)V
MethodParameters:
Name Flags
node
currentState
protected void processBlock(org.graalvm.compiler.nodes.cfg.Block, java.util.Set<org.graalvm.compiler.core.common.LocationIdentity>);
descriptor: (Lorg/graalvm/compiler/nodes/cfg/Block;Ljava/util/Set;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getNodes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 3
StackMap locals: org.graalvm.compiler.phases.common.FloatingReadPhase org.graalvm.compiler.nodes.cfg.Block java.util.Set top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.FixedNode
astore 3
start local 3 2: aload 0
aload 3
aload 2
invokevirtual org.graalvm.compiler.phases.common.FloatingReadPhase.processNode:(Lorg/graalvm/compiler/nodes/FixedNode;Ljava/util/Set;)V
end local 3 3: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/phases/common/FloatingReadPhase;
0 5 1 b Lorg/graalvm/compiler/nodes/cfg/Block;
0 5 2 currentState Ljava/util/Set<Lorg/graalvm/compiler/core/common/LocationIdentity;>;
2 3 3 n Lorg/graalvm/compiler/nodes/FixedNode;
Signature: (Lorg/graalvm/compiler/nodes/cfg/Block;Ljava/util/Set<Lorg/graalvm/compiler/core/common/LocationIdentity;>;)V
MethodParameters:
Name Flags
b
currentState
private java.util.Set<org.graalvm.compiler.core.common.LocationIdentity> processLoop(org.graalvm.compiler.nodes.cfg.HIRLoop, java.util.Map<org.graalvm.compiler.nodes.LoopBeginNode, java.util.Set<org.graalvm.compiler.core.common.LocationIdentity>>);
descriptor: (Lorg/graalvm/compiler/nodes/cfg/HIRLoop;Ljava/util/Map;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.cfg.HIRLoop.getHeader:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
checkcast org.graalvm.compiler.nodes.cfg.Block
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getBeginNode:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
checkcast org.graalvm.compiler.nodes.LoopBeginNode
astore 3
start local 3 1: aload 2
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 4
start local 4 2: aload 4
ifnull 4
3: aload 4
areturn
4: StackMap locals: org.graalvm.compiler.nodes.LoopBeginNode java.util.Set
StackMap stack:
invokestatic org.graalvm.compiler.core.common.CollectionsFactory.newSet:()Ljava/util/Set;
astore 4
5: aload 1
invokevirtual org.graalvm.compiler.nodes.cfg.HIRLoop.getChildren:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: org.graalvm.compiler.phases.common.FloatingReadPhase org.graalvm.compiler.nodes.cfg.HIRLoop java.util.Map org.graalvm.compiler.nodes.LoopBeginNode java.util.Set top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.cfg.Loop
astore 5
start local 5 7: aload 4
aload 0
aload 5
checkcast org.graalvm.compiler.nodes.cfg.HIRLoop
aload 2
invokevirtual org.graalvm.compiler.phases.common.FloatingReadPhase.processLoop:(Lorg/graalvm/compiler/nodes/cfg/HIRLoop;Ljava/util/Map;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 1
invokevirtual org.graalvm.compiler.nodes.cfg.HIRLoop.getBlocks:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals:
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 5
start local 5 11: aload 5
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getLoop:()Lorg/graalvm/compiler/core/common/cfg/Loop;
aload 1
if_acmpne 13
12: aload 0
aload 5
aload 4
invokevirtual org.graalvm.compiler.phases.common.FloatingReadPhase.processBlock:(Lorg/graalvm/compiler/nodes/cfg/Block;Ljava/util/Set;)V
end local 5 13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
14: aload 2
aload 3
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/phases/common/FloatingReadPhase;
0 16 1 loop Lorg/graalvm/compiler/nodes/cfg/HIRLoop;
0 16 2 modifiedInLoops Ljava/util/Map<Lorg/graalvm/compiler/nodes/LoopBeginNode;Ljava/util/Set<Lorg/graalvm/compiler/core/common/LocationIdentity;>;>;
1 16 3 loopBegin Lorg/graalvm/compiler/nodes/LoopBeginNode;
2 16 4 result Ljava/util/Set<Lorg/graalvm/compiler/core/common/LocationIdentity;>;
7 8 5 inner Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;
11 13 5 b Lorg/graalvm/compiler/nodes/cfg/Block;
Signature: (Lorg/graalvm/compiler/nodes/cfg/HIRLoop;Ljava/util/Map<Lorg/graalvm/compiler/nodes/LoopBeginNode;Ljava/util/Set<Lorg/graalvm/compiler/core/common/LocationIdentity;>;>;)Ljava/util/Set<Lorg/graalvm/compiler/core/common/LocationIdentity;>;
MethodParameters:
Name Flags
loop
modifiedInLoops
protected void run(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.hasLoops:()Z
ifeq 9
2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
3: aload 1
iconst_1
iconst_1
iconst_0
iconst_0
invokestatic org.graalvm.compiler.nodes.cfg.ControlFlowGraph.compute:(Lorg/graalvm/compiler/nodes/StructuredGraph;ZZZZ)Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
astore 3
start local 3 4: aload 3
invokevirtual org.graalvm.compiler.nodes.cfg.ControlFlowGraph.getLoops:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: org.graalvm.compiler.phases.common.FloatingReadPhase org.graalvm.compiler.nodes.StructuredGraph java.util.Map org.graalvm.compiler.nodes.cfg.ControlFlowGraph top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.cfg.Loop
astore 4
start local 4 6: aload 4
checkcast org.graalvm.compiler.nodes.cfg.HIRLoop
astore 6
start local 6 7: aload 0
aload 6
aload 2
invokevirtual org.graalvm.compiler.phases.common.FloatingReadPhase.processLoop:(Lorg/graalvm/compiler/nodes/cfg/HIRLoop;Ljava/util/Map;)Ljava/util/Set;
pop
end local 6 end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 3 9: StackMap locals: org.graalvm.compiler.phases.common.FloatingReadPhase org.graalvm.compiler.nodes.StructuredGraph java.util.Map
StackMap stack:
new org.graalvm.compiler.phases.common.util.HashSetNodeEventListener
dup
getstatic org.graalvm.compiler.graph.Graph$NodeEvent.NODE_ADDED:Lorg/graalvm/compiler/graph/Graph$NodeEvent;
getstatic org.graalvm.compiler.graph.Graph$NodeEvent.ZERO_USAGES:Lorg/graalvm/compiler/graph/Graph$NodeEvent;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
invokespecial org.graalvm.compiler.phases.common.util.HashSetNodeEventListener.<init>:(Ljava/util/Set;)V
astore 3
start local 3 10: aconst_null
astore 4
aconst_null
astore 5
11: aload 1
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.trackNodeEvents:(Lorg/graalvm/compiler/graph/Graph$NodeEventListener;)Lorg/graalvm/compiler/graph/Graph$NodeEventScope;
astore 6
start local 6 12: new org.graalvm.compiler.phases.common.FloatingReadPhase$FloatingReadClosure
dup
aload 2
aload 0
getfield org.graalvm.compiler.phases.common.FloatingReadPhase.createFloatingReads:Z
aload 0
getfield org.graalvm.compiler.phases.common.FloatingReadPhase.createMemoryMapNodes:Z
invokespecial org.graalvm.compiler.phases.common.FloatingReadPhase$FloatingReadClosure.<init>:(Ljava/util/Map;ZZ)V
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
new org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl
dup
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
invokespecial org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl.<init>:(Lorg/graalvm/compiler/nodes/StartNode;)V
invokestatic org.graalvm.compiler.phases.graph.ReentrantNodeIterator.apply:(Lorg/graalvm/compiler/phases/graph/ReentrantNodeIterator$NodeIteratorClosure;Lorg/graalvm/compiler/nodes/FixedNode;Ljava/lang/Object;)V
13: aload 6
ifnull 19
aload 6
invokevirtual org.graalvm.compiler.graph.Graph$NodeEventScope.close:()V
goto 19
StackMap locals: org.graalvm.compiler.phases.common.FloatingReadPhase org.graalvm.compiler.nodes.StructuredGraph java.util.Map org.graalvm.compiler.phases.common.util.HashSetNodeEventListener java.lang.Throwable java.lang.Throwable org.graalvm.compiler.graph.Graph$NodeEventScope
StackMap stack: java.lang.Throwable
14: astore 4
aload 6
ifnull 15
aload 6
invokevirtual org.graalvm.compiler.graph.Graph$NodeEventScope.close:()V
end local 6 StackMap locals:
StackMap stack:
15: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 5
aload 4
ifnonnull 17
aload 5
astore 4
goto 18
StackMap locals:
StackMap stack:
17: aload 4
aload 5
if_acmpeq 18
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
18: aload 4
athrow
19: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.phases.common.util.HashSetNodeEventListener.getNodes:()Ljava/util/Set;
invokestatic org.graalvm.compiler.phases.common.FloatingReadPhase.removeExternallyUsedNodes:(Ljava/util/Set;)Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 24
StackMap locals: org.graalvm.compiler.phases.common.FloatingReadPhase org.graalvm.compiler.nodes.StructuredGraph java.util.Map org.graalvm.compiler.phases.common.util.HashSetNodeEventListener top java.util.Iterator
StackMap stack:
20: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 4
start local 4 21: aload 4
invokevirtual org.graalvm.compiler.graph.Node.isAlive:()Z
ifeq 24
aload 4
instanceof org.graalvm.compiler.nodes.calc.FloatingNode
ifeq 24
22: aload 4
aconst_null
invokevirtual org.graalvm.compiler.graph.Node.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;)V
23: aload 4
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.killWithUnusedFloatingInputs:(Lorg/graalvm/compiler/graph/Node;)V
end local 4 24: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
25: aload 0
getfield org.graalvm.compiler.phases.common.FloatingReadPhase.createFloatingReads:Z
ifeq 28
26: getstatic org.graalvm.compiler.phases.common.FloatingReadPhase.$assertionsDisabled:Z
ifne 27
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.isAfterFloatingReadPhase:()Z
ifeq 27
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
27: StackMap locals: org.graalvm.compiler.phases.common.FloatingReadPhase org.graalvm.compiler.nodes.StructuredGraph java.util.Map org.graalvm.compiler.phases.common.util.HashSetNodeEventListener
StackMap stack:
aload 1
iconst_1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.setAfterFloatingReadPhase:(Z)V
28: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/graalvm/compiler/phases/common/FloatingReadPhase;
0 29 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 29 2 modifiedInLoops Ljava/util/Map<Lorg/graalvm/compiler/nodes/LoopBeginNode;Ljava/util/Set<Lorg/graalvm/compiler/core/common/LocationIdentity;>;>;
4 9 3 cfg Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
6 8 4 l Lorg/graalvm/compiler/core/common/cfg/Loop<*>;
7 8 6 loop Lorg/graalvm/compiler/nodes/cfg/HIRLoop;
10 29 3 listener Lorg/graalvm/compiler/phases/common/util/HashSetNodeEventListener;
12 15 6 nes Lorg/graalvm/compiler/graph/Graph$NodeEventScope;
21 24 4 n Lorg/graalvm/compiler/graph/Node;
Exception table:
from to target type
12 13 14 any
11 16 16 any
MethodParameters:
Name Flags
graph
public static org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl mergeMemoryMaps(org.graalvm.compiler.nodes.AbstractMergeNode, java.util.List<? extends org.graalvm.compiler.nodes.memory.MemoryMap>);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractMergeNode;Ljava/util/List;)Lorg/graalvm/compiler/phases/common/FloatingReadPhase$MemoryMapImpl;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=14, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl
dup
invokespecial org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl.<init>:()V
astore 2
start local 2 1: invokestatic org.graalvm.compiler.core.common.CollectionsFactory.newSet:()Ljava/util/Set;
astore 3
start local 3 2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: org.graalvm.compiler.nodes.AbstractMergeNode java.util.List org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl java.util.Set top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.memory.MemoryMap
astore 4
start local 4 4: aload 3
aload 4
invokeinterface org.graalvm.compiler.nodes.memory.MemoryMap.getLocations:()Ljava/util/Collection;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: getstatic org.graalvm.compiler.phases.common.FloatingReadPhase.$assertionsDisabled:Z
ifne 7
aload 3
invokestatic org.graalvm.compiler.phases.common.FloatingReadPhase.checkNoImmutableLocations:(Ljava/util/Set;)Z
ifne 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: org.graalvm.compiler.nodes.AbstractMergeNode java.util.List org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl java.util.Set
StackMap stack:
aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 34
StackMap locals: org.graalvm.compiler.nodes.AbstractMergeNode java.util.List org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl java.util.Set top java.util.Iterator
StackMap stack:
8: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.LocationIdentity
astore 4
start local 4 9: iconst_0
istore 6
start local 6 10: iconst_0
istore 7
start local 7 11: aconst_null
astore 8
start local 8 12: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 32
StackMap locals: org.graalvm.compiler.nodes.AbstractMergeNode java.util.List org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl java.util.Set org.graalvm.compiler.core.common.LocationIdentity java.util.Iterator int int org.graalvm.compiler.nodes.memory.MemoryNode top java.util.Iterator
StackMap stack:
13: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.memory.MemoryMap
astore 9
start local 9 14: aload 9
aload 4
invokeinterface org.graalvm.compiler.nodes.memory.MemoryMap.getLastLocationAccess:(Lorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/nodes/memory/MemoryNode;
astore 11
start local 11 15: iload 7
ifeq 18
16: aload 8
checkcast org.graalvm.compiler.nodes.memory.MemoryPhiNode
aload 11
invokestatic org.graalvm.compiler.nodes.ValueNodeUtil.asNode:(Lorg/graalvm/compiler/nodes/memory/MemoryNode;)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.memory.MemoryPhiNode.addInput:(Lorg/graalvm/compiler/nodes/ValueNode;)V
17: goto 31
18: StackMap locals: org.graalvm.compiler.nodes.AbstractMergeNode java.util.List org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl java.util.Set org.graalvm.compiler.core.common.LocationIdentity java.util.Iterator int int org.graalvm.compiler.nodes.memory.MemoryNode org.graalvm.compiler.nodes.memory.MemoryMap java.util.Iterator org.graalvm.compiler.nodes.memory.MemoryNode
StackMap stack:
aload 8
aload 11
if_acmpeq 31
19: aload 8
ifnonnull 22
20: aload 11
astore 8
21: goto 31
22: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
new org.graalvm.compiler.nodes.memory.MemoryPhiNode
dup
aload 0
aload 4
invokespecial org.graalvm.compiler.nodes.memory.MemoryPhiNode.<init>:(Lorg/graalvm/compiler/nodes/AbstractMergeNode;Lorg/graalvm/compiler/core/common/LocationIdentity;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addWithoutUnique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.memory.MemoryPhiNode
astore 12
start local 12 23: iconst_0
istore 13
start local 13 24: goto 27
25: StackMap locals: org.graalvm.compiler.nodes.memory.MemoryPhiNode int
StackMap stack:
aload 12
aload 8
invokestatic org.graalvm.compiler.nodes.ValueNodeUtil.asNode:(Lorg/graalvm/compiler/nodes/memory/MemoryNode;)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.memory.MemoryPhiNode.addInput:(Lorg/graalvm/compiler/nodes/ValueNode;)V
26: iinc 13 1
StackMap locals:
StackMap stack:
27: iload 13
iload 6
if_icmplt 25
end local 13 28: aload 12
aload 11
invokestatic org.graalvm.compiler.nodes.ValueNodeUtil.asNode:(Lorg/graalvm/compiler/nodes/memory/MemoryNode;)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.memory.MemoryPhiNode.addInput:(Lorg/graalvm/compiler/nodes/ValueNode;)V
29: aload 12
astore 8
30: iconst_1
istore 7
end local 12 31: StackMap locals:
StackMap stack:
iinc 6 1
end local 11 end local 9 32: StackMap locals: org.graalvm.compiler.nodes.AbstractMergeNode java.util.List org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl java.util.Set org.graalvm.compiler.core.common.LocationIdentity java.util.Iterator int int org.graalvm.compiler.nodes.memory.MemoryNode top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
33: aload 2
getfield org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl.lastMemorySnapshot:Ljava/util/Map;
aload 4
aload 8
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 end local 7 end local 6 end local 4 34: StackMap locals: org.graalvm.compiler.nodes.AbstractMergeNode java.util.List org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl java.util.Set top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
35: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 merge Lorg/graalvm/compiler/nodes/AbstractMergeNode;
0 36 1 states Ljava/util/List<+Lorg/graalvm/compiler/nodes/memory/MemoryMap;>;
1 36 2 newState Lorg/graalvm/compiler/phases/common/FloatingReadPhase$MemoryMapImpl;
2 36 3 keys Ljava/util/Set<Lorg/graalvm/compiler/core/common/LocationIdentity;>;
4 5 4 other Lorg/graalvm/compiler/nodes/memory/MemoryMap;
9 34 4 key Lorg/graalvm/compiler/core/common/LocationIdentity;
10 34 6 mergedStatesCount I
11 34 7 isPhi Z
12 34 8 merged Lorg/graalvm/compiler/nodes/memory/MemoryNode;
14 32 9 state Lorg/graalvm/compiler/nodes/memory/MemoryMap;
15 32 11 last Lorg/graalvm/compiler/nodes/memory/MemoryNode;
23 31 12 phi Lorg/graalvm/compiler/nodes/memory/MemoryPhiNode;
24 28 13 j I
Signature: (Lorg/graalvm/compiler/nodes/AbstractMergeNode;Ljava/util/List<+Lorg/graalvm/compiler/nodes/memory/MemoryMap;>;)Lorg/graalvm/compiler/phases/common/FloatingReadPhase$MemoryMapImpl;
MethodParameters:
Name Flags
merge
states
private static boolean checkNoImmutableLocations(java.util.Set<org.graalvm.compiler.core.common.LocationIdentity>);
descriptor: (Ljava/util/Set;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic accept()Ljava/util/function/Consumer;
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;)V
org/graalvm/compiler/phases/common/FloatingReadPhase.lambda$0(Lorg/graalvm/compiler/core/common/LocationIdentity;)V (6)
(Lorg/graalvm/compiler/core/common/LocationIdentity;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 keys Ljava/util/Set<Lorg/graalvm/compiler/core/common/LocationIdentity;>;
Signature: (Ljava/util/Set<Lorg/graalvm/compiler/core/common/LocationIdentity;>;)Z
MethodParameters:
Name Flags
keys
private static void lambda$0(org.graalvm.compiler.core.common.LocationIdentity);
descriptor: (Lorg/graalvm/compiler/core/common/LocationIdentity;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.phases.common.FloatingReadPhase.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.graalvm.compiler.core.common.LocationIdentity.isImmutable:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 t Lorg/graalvm/compiler/core/common/LocationIdentity;
}
SourceFile: "FloatingReadPhase.java"
NestMembers:
org.graalvm.compiler.phases.common.FloatingReadPhase$FloatingReadClosure org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final NodeEvent = org.graalvm.compiler.graph.Graph$NodeEvent of org.graalvm.compiler.graph.Graph
public abstract NodeEventListener = org.graalvm.compiler.graph.Graph$NodeEventListener of org.graalvm.compiler.graph.Graph
public final NodeEventScope = org.graalvm.compiler.graph.Graph$NodeEventScope of org.graalvm.compiler.graph.Graph
public abstract Multi = org.graalvm.compiler.nodes.memory.MemoryCheckpoint$Multi of org.graalvm.compiler.nodes.memory.MemoryCheckpoint
public abstract Single = org.graalvm.compiler.nodes.memory.MemoryCheckpoint$Single of org.graalvm.compiler.nodes.memory.MemoryCheckpoint
public FloatingReadClosure = org.graalvm.compiler.phases.common.FloatingReadPhase$FloatingReadClosure of org.graalvm.compiler.phases.common.FloatingReadPhase
public MemoryMapImpl = org.graalvm.compiler.phases.common.FloatingReadPhase$MemoryMapImpl of org.graalvm.compiler.phases.common.FloatingReadPhase
public abstract NodeIteratorClosure = org.graalvm.compiler.phases.graph.ReentrantNodeIterator$NodeIteratorClosure of org.graalvm.compiler.phases.graph.ReentrantNodeIterator