public class org.graalvm.compiler.nodes.gc.G1BarrierSet implements org.graalvm.compiler.nodes.gc.BarrierSet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.nodes.gc.G1BarrierSet
super_class: java.lang.Object
{
private final long referentFieldOffset;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.vm.ci.meta.ResolvedJavaType referenceType;
descriptor: Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$graalvm$compiler$nodes$memory$HeapAccess$BarrierType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc Ljava/lang/ref/Reference;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
putfield org.graalvm.compiler.nodes.gc.G1BarrierSet.referenceType:Ljdk/vm/ci/meta/ResolvedJavaType;
2: iconst_m1
istore 2
start local 2 3: aload 0
getfield org.graalvm.compiler.nodes.gc.G1BarrierSet.referenceType:Ljdk/vm/ci/meta/ResolvedJavaType;
iconst_1
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getInstanceFields:(Z)[Ljdk/vm/ci/meta/ResolvedJavaField;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: org.graalvm.compiler.nodes.gc.G1BarrierSet jdk.vm.ci.meta.MetaAccessProvider int top int int jdk.vm.ci.meta.ResolvedJavaField[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.getName:()Ljava/lang/String;
ldc "referent"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.getOffset:()I
istore 2
end local 3 7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 4
9: iload 2
iconst_1
if_icmpne 11
10: new org.graalvm.compiler.debug.GraalError
dup
ldc "Can't find Reference.referent field"
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: org.graalvm.compiler.nodes.gc.G1BarrierSet jdk.vm.ci.meta.MetaAccessProvider int
StackMap stack:
aload 0
iload 2
i2l
putfield org.graalvm.compiler.nodes.gc.G1BarrierSet.referentFieldOffset:J
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/nodes/gc/G1BarrierSet;
0 13 1 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
3 13 2 offset I
5 7 3 field Ljdk/vm/ci/meta/ResolvedJavaField;
MethodParameters:
Name Flags
metaAccess
public org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType readBarrierType(org.graalvm.compiler.nodes.extended.RawLoadNode);
descriptor: (Lorg/graalvm/compiler/nodes/extended/RawLoadNode;)Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.extended.RawLoadNode.object:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 12
1: aload 1
invokevirtual org.graalvm.compiler.nodes.extended.RawLoadNode.accessKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 12
2: aload 1
invokevirtual org.graalvm.compiler.nodes.extended.RawLoadNode.object:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.type.StampTool.isPointerAlwaysNull:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifne 12
3: aload 1
invokevirtual org.graalvm.compiler.nodes.extended.RawLoadNode.offset:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.isJavaConstant:()Z
ifeq 5
aload 0
getfield org.graalvm.compiler.nodes.gc.G1BarrierSet.referentFieldOffset:J
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.RawLoadNode.offset:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
lcmp
ifeq 5
4: getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.NONE:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
areturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.RawLoadNode.object:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.nodes.type.StampTool.typeOrNull:(Lorg/graalvm/compiler/nodes/ValueNode;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 2
start local 2 6: aload 2
ifnull 10
aload 0
getfield org.graalvm.compiler.nodes.gc.G1BarrierSet.referenceType:Ljdk/vm/ci/meta/ResolvedJavaType;
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifeq 10
7: aload 1
invokevirtual org.graalvm.compiler.nodes.extended.RawLoadNode.offset:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.isJavaConstant:()Z
ifeq 9
aload 0
getfield org.graalvm.compiler.nodes.gc.G1BarrierSet.referentFieldOffset:J
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.RawLoadNode.offset:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
lcmp
ifne 9
8: getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.WEAK_FIELD:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
areturn
9: StackMap locals: jdk.vm.ci.meta.ResolvedJavaType
StackMap stack:
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.MAYBE_WEAK_FIELD:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
areturn
10: StackMap locals:
StackMap stack:
aload 2
ifnull 11
aload 2
aload 0
getfield org.graalvm.compiler.nodes.gc.G1BarrierSet.referenceType:Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifeq 12
11: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.MAYBE_WEAK_FIELD:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
areturn
end local 2 12: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.NONE:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/nodes/gc/G1BarrierSet;
0 13 1 load Lorg/graalvm/compiler/nodes/extended/RawLoadNode;
6 12 2 type Ljdk/vm/ci/meta/ResolvedJavaType;
MethodParameters:
Name Flags
load
public void addBarriers(org.graalvm.compiler.nodes.memory.FixedAccessNode);
descriptor: (Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.graalvm.compiler.nodes.memory.ReadNode
ifeq 3
1: aload 1
checkcast org.graalvm.compiler.nodes.memory.ReadNode
invokestatic org.graalvm.compiler.nodes.gc.G1BarrierSet.addReadNodeBarriers:(Lorg/graalvm/compiler/nodes/memory/ReadNode;)V
2: goto 21
StackMap locals:
StackMap stack:
3: aload 1
instanceof org.graalvm.compiler.nodes.memory.WriteNode
ifeq 7
4: aload 1
checkcast org.graalvm.compiler.nodes.memory.WriteNode
astore 2
start local 2 5: aload 0
aload 2
aload 2
invokevirtual org.graalvm.compiler.nodes.memory.WriteNode.value:()Lorg/graalvm/compiler/nodes/ValueNode;
aconst_null
iconst_1
aload 2
invokevirtual org.graalvm.compiler.nodes.memory.WriteNode.getNullCheck:()Z
invokevirtual org.graalvm.compiler.nodes.gc.G1BarrierSet.addWriteBarriers:(Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;ZZ)V
end local 2 6: goto 21
StackMap locals:
StackMap stack:
7: aload 1
instanceof org.graalvm.compiler.nodes.java.LoweredAtomicReadAndWriteNode
ifeq 11
8: aload 1
checkcast org.graalvm.compiler.nodes.java.LoweredAtomicReadAndWriteNode
astore 2
start local 2 9: aload 0
aload 2
aload 2
invokevirtual org.graalvm.compiler.nodes.java.LoweredAtomicReadAndWriteNode.getNewValue:()Lorg/graalvm/compiler/nodes/ValueNode;
aconst_null
iconst_1
aload 2
invokevirtual org.graalvm.compiler.nodes.java.LoweredAtomicReadAndWriteNode.getNullCheck:()Z
invokevirtual org.graalvm.compiler.nodes.gc.G1BarrierSet.addWriteBarriers:(Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;ZZ)V
end local 2 10: goto 21
StackMap locals:
StackMap stack:
11: aload 1
instanceof org.graalvm.compiler.nodes.java.AbstractCompareAndSwapNode
ifeq 15
12: aload 1
checkcast org.graalvm.compiler.nodes.java.AbstractCompareAndSwapNode
astore 2
start local 2 13: aload 0
aload 2
aload 2
invokevirtual org.graalvm.compiler.nodes.java.AbstractCompareAndSwapNode.getNewValue:()Lorg/graalvm/compiler/nodes/ValueNode;
aload 2
invokevirtual org.graalvm.compiler.nodes.java.AbstractCompareAndSwapNode.getExpectedValue:()Lorg/graalvm/compiler/nodes/ValueNode;
iconst_0
iconst_0
invokevirtual org.graalvm.compiler.nodes.gc.G1BarrierSet.addWriteBarriers:(Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;ZZ)V
end local 2 14: goto 21
StackMap locals:
StackMap stack:
15: aload 1
instanceof org.graalvm.compiler.nodes.extended.ArrayRangeWrite
ifeq 18
16: aload 1
checkcast org.graalvm.compiler.nodes.extended.ArrayRangeWrite
invokestatic org.graalvm.compiler.nodes.gc.G1BarrierSet.addArrayRangeBarriers:(Lorg/graalvm/compiler/nodes/extended/ArrayRangeWrite;)V
17: goto 21
18: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.nodes.memory.FixedAccessNode.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_acmpne 19
iconst_1
goto 20
StackMap locals:
StackMap stack:
19: iconst_0
StackMap locals:
StackMap stack: int
20: ldc "missed a node that requires a GC barrier: %s"
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.graalvm.compiler.debug.GraalError.guarantee:(ZLjava/lang/String;Ljava/lang/Object;)V
21: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/graalvm/compiler/nodes/gc/G1BarrierSet;
0 22 1 n Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;
5 6 2 write Lorg/graalvm/compiler/nodes/memory/WriteNode;
9 10 2 atomic Lorg/graalvm/compiler/nodes/java/LoweredAtomicReadAndWriteNode;
13 14 2 cmpSwap Lorg/graalvm/compiler/nodes/java/AbstractCompareAndSwapNode;
MethodParameters:
Name Flags
n
private static void addReadNodeBarriers(org.graalvm.compiler.nodes.memory.ReadNode);
descriptor: (Lorg/graalvm/compiler/nodes/memory/ReadNode;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.nodes.memory.ReadNode.getBarrierType:()Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.WEAK_FIELD:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
if_acmpeq 1
aload 0
invokevirtual org.graalvm.compiler.nodes.memory.ReadNode.getBarrierType:()Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.MAYBE_WEAK_FIELD:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
if_acmpne 7
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.memory.ReadNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 1
start local 1 2: aload 1
3: new org.graalvm.compiler.nodes.gc.G1ReferentFieldReadBarrier
dup
aload 0
invokevirtual org.graalvm.compiler.nodes.memory.ReadNode.getAddress:()Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
aload 0
aload 0
invokevirtual org.graalvm.compiler.nodes.memory.ReadNode.getBarrierType:()Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.MAYBE_WEAK_FIELD:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
if_acmpne 4
iconst_1
goto 5
StackMap locals: org.graalvm.compiler.nodes.memory.ReadNode org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph new 3 new 3 org.graalvm.compiler.nodes.memory.address.AddressNode org.graalvm.compiler.nodes.memory.ReadNode
4: iconst_0
StackMap locals: org.graalvm.compiler.nodes.memory.ReadNode org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph new 3 new 3 org.graalvm.compiler.nodes.memory.address.AddressNode org.graalvm.compiler.nodes.memory.ReadNode int
5: invokespecial org.graalvm.compiler.nodes.gc.G1ReferentFieldReadBarrier.<init>:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode;Lorg/graalvm/compiler/nodes/ValueNode;Z)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.gc.G1ReferentFieldReadBarrier
astore 2
start local 2 6: aload 1
aload 0
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addAfterFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedNode;)V
end local 2 end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 node Lorg/graalvm/compiler/nodes/memory/ReadNode;
2 7 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
6 7 2 barrier Lorg/graalvm/compiler/nodes/gc/G1ReferentFieldReadBarrier;
MethodParameters:
Name Flags
node
private void addWriteBarriers(org.graalvm.compiler.nodes.memory.FixedAccessNode, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode, boolean, boolean);
descriptor: (Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;ZZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
invokevirtual org.graalvm.compiler.nodes.memory.FixedAccessNode.getBarrierType:()Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
astore 6
start local 6 1: invokestatic org.graalvm.compiler.nodes.gc.G1BarrierSet.$SWITCH_TABLE$org$graalvm$compiler$nodes$memory$HeapAccess$BarrierType:()[I
aload 6
invokevirtual org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 2
2: 3
3: 3
4: 3
default: 14
}
2: StackMap locals: org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType
StackMap stack:
goto 15
3: StackMap locals:
StackMap stack:
aload 2
invokestatic org.graalvm.compiler.nodes.gc.G1BarrierSet.isObjectValue:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 15
4: aload 1
invokevirtual org.graalvm.compiler.nodes.memory.FixedAccessNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 7
start local 7 5: aload 1
invokevirtual org.graalvm.compiler.nodes.memory.FixedAccessNode.getLocationIdentity:()Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual jdk.internal.vm.compiler.word.LocationIdentity.isInit:()Z
istore 8
start local 8 6: iload 8
ifne 8
7: aload 1
aload 1
invokevirtual org.graalvm.compiler.nodes.memory.FixedAccessNode.getAddress:()Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
aload 3
iload 4
iload 5
aload 7
invokestatic org.graalvm.compiler.nodes.gc.G1BarrierSet.addG1PreWriteBarrier:(Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/nodes/memory/address/AddressNode;Lorg/graalvm/compiler/nodes/ValueNode;ZZLorg/graalvm/compiler/nodes/StructuredGraph;)V
8: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph int
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.graalvm.compiler.nodes.gc.G1BarrierSet.writeRequiresPostBarrier:(Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 15
9: aload 6
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.FIELD:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
if_acmpeq 10
iconst_1
goto 11
StackMap locals:
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 9
start local 9 12: aload 1
aload 1
invokevirtual org.graalvm.compiler.nodes.memory.FixedAccessNode.getAddress:()Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
aload 2
iload 9
aload 7
invokestatic org.graalvm.compiler.nodes.gc.G1BarrierSet.addG1PostWriteBarrier:(Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/nodes/memory/address/AddressNode;Lorg/graalvm/compiler/nodes/ValueNode;ZLorg/graalvm/compiler/nodes/StructuredGraph;)V
end local 9 end local 8 end local 7 13: goto 15
14: StackMap locals:
StackMap stack:
new org.graalvm.compiler.debug.GraalError
dup
new java.lang.StringBuilder
dup
ldc "unexpected barrier type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
return
end local 6 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 16 0 this Lorg/graalvm/compiler/nodes/gc/G1BarrierSet;
0 16 1 node Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;
0 16 2 writtenValue Lorg/graalvm/compiler/nodes/ValueNode;
0 16 3 expectedValue Lorg/graalvm/compiler/nodes/ValueNode;
0 16 4 doLoad Z
0 16 5 nullCheck Z
1 16 6 barrierType Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
5 13 7 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
6 13 8 init Z
12 13 9 precise Z
MethodParameters:
Name Flags
node
writtenValue
expectedValue
doLoad
nullCheck
protected boolean writeRequiresPostBarrier(org.graalvm.compiler.nodes.memory.FixedAccessNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/nodes/ValueNode;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/gc/G1BarrierSet;
0 1 1 initializingWrite Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;
0 1 2 writtenValue Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
initializingWrite
writtenValue
private static void addArrayRangeBarriers(org.graalvm.compiler.nodes.extended.ArrayRangeWrite);
descriptor: (Lorg/graalvm/compiler/nodes/extended/ArrayRangeWrite;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.writesObjectArray:()Z
ifeq 7
1: aload 0
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.asNode:()Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;
invokevirtual org.graalvm.compiler.nodes.memory.FixedAccessNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 1
start local 1 2: aload 0
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.isInitialization:()Z
ifne 5
3: aload 1
new org.graalvm.compiler.nodes.gc.G1ArrayRangePreWriteBarrier
dup
aload 0
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.getAddress:()Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
aload 0
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.getLength:()Lorg/graalvm/compiler/nodes/ValueNode;
aload 0
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.getElementStride:()I
invokespecial org.graalvm.compiler.nodes.gc.G1ArrayRangePreWriteBarrier.<init>:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode;Lorg/graalvm/compiler/nodes/ValueNode;I)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.gc.G1ArrayRangePreWriteBarrier
astore 2
start local 2 4: aload 1
aload 0
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.asNode:()Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addBeforeFixed:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
end local 2 5: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
aload 1
new org.graalvm.compiler.nodes.gc.G1ArrayRangePostWriteBarrier
dup
aload 0
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.getAddress:()Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
aload 0
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.getLength:()Lorg/graalvm/compiler/nodes/ValueNode;
aload 0
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.getElementStride:()I
invokespecial org.graalvm.compiler.nodes.gc.G1ArrayRangePostWriteBarrier.<init>:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode;Lorg/graalvm/compiler/nodes/ValueNode;I)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.gc.G1ArrayRangePostWriteBarrier
astore 2
start local 2 6: aload 1
aload 0
invokeinterface org.graalvm.compiler.nodes.extended.ArrayRangeWrite.asNode:()Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addAfterFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedNode;)V
end local 2 end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 write Lorg/graalvm/compiler/nodes/extended/ArrayRangeWrite;
2 7 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
4 5 2 g1ArrayRangePreWriteBarrier Lorg/graalvm/compiler/nodes/gc/G1ArrayRangePreWriteBarrier;
6 7 2 g1ArrayRangePostWriteBarrier Lorg/graalvm/compiler/nodes/gc/G1ArrayRangePostWriteBarrier;
MethodParameters:
Name Flags
write
private static void addG1PreWriteBarrier(org.graalvm.compiler.nodes.memory.FixedAccessNode, org.graalvm.compiler.nodes.memory.address.AddressNode, org.graalvm.compiler.nodes.ValueNode, boolean, boolean, org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/nodes/memory/address/AddressNode;Lorg/graalvm/compiler/nodes/ValueNode;ZZLorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 5
new org.graalvm.compiler.nodes.gc.G1PreWriteBarrier
dup
aload 1
aload 2
iload 3
iload 4
invokespecial org.graalvm.compiler.nodes.gc.G1PreWriteBarrier.<init>:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode;Lorg/graalvm/compiler/nodes/ValueNode;ZZ)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.gc.G1PreWriteBarrier
astore 6
start local 6 1: aload 6
aload 0
invokevirtual org.graalvm.compiler.nodes.memory.FixedAccessNode.stateBefore:()Lorg/graalvm/compiler/nodes/FrameState;
invokevirtual org.graalvm.compiler.nodes.gc.G1PreWriteBarrier.setStateBefore:(Lorg/graalvm/compiler/nodes/FrameState;)V
2: aload 0
iconst_0
invokevirtual org.graalvm.compiler.nodes.memory.FixedAccessNode.setNullCheck:(Z)V
3: aload 0
aconst_null
invokevirtual org.graalvm.compiler.nodes.memory.FixedAccessNode.setStateBefore:(Lorg/graalvm/compiler/nodes/FrameState;)V
4: aload 5
aload 0
aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addBeforeFixed:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
5: return
end local 6 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 6 0 node Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;
0 6 1 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
0 6 2 value Lorg/graalvm/compiler/nodes/ValueNode;
0 6 3 doLoad Z
0 6 4 nullCheck Z
0 6 5 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 6 6 preBarrier Lorg/graalvm/compiler/nodes/gc/G1PreWriteBarrier;
MethodParameters:
Name Flags
node
address
value
doLoad
nullCheck
graph
private static void addG1PostWriteBarrier(org.graalvm.compiler.nodes.memory.FixedAccessNode, org.graalvm.compiler.nodes.memory.address.AddressNode, org.graalvm.compiler.nodes.ValueNode, boolean, org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;Lorg/graalvm/compiler/nodes/memory/address/AddressNode;Lorg/graalvm/compiler/nodes/ValueNode;ZLorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokestatic org.graalvm.compiler.nodes.type.StampTool.isPointerAlwaysNull:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
istore 5
start local 5 1: aload 4
aload 0
aload 4
new org.graalvm.compiler.nodes.gc.G1PostWriteBarrier
dup
aload 1
aload 2
iload 3
iload 5
invokespecial org.graalvm.compiler.nodes.gc.G1PostWriteBarrier.<init>:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode;Lorg/graalvm/compiler/nodes/ValueNode;ZZ)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.FixedNode
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addAfterFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedNode;)V
2: 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 3 0 node Lorg/graalvm/compiler/nodes/memory/FixedAccessNode;
0 3 1 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
0 3 2 value Lorg/graalvm/compiler/nodes/ValueNode;
0 3 3 precise Z
0 3 4 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 3 5 alwaysNull Z
MethodParameters:
Name Flags
node
address
value
precise
graph
private static boolean isObjectValue(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
instanceof org.graalvm.compiler.core.common.type.AbstractObjectStamp
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
value
static int[] $SWITCH_TABLE$org$graalvm$compiler$nodes$memory$HeapAccess$BarrierType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.graalvm.compiler.nodes.gc.G1BarrierSet.$SWITCH_TABLE$org$graalvm$compiler$nodes$memory$HeapAccess$BarrierType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.values:()[Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.ARRAY:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
invokevirtual org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.FIELD:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
invokevirtual org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.MAYBE_WEAK_FIELD:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
invokevirtual org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.ordinal:()I
bipush 6
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.NONE:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
invokevirtual org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.UNKNOWN:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
invokevirtual org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.ordinal:()I
iconst_4
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.WEAK_FIELD:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
invokevirtual org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.ordinal:()I
iconst_5
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic org.graalvm.compiler.nodes.gc.G1BarrierSet.$SWITCH_TABLE$org$graalvm$compiler$nodes$memory$HeapAccess$BarrierType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
}
SourceFile: "G1BarrierSet.java"
InnerClasses:
public final BarrierType = org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType of org.graalvm.compiler.nodes.memory.HeapAccess