public class org.graalvm.compiler.hotspot.phases.WriteBarrierAdditionPhase 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.WriteBarrierAdditionPhase
super_class: org.graalvm.compiler.phases.Phase
{
private org.graalvm.compiler.hotspot.gc.shared.BarrierSet barrierSet;
descriptor: Lorg/graalvm/compiler/hotspot/gc/shared/BarrierSet;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.phases.WriteBarrierAdditionPhase.createBarrierSet:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/gc/shared/BarrierSet;
putfield org.graalvm.compiler.hotspot.phases.WriteBarrierAdditionPhase.barrierSet:Lorg/graalvm/compiler/hotspot/gc/shared/BarrierSet;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/phases/WriteBarrierAdditionPhase;
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=3, locals=8, 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 27
StackMap locals: org.graalvm.compiler.hotspot.phases.WriteBarrierAdditionPhase 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: aconst_null
astore 4
aconst_null
astore 5
3: aload 2
invokevirtual org.graalvm.compiler.graph.Node.graph:()Lorg/graalvm/compiler/graph/Graph;
aload 2
invokevirtual org.graalvm.compiler.graph.Graph.withNodeSourcePosition:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/debug/DebugCloseable;
astore 6
start local 6 4: aload 2
instanceof org.graalvm.compiler.nodes.memory.ReadNode
ifeq 7
5: aload 0
getfield org.graalvm.compiler.hotspot.phases.WriteBarrierAdditionPhase.barrierSet:Lorg/graalvm/compiler/hotspot/gc/shared/BarrierSet;
aload 2
checkcast org.graalvm.compiler.nodes.memory.ReadNode
aload 1
invokevirtual org.graalvm.compiler.hotspot.gc.shared.BarrierSet.addReadNodeBarriers:(Lorg/graalvm/compiler/nodes/memory/ReadNode;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
6: goto 21
StackMap locals: org.graalvm.compiler.hotspot.phases.WriteBarrierAdditionPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.Node java.util.Iterator java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable
StackMap stack:
7: aload 2
instanceof org.graalvm.compiler.nodes.memory.WriteNode
ifeq 10
8: aload 0
getfield org.graalvm.compiler.hotspot.phases.WriteBarrierAdditionPhase.barrierSet:Lorg/graalvm/compiler/hotspot/gc/shared/BarrierSet;
aload 2
checkcast org.graalvm.compiler.nodes.memory.WriteNode
aload 1
invokevirtual org.graalvm.compiler.hotspot.gc.shared.BarrierSet.addWriteNodeBarriers:(Lorg/graalvm/compiler/nodes/memory/WriteNode;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
9: goto 21
StackMap locals:
StackMap stack:
10: aload 2
instanceof org.graalvm.compiler.nodes.java.LoweredAtomicReadAndWriteNode
ifeq 14
11: aload 2
checkcast org.graalvm.compiler.nodes.java.LoweredAtomicReadAndWriteNode
astore 7
start local 7 12: aload 0
getfield org.graalvm.compiler.hotspot.phases.WriteBarrierAdditionPhase.barrierSet:Lorg/graalvm/compiler/hotspot/gc/shared/BarrierSet;
aload 7
aload 1
invokevirtual org.graalvm.compiler.hotspot.gc.shared.BarrierSet.addAtomicReadWriteNodeBarriers:(Lorg/graalvm/compiler/nodes/java/LoweredAtomicReadAndWriteNode;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
end local 7 13: goto 21
StackMap locals:
StackMap stack:
14: aload 2
instanceof org.graalvm.compiler.nodes.java.AbstractCompareAndSwapNode
ifeq 17
15: aload 0
getfield org.graalvm.compiler.hotspot.phases.WriteBarrierAdditionPhase.barrierSet:Lorg/graalvm/compiler/hotspot/gc/shared/BarrierSet;
aload 2
checkcast org.graalvm.compiler.nodes.java.AbstractCompareAndSwapNode
aload 1
invokevirtual org.graalvm.compiler.hotspot.gc.shared.BarrierSet.addCASBarriers:(Lorg/graalvm/compiler/nodes/java/AbstractCompareAndSwapNode;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
16: goto 21
StackMap locals:
StackMap stack:
17: aload 2
instanceof org.graalvm.compiler.nodes.extended.ArrayRangeWrite
ifeq 21
18: aload 2
checkcast org.graalvm.compiler.nodes.extended.ArrayRangeWrite
astore 7
start local 7 19: aload 7
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.writesObjectArray:()Z
ifeq 21
20: aload 0
getfield org.graalvm.compiler.hotspot.phases.WriteBarrierAdditionPhase.barrierSet:Lorg/graalvm/compiler/hotspot/gc/shared/BarrierSet;
aload 7
aload 1
invokevirtual org.graalvm.compiler.hotspot.gc.shared.BarrierSet.addArrayRangeBarriers:(Lorg/graalvm/compiler/nodes/extended/ArrayRangeWrite;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
end local 7 21: StackMap locals:
StackMap stack:
aload 6
ifnull 27
aload 6
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
goto 27
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 4
aload 6
ifnull 23
aload 6
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 6 StackMap locals:
StackMap stack:
23: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 5
aload 4
ifnonnull 25
aload 5
astore 4
goto 26
StackMap locals:
StackMap stack:
25: aload 4
aload 5
if_acmpeq 26
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
26: aload 4
athrow
end local 2 27: StackMap locals: org.graalvm.compiler.hotspot.phases.WriteBarrierAdditionPhase org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
28: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/graalvm/compiler/hotspot/phases/WriteBarrierAdditionPhase;
0 29 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 27 2 n Lorg/graalvm/compiler/graph/Node;
4 23 6 scope Lorg/graalvm/compiler/debug/DebugCloseable;
12 13 7 loweredAtomicReadAndWriteNode Lorg/graalvm/compiler/nodes/java/LoweredAtomicReadAndWriteNode;
19 21 7 node Lorg/graalvm/compiler/nodes/extended/ArrayRangeWrite;
Exception table:
from to target type
4 21 22 any
3 24 24 any
MethodParameters:
Name Flags
graph
public boolean checkContract();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/phases/WriteBarrierAdditionPhase;
private org.graalvm.compiler.hotspot.gc.shared.BarrierSet createBarrierSet(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/gc/shared/BarrierSet;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.useG1GC:Z
ifeq 2
1: aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.phases.WriteBarrierAdditionPhase.createG1BarrierSet:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/gc/shared/BarrierSet;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.phases.WriteBarrierAdditionPhase.createCardTableBarrierSet:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/gc/shared/BarrierSet;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/phases/WriteBarrierAdditionPhase;
0 3 1 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
MethodParameters:
Name Flags
config
protected org.graalvm.compiler.hotspot.gc.shared.BarrierSet createCardTableBarrierSet(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/gc/shared/BarrierSet;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.hotspot.gc.shared.CardTableBarrierSet
dup
aload 1
invokespecial org.graalvm.compiler.hotspot.gc.shared.CardTableBarrierSet.<init>:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/phases/WriteBarrierAdditionPhase;
0 1 1 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
MethodParameters:
Name Flags
config
protected org.graalvm.compiler.hotspot.gc.shared.BarrierSet createG1BarrierSet(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/gc/shared/BarrierSet;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.hotspot.gc.g1.G1BarrierSet
dup
aload 1
invokespecial org.graalvm.compiler.hotspot.gc.g1.G1BarrierSet.<init>:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/phases/WriteBarrierAdditionPhase;
0 1 1 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
MethodParameters:
Name Flags
config
}
SourceFile: "WriteBarrierAdditionPhase.java"