public class org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase extends org.graalvm.compiler.phases.Phase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase
super_class: org.graalvm.compiler.phases.Phase
{
private final org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config;
descriptor: Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
flags: (0x0012) ACC_PRIVATE, 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/hotspot/phases/WriteBarrierVerificationPhase;
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.hotspot.phases.WriteBarrierVerificationPhase.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.graalvm.compiler.phases.Phase.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.config:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/phases/WriteBarrierVerificationPhase;
0 3 1 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
MethodParameters:
Name Flags
config
protected void run(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.processWrites:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/phases/WriteBarrierVerificationPhase;
0 2 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
graph
private void processWrites(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 2: aload 2
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.isObjectWrite:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 3
aload 2
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.isObjectArrayRangeWrite:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 8
3: StackMap locals: org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.Node java.util.Iterator
StackMap stack:
aload 2
instanceof org.graalvm.compiler.nodes.memory.WriteNode
ifeq 7
4: aload 2
checkcast org.graalvm.compiler.nodes.memory.WriteNode
astore 4
start local 4 5: aload 4
invokevirtual org.graalvm.compiler.nodes.memory.WriteNode.value:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.type.StampTool.isPointerAlwaysNull:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 7
6: goto 8
end local 4 7: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.validateWrite:(Lorg/graalvm/compiler/graph/Node;)V
end local 2 8: StackMap locals: org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/hotspot/phases/WriteBarrierVerificationPhase;
0 10 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 8 2 node Lorg/graalvm/compiler/graph/Node;
5 7 4 writeNode Lorg/graalvm/compiler/nodes/memory/WriteNode;
MethodParameters:
Name Flags
graph
private void validateWrite(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
invokevirtual org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.hasAttachedBarrier:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.graph.Node.graph:()Lorg/graalvm/compiler/graph/Graph;
invokevirtual org.graalvm.compiler.graph.Graph.createNodeFlood:()Lorg/graalvm/compiler/graph/NodeFlood;
astore 2
start local 2 3: aload 2
aload 1
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.expandFrontier:(Lorg/graalvm/compiler/graph/NodeFlood;Lorg/graalvm/compiler/graph/Node;)V
4: aload 2
invokevirtual org.graalvm.compiler.graph.NodeFlood.iterator:()Ljava/util/Iterator;
astore 3
start local 3 5: goto 16
6: StackMap locals: org.graalvm.compiler.graph.NodeFlood java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 4
start local 4 7: aload 4
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.isSafepoint:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 9
8: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Write barrier must be present "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getstatic org.graalvm.compiler.nodeinfo.Verbosity.All:Lorg/graalvm/compiler/nodeinfo/Verbosity;
invokevirtual org.graalvm.compiler.graph.Node.toString:(Lorg/graalvm/compiler/nodeinfo/Verbosity;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " / "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.graalvm.compiler.graph.Node.inputs:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
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
9: StackMap locals: org.graalvm.compiler.graph.Node
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.useG1GC:()Z
ifeq 13
10: aload 4
instanceof org.graalvm.compiler.hotspot.nodes.G1PostWriteBarrier
ifeq 11
aload 1
checkcast org.graalvm.compiler.nodes.memory.FixedAccessNode
aload 4
checkcast org.graalvm.compiler.hotspot.nodes.ObjectWriteBarrier
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.validateBarrier:(Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/hotspot/nodes/ObjectWriteBarrier;)Z
ifne 16
11: StackMap locals:
StackMap stack:
aload 2
aload 4
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.expandFrontier:(Lorg/graalvm/compiler/graph/NodeFlood;Lorg/graalvm/compiler/graph/Node;)V
12: goto 16
13: StackMap locals:
StackMap stack:
aload 4
instanceof org.graalvm.compiler.hotspot.nodes.SerialWriteBarrier
ifeq 15
aload 1
checkcast org.graalvm.compiler.nodes.memory.FixedAccessNode
aload 4
checkcast org.graalvm.compiler.hotspot.nodes.ObjectWriteBarrier
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.validateBarrier:(Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/hotspot/nodes/ObjectWriteBarrier;)Z
ifeq 15
14: aload 4
instanceof org.graalvm.compiler.hotspot.nodes.SerialWriteBarrier
ifeq 16
aload 1
checkcast org.graalvm.compiler.nodes.memory.FixedAccessNode
aload 4
checkcast org.graalvm.compiler.hotspot.nodes.ObjectWriteBarrier
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.validateBarrier:(Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/hotspot/nodes/ObjectWriteBarrier;)Z
ifne 16
15: StackMap locals:
StackMap stack:
aload 2
aload 4
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.expandFrontier:(Lorg/graalvm/compiler/graph/NodeFlood;Lorg/graalvm/compiler/graph/Node;)V
end local 4 16: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/graalvm/compiler/hotspot/phases/WriteBarrierVerificationPhase;
0 18 1 write Lorg/graalvm/compiler/graph/Node;
3 18 2 frontier Lorg/graalvm/compiler/graph/NodeFlood;
5 18 3 iterator Ljava/util/Iterator<Lorg/graalvm/compiler/graph/Node;>;
7 16 4 currentNode Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
write
private boolean useG1GC();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.config:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.useG1GC:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/phases/WriteBarrierVerificationPhase;
private boolean hasAttachedBarrier(org.graalvm.compiler.nodes.FixedWithNextNode);
descriptor: (Lorg/graalvm/compiler/nodes/FixedWithNextNode;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.FixedWithNextNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 2
start local 2 1: aload 1
invokevirtual org.graalvm.compiler.nodes.FixedWithNextNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
astore 3
start local 3 2: aload 0
invokevirtual org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.useG1GC:()Z
ifeq 4
aload 1
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.isObjectWrite:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 3
aload 1
checkcast org.graalvm.compiler.nodes.extended.ArrayRangeWrite
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.isInitialization:()Z
ifne 4
StackMap locals: org.graalvm.compiler.graph.Node org.graalvm.compiler.graph.Node
StackMap stack:
3: iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 4
start local 4 6: aload 1
instanceof org.graalvm.compiler.nodes.memory.WriteNode
ifeq 10
7: aload 1
checkcast org.graalvm.compiler.nodes.memory.WriteNode
astore 5
start local 5 8: aload 5
invokevirtual org.graalvm.compiler.nodes.memory.WriteNode.getLocationIdentity:()Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual jdk.internal.vm.compiler.word.LocationIdentity.isInit:()Z
ifeq 10
9: iconst_0
istore 4
end local 5 10: StackMap locals: int
StackMap stack:
aload 1
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.isObjectWrite:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 15
11: aload 1
aload 2
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.isObjectBarrier:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/graph/Node;)Z
ifne 12
aload 1
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.getValueWritten:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.type.StampTool.isPointerAlwaysNull:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 14
StackMap locals:
StackMap stack:
12: iload 4
ifeq 13
aload 1
aload 3
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.isObjectBarrier:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/graph/Node;)Z
ifeq 14
StackMap locals:
StackMap stack:
13: iconst_1
ireturn
StackMap locals:
StackMap stack:
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 1
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.isObjectArrayRangeWrite:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 20
16: aload 1
aload 2
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.isArrayBarrier:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/graph/Node;)Z
ifne 17
aload 1
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.getValueWritten:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.type.StampTool.isPointerAlwaysNull:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 19
StackMap locals:
StackMap stack:
17: iload 4
ifeq 18
aload 1
aload 3
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.isArrayBarrier:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/graph/Node;)Z
ifeq 19
StackMap locals:
StackMap stack:
18: iconst_1
ireturn
StackMap locals:
StackMap stack:
19: iconst_0
ireturn
20: StackMap locals:
StackMap stack:
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 21 0 this Lorg/graalvm/compiler/hotspot/phases/WriteBarrierVerificationPhase;
0 21 1 node Lorg/graalvm/compiler/nodes/FixedWithNextNode;
1 21 2 next Lorg/graalvm/compiler/graph/Node;
2 21 3 previous Lorg/graalvm/compiler/graph/Node;
6 21 4 validatePreBarrier Z
8 10 5 writeNode Lorg/graalvm/compiler/nodes/memory/WriteNode;
MethodParameters:
Name Flags
node
private static boolean isObjectBarrier(org.graalvm.compiler.nodes.FixedWithNextNode, org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.graalvm.compiler.hotspot.nodes.ObjectWriteBarrier
ifeq 1
aload 0
checkcast org.graalvm.compiler.nodes.memory.FixedAccessNode
aload 1
checkcast org.graalvm.compiler.hotspot.nodes.ObjectWriteBarrier
invokestatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.validateBarrier:(Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/hotspot/nodes/ObjectWriteBarrier;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 node Lorg/graalvm/compiler/nodes/FixedWithNextNode;
0 2 1 next Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
next final
private static boolean isArrayBarrier(org.graalvm.compiler.nodes.FixedWithNextNode, org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.graalvm.compiler.hotspot.nodes.ArrayRangeWriteBarrier
ifeq 1
aload 0
checkcast org.graalvm.compiler.nodes.extended.ArrayRangeWrite
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.getAddress:()Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
aload 1
checkcast org.graalvm.compiler.hotspot.nodes.ArrayRangeWriteBarrier
invokevirtual org.graalvm.compiler.hotspot.nodes.ArrayRangeWriteBarrier.getAddress:()Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 node Lorg/graalvm/compiler/nodes/FixedWithNextNode;
0 2 1 next Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
next final
private static boolean isObjectWrite(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.nodes.memory.FixedAccessNode
ifeq 1
aload 0
checkcast org.graalvm.compiler.nodes.memory.HeapAccess
invokeinterface org.graalvm.compiler.nodes.memory.HeapAccess.getBarrierType:()Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.NONE:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
if_acmpeq 1
aload 0
instanceof org.graalvm.compiler.nodes.memory.ReadNode
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
private static boolean isObjectArrayRangeWrite(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.nodes.extended.ArrayRangeWrite
ifeq 1
aload 0
checkcast org.graalvm.compiler.nodes.extended.ArrayRangeWrite
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.writesObjectArray:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
private static void expandFrontier(org.graalvm.compiler.graph.NodeFlood, org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/NodeFlood;Lorg/graalvm/compiler/graph/Node;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.graph.Node.cfgPredecessors:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.graalvm.compiler.graph.NodeFlood org.graalvm.compiler.graph.Node top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 0
aload 2
invokevirtual org.graalvm.compiler.graph.NodeFlood.add:(Lorg/graalvm/compiler/graph/Node;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 frontier Lorg/graalvm/compiler/graph/NodeFlood;
0 6 1 node Lorg/graalvm/compiler/graph/Node;
2 4 2 previousNode Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
frontier
node
private static boolean isSafepoint(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.nodes.memory.FixedAccessNode
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.DeoptimizingNode
ifeq 3
aload 0
checkcast org.graalvm.compiler.nodes.DeoptimizingNode
invokeinterface org.graalvm.compiler.nodes.DeoptimizingNode.canDeoptimize:()Z
ifne 4
StackMap locals:
StackMap stack:
3: aload 0
instanceof org.graalvm.compiler.nodes.LoopBeginNode
ifne 4
iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
private static org.graalvm.compiler.nodes.ValueNode getValueWritten(org.graalvm.compiler.nodes.FixedWithNextNode);
descriptor: (Lorg/graalvm/compiler/nodes/FixedWithNextNode;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.nodes.memory.WriteNode
ifeq 2
1: aload 0
checkcast org.graalvm.compiler.nodes.memory.WriteNode
invokevirtual org.graalvm.compiler.nodes.memory.WriteNode.value:()Lorg/graalvm/compiler/nodes/ValueNode;
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.java.LogicCompareAndSwapNode
ifeq 4
3: aload 0
checkcast org.graalvm.compiler.nodes.java.LogicCompareAndSwapNode
invokevirtual org.graalvm.compiler.nodes.java.LogicCompareAndSwapNode.getNewValue:()Lorg/graalvm/compiler/nodes/ValueNode;
areturn
4: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.nodes.java.LoweredAtomicReadAndWriteNode
ifeq 6
5: aload 0
checkcast org.graalvm.compiler.nodes.java.LoweredAtomicReadAndWriteNode
invokevirtual org.graalvm.compiler.nodes.java.LoweredAtomicReadAndWriteNode.getNewValue:()Lorg/graalvm/compiler/nodes/ValueNode;
areturn
6: StackMap locals:
StackMap stack:
ldc "unexpected write node %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 write Lorg/graalvm/compiler/nodes/FixedWithNextNode;
MethodParameters:
Name Flags
write
private static boolean validateBarrier(org.graalvm.compiler.nodes.memory.FixedAccessNode, org.graalvm.compiler.hotspot.nodes.ObjectWriteBarrier);
descriptor: (Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/hotspot/nodes/ObjectWriteBarrier;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.phases.WriteBarrierVerificationPhase.$assertionsDisabled:Z
ifne 1
aload 0
instanceof org.graalvm.compiler.nodes.memory.WriteNode
ifne 1
aload 0
instanceof org.graalvm.compiler.nodes.java.LogicCompareAndSwapNode
ifne 1
aload 0
instanceof org.graalvm.compiler.nodes.java.LoweredAtomicReadAndWriteNode
ifne 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Node must be of type requiring a write barrier "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.ObjectWriteBarrier.usePrecise:()Z
ifne 5
2: aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.ObjectWriteBarrier.getAddress:()Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
instanceof org.graalvm.compiler.nodes.memory.address.OffsetAddressNode
ifeq 5
aload 0
invokevirtual org.graalvm.compiler.nodes.memory.FixedAccessNode.getAddress:()Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
instanceof org.graalvm.compiler.nodes.memory.address.OffsetAddressNode
ifeq 5
3: aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.ObjectWriteBarrier.getAddress:()Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
checkcast org.graalvm.compiler.nodes.memory.address.OffsetAddressNode
invokevirtual org.graalvm.compiler.nodes.memory.address.OffsetAddressNode.getBase:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.unproxify:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
aload 0
invokevirtual org.graalvm.compiler.nodes.memory.FixedAccessNode.getAddress:()Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
checkcast org.graalvm.compiler.nodes.memory.address.OffsetAddressNode
invokevirtual org.graalvm.compiler.nodes.memory.address.OffsetAddressNode.getBase:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.unproxify:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
if_acmpne 4
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.ObjectWriteBarrier.getAddress:()Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
aload 0
invokevirtual org.graalvm.compiler.nodes.memory.FixedAccessNode.getAddress:()Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
if_acmpne 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 write Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;
0 7 1 barrier Lorg/graalvm/compiler/hotspot/nodes/ObjectWriteBarrier;
MethodParameters:
Name Flags
write
barrier
}
SourceFile: "WriteBarrierVerificationPhase.java"
InnerClasses:
public final BarrierType = org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType of org.graalvm.compiler.nodes.memory.HeapAccess