public abstract class org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets extends org.graalvm.compiler.replacements.gc.WriteBarrierSnippets implements org.graalvm.compiler.replacements.Snippets
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets
super_class: org.graalvm.compiler.replacements.gc.WriteBarrierSnippets
{
public static final jdk.internal.vm.compiler.word.LocationIdentity GC_LOG_LOCATION;
descriptor: Ljdk/internal/vm/compiler/word/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.internal.vm.compiler.word.LocationIdentity GC_INDEX_LOCATION;
descriptor: Ljdk/internal/vm/compiler/word/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.internal.vm.compiler.word.LocationIdentity SATB_QUEUE_MARKING_LOCATION;
descriptor: Ljdk/internal/vm/compiler/word/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.internal.vm.compiler.word.LocationIdentity SATB_QUEUE_INDEX_LOCATION;
descriptor: Ljdk/internal/vm/compiler/word/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.internal.vm.compiler.word.LocationIdentity SATB_QUEUE_BUFFER_LOCATION;
descriptor: Ljdk/internal/vm/compiler/word/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.internal.vm.compiler.word.LocationIdentity CARD_QUEUE_INDEX_LOCATION;
descriptor: Ljdk/internal/vm/compiler/word/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.internal.vm.compiler.word.LocationIdentity CARD_QUEUE_BUFFER_LOCATION;
descriptor: Ljdk/internal/vm/compiler/word/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "GC-Log"
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.mutable:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/NamedLocationIdentity;
putstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_LOG_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
1: ldc "GC-Index"
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.mutable:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/NamedLocationIdentity;
putstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_INDEX_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
2: ldc "GC-Queue-Marking"
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.mutable:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/NamedLocationIdentity;
putstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.SATB_QUEUE_MARKING_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
3: ldc "GC-Queue-Index"
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.mutable:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/NamedLocationIdentity;
putstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.SATB_QUEUE_INDEX_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
4: ldc "GC-Queue-Buffer"
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.mutable:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/NamedLocationIdentity;
putstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.SATB_QUEUE_BUFFER_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
5: ldc "GC-Card-Queue-Index"
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.mutable:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/NamedLocationIdentity;
putstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.CARD_QUEUE_INDEX_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
6: ldc "GC-Card-Queue-Buffer"
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.mutable:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/NamedLocationIdentity;
putstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.CARD_QUEUE_BUFFER_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.replacements.gc.WriteBarrierSnippets.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets;
public void g1PreWriteBarrier(org.graalvm.compiler.nodes.memory.address.AddressNode$Address, java.lang.Object, java.lang.Object, boolean, boolean, int, org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Ljava/lang/Object;Ljava/lang/Object;ZZILorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets$Counters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=20, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: iload 5
ifeq 2
1: aload 1
invokestatic org.graalvm.compiler.nodes.extended.NullCheckNode.nullCheck:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.getThread:()Lorg/graalvm/compiler/word/Word;
astore 8
start local 8 3: aload 0
aload 2
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.verifyOop:(Ljava/lang/Object;)V
4: aload 1
invokestatic org.graalvm.compiler.word.Word.fromAddress:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;)Lorg/graalvm/compiler/word/Word;
astore 9
start local 9 5: aload 8
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.satbQueueMarkingOffset:()I
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.SATB_QUEUE_MARKING_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILjdk/internal/vm/compiler/word/LocationIdentity;)B
istore 10
start local 10 6: aload 0
iload 6
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.isTracingActive:(I)Z
istore 11
start local 11 7: iconst_0
istore 12
start local 12 8: iload 11
ifeq 18
9: aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.gcTotalCollectionsAddress:()J
invokestatic jdk.internal.vm.compiler.word.WordFactory.pointer:(J)Ljdk/internal/vm/compiler/word/PointerBase;
checkcast jdk.internal.vm.compiler.word.Pointer
astore 13
start local 13 10: aload 13
iconst_0
invokeinterface jdk.internal.vm.compiler.word.Pointer.readLong:(I)J
l2i
istore 12
11: aload 0
iload 11
ldc "[%d] G1-Pre Thread %p Object %p\n"
iload 12
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 2
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
12: aload 0
iload 11
ldc "[%d] G1-Pre Thread %p Expected Object %p\n"
iload 12
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 3
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
13: aload 0
iload 11
ldc "[%d] G1-Pre Thread %p Field %p\n"
iload 12
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 9
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
14: aload 0
iload 11
ldc "[%d] G1-Pre Thread %p Marking %d\n"
iload 12
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
iload 10
i2l
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
15: aload 0
iload 11
ldc "[%d] G1-Pre Thread %p DoLoad %d\n"
iload 12
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
iload 4
ifeq 16
lconst_1
goto 17
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int int int org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word int int int jdk.internal.vm.compiler.word.Pointer
StackMap stack: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets int java.lang.String long long
16: lconst_0
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int int int org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word int int int jdk.internal.vm.compiler.word.Pointer
StackMap stack: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets int java.lang.String long long long
17: invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
end local 13 18: StackMap locals:
StackMap stack:
aload 7
getfield org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters.g1AttemptedPreWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
19: ldc 0.09999999999999998
iload 10
ifeq 20
iconst_1
goto 21
StackMap locals:
StackMap stack: double
20: iconst_0
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int int int org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word int int int
StackMap stack: double int
21: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 45
22: iload 4
ifeq 28
23: aload 9
iconst_0
getstatic org.graalvm.compiler.nodes.memory.OnHeapMemoryAccess$BarrierType.NONE:Lorg/graalvm/compiler/nodes/memory/OnHeapMemoryAccess$BarrierType;
invokevirtual org.graalvm.compiler.word.Word.readObject:(ILorg/graalvm/compiler/nodes/memory/OnHeapMemoryAccess$BarrierType;)Ljava/lang/Object;
astore 13
start local 13 24: iload 11
ifeq 29
25: aload 0
iload 11
ldc "[%d] G1-Pre Thread %p Previous Object %p\n "
iload 12
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 13
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
26: aload 0
aload 13
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.verifyOop:(Ljava/lang/Object;)V
27: goto 29
end local 13 28: StackMap locals:
StackMap stack:
aload 3
invokestatic org.graalvm.compiler.nodes.extended.FixedValueAnchorNode.getObject:(Ljava/lang/Object;)Ljava/lang/Object;
astore 13
start local 13 29: StackMap locals: java.lang.Object
StackMap stack:
aload 7
getfield org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters.g1EffectivePreWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
30: ldc 0.9
aload 13
ifnull 31
iconst_1
goto 32
StackMap locals:
StackMap stack: double
31: iconst_0
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int int int org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word int int int java.lang.Object
StackMap stack: double int
32: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 45
33: aload 7
getfield org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters.g1ExecutedPreWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
34: aload 8
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.satbQueueIndexOffset:()I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 14
start local 14 35: aload 14
iconst_0
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.SATB_QUEUE_INDEX_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 15
start local 15 36: ldc 0.9
aload 15
iconst_0
invokevirtual org.graalvm.compiler.word.Word.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 44
37: aload 8
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.satbQueueBufferOffset:()I
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.SATB_QUEUE_BUFFER_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 16
start local 16 38: aload 15
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.wordSize:()I
invokevirtual org.graalvm.compiler.word.Word.subtract:(I)Lorg/graalvm/compiler/word/Word;
astore 17
start local 17 39: aload 16
aload 17
invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 18
start local 18 40: aload 13
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 19
start local 19 41: aload 18
iconst_0
aload 19
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_LOG_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILjdk/internal/vm/compiler/word/WordBase;Ljdk/internal/vm/compiler/word/LocationIdentity;)V
42: aload 14
iconst_0
aload 17
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_INDEX_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILjdk/internal/vm/compiler/word/WordBase;Ljdk/internal/vm/compiler/word/LocationIdentity;)V
end local 19 end local 18 end local 17 end local 16 43: goto 45
44: StackMap locals: org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
aload 0
aload 13
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.g1PreBarrierStub:(Ljava/lang/Object;)V
end local 15 end local 14 end local 13 45: StackMap locals:
StackMap stack:
return
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 46 0 this Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets;
0 46 1 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 46 2 object Ljava/lang/Object;
0 46 3 expectedObject Ljava/lang/Object;
0 46 4 doLoad Z
0 46 5 nullCheck Z
0 46 6 traceStartCycle I
0 46 7 counters Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets$Counters;
3 46 8 thread Lorg/graalvm/compiler/word/Word;
5 46 9 field Lorg/graalvm/compiler/word/Word;
6 46 10 markingValue B
7 46 11 trace Z
8 46 12 gcCycle I
10 18 13 gcTotalCollectionsAddress Ljdk/internal/vm/compiler/word/Pointer;
24 28 13 previousObject Ljava/lang/Object;
29 45 13 previousObject Ljava/lang/Object;
35 45 14 indexAddress Lorg/graalvm/compiler/word/Word;
36 45 15 indexValue Lorg/graalvm/compiler/word/Word;
38 43 16 bufferAddress Lorg/graalvm/compiler/word/Word;
39 43 17 nextIndex Lorg/graalvm/compiler/word/Word;
40 43 18 logAddress Lorg/graalvm/compiler/word/Word;
41 43 19 previousOop Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
4:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
6:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
address
object
expectedObject
doLoad
nullCheck
traceStartCycle
counters
public void g1ReferentReadBarrier(org.graalvm.compiler.nodes.memory.address.AddressNode$Address, java.lang.Object, java.lang.Object, boolean, org.graalvm.compiler.word.Word, int, org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Ljava/lang/Object;Ljava/lang/Object;ZLorg/graalvm/compiler/word/Word;ILorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets$Counters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: iload 4
ifeq 2
1: aload 5
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.referentOffset:()J
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
if_acmpne 3
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.referenceType:()Ljdk/vm/ci/meta/ResolvedJavaType;
aload 2
invokestatic org.graalvm.compiler.nodes.java.InstanceOfNode.doInstanceof:(Ljdk/vm/ci/meta/ResolvedJavaType;Ljava/lang/Object;)Z
ifeq 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
iconst_0
iconst_0
iload 6
aload 7
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.g1PreWriteBarrier:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Ljava/lang/Object;Ljava/lang/Object;ZZILorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets$Counters;)V
3: StackMap locals:
StackMap stack:
return
end local 7 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 4 0 this Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets;
0 4 1 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 4 2 object Ljava/lang/Object;
0 4 3 expectedObject Ljava/lang/Object;
0 4 4 isDynamicCheck Z
0 4 5 offset Lorg/graalvm/compiler/word/Word;
0 4 6 traceStartCycle I
0 4 7 counters Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets$Counters;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
4:
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
6:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
address
object
expectedObject
isDynamicCheck
offset
traceStartCycle
counters
public void g1PostWriteBarrier(org.graalvm.compiler.nodes.memory.address.AddressNode$Address, java.lang.Object, java.lang.Object, boolean, int, org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Ljava/lang/Object;Ljava/lang/Object;ZILorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets$Counters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=23, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.getThread:()Lorg/graalvm/compiler/word/Word;
astore 7
start local 7 1: aload 3
invokestatic org.graalvm.compiler.nodes.extended.FixedValueAnchorNode.getObject:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 2: aload 0
aload 2
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.verifyOop:(Ljava/lang/Object;)V
3: aload 0
aload 8
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.verifyOop:(Ljava/lang/Object;)V
4: aload 0
aload 2
aload 8
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.validateObject:(Ljava/lang/Object;Ljava/lang/Object;)V
5: iload 4
ifeq 8
6: aload 1
invokestatic org.graalvm.compiler.word.Word.fromAddress:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;)Lorg/graalvm/compiler/word/Word;
astore 9
start local 9 7: goto 11
end local 9 8: StackMap locals: org.graalvm.compiler.word.Word java.lang.Object
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.verifyBarrier:()Z
ifeq 10
9: aload 2
invokestatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.verifyNotArray:(Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
aload 2
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 9
start local 9 11: StackMap locals: jdk.internal.vm.compiler.word.Pointer
StackMap stack:
aload 0
iload 5
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.isTracingActive:(I)Z
istore 10
start local 10 12: iconst_0
istore 11
start local 11 13: iload 10
ifeq 18
14: aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.gcTotalCollectionsAddress:()J
invokestatic jdk.internal.vm.compiler.word.WordFactory.pointer:(J)Ljdk/internal/vm/compiler/word/PointerBase;
checkcast jdk.internal.vm.compiler.word.Pointer
astore 12
start local 12 15: aload 12
iconst_0
invokeinterface jdk.internal.vm.compiler.word.Pointer.readLong:(I)J
l2i
istore 11
16: aload 0
iload 10
ldc "[%d] G1-Post Thread: %p Object: %p\n"
iload 11
i2l
aload 7
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 2
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
17: aload 0
iload 10
ldc "[%d] G1-Post Thread: %p Field: %p\n"
iload 11
i2l
aload 7
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 9
invokeinterface jdk.internal.vm.compiler.word.Pointer.rawValue:()J
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
end local 12 18: StackMap locals: int int
StackMap stack:
aload 8
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 12
start local 12 19: aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.logOfHeapRegionGrainBytes:()I
istore 13
start local 13 20: aload 9
aload 12
invokeinterface jdk.internal.vm.compiler.word.Pointer.xor:(Ljdk/internal/vm/compiler/word/UnsignedWord;)Ljdk/internal/vm/compiler/word/UnsignedWord;
iload 13
invokeinterface jdk.internal.vm.compiler.word.UnsignedWord.unsignedShiftRight:(I)Ljdk/internal/vm/compiler/word/UnsignedWord;
astore 14
start local 14 21: aload 6
getfield org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters.g1AttemptedPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
22: ldc 0.9
aload 14
iconst_0
invokeinterface jdk.internal.vm.compiler.word.UnsignedWord.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 49
23: aload 6
getfield org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters.g1EffectiveAfterXORPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
24: ldc 0.9
aload 12
iconst_0
invokeinterface jdk.internal.vm.compiler.word.Pointer.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 49
25: aload 0
aload 9
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.cardTableAddress:(Ljdk/internal/vm/compiler/word/Pointer;)Lorg/graalvm/compiler/word/Word;
astore 15
start local 15 26: aload 15
iconst_0
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILjdk/internal/vm/compiler/word/LocationIdentity;)B
istore 16
start local 16 27: aload 6
getfield org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters.g1EffectiveAfterNullPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
28: ldc 0.09999999999999998
iload 16
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.youngCardValue:()B
if_icmpeq 29
iconst_1
goto 30
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int int org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object jdk.internal.vm.compiler.word.Pointer int int jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.UnsignedWord org.graalvm.compiler.word.Word int
StackMap stack: double
29: iconst_0
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int int org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object jdk.internal.vm.compiler.word.Pointer int int jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.UnsignedWord org.graalvm.compiler.word.Word int
StackMap stack: double int
30: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 49
31: iconst_4
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.MembarNode.memoryBarrier:(ILjdk/internal/vm/compiler/word/LocationIdentity;)V
32: aload 15
iconst_0
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILjdk/internal/vm/compiler/word/LocationIdentity;)B
istore 17
start local 17 33: ldc 0.09999999999999998
iload 17
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.dirtyCardValue:()B
if_icmpeq 34
iconst_1
goto 35
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int int org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object jdk.internal.vm.compiler.word.Pointer int int jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.UnsignedWord org.graalvm.compiler.word.Word int int
StackMap stack: double
34: iconst_0
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int int org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object jdk.internal.vm.compiler.word.Pointer int int jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.UnsignedWord org.graalvm.compiler.word.Word int int
StackMap stack: double int
35: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 49
36: aload 0
iload 10
ldc "[%d] G1-Post Thread: %p Card: %p \n"
iload 11
i2l
aload 7
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
iload 16
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(I)Ljdk/internal/vm/compiler/word/UnsignedWord;
invokeinterface jdk.internal.vm.compiler.word.UnsignedWord.rawValue:()J
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
37: aload 15
iconst_0
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.dirtyCardValue:()B
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IBLjdk/internal/vm/compiler/word/LocationIdentity;)V
38: aload 6
getfield org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters.g1ExecutedPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
39: aload 7
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.cardQueueIndexOffset:()I
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.CARD_QUEUE_INDEX_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 18
start local 18 40: ldc 0.9
aload 18
iconst_0
invokevirtual org.graalvm.compiler.word.Word.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 48
41: aload 7
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.cardQueueBufferOffset:()I
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.CARD_QUEUE_BUFFER_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 19
start local 19 42: aload 18
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.wordSize:()I
invokevirtual org.graalvm.compiler.word.Word.subtract:(I)Lorg/graalvm/compiler/word/Word;
astore 20
start local 20 43: aload 19
aload 20
invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 21
start local 21 44: aload 7
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.cardQueueIndexOffset:()I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 22
start local 22 45: aload 21
iconst_0
aload 15
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_LOG_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILjdk/internal/vm/compiler/word/WordBase;Ljdk/internal/vm/compiler/word/LocationIdentity;)V
46: aload 22
iconst_0
aload 20
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_INDEX_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILjdk/internal/vm/compiler/word/WordBase;Ljdk/internal/vm/compiler/word/LocationIdentity;)V
end local 22 end local 21 end local 20 end local 19 47: goto 49
48: StackMap locals: org.graalvm.compiler.word.Word
StackMap stack:
aload 0
aload 15
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.g1PostBarrierStub:(Lorg/graalvm/compiler/word/Word;)V
end local 18 end local 17 end local 16 end local 15 49: StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int int org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object jdk.internal.vm.compiler.word.Pointer int int jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.UnsignedWord
StackMap stack:
return
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 50 0 this Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets;
0 50 1 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 50 2 object Ljava/lang/Object;
0 50 3 value Ljava/lang/Object;
0 50 4 usePrecise Z
0 50 5 traceStartCycle I
0 50 6 counters Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets$Counters;
1 50 7 thread Lorg/graalvm/compiler/word/Word;
2 50 8 fixedValue Ljava/lang/Object;
7 8 9 oop Ljdk/internal/vm/compiler/word/Pointer;
11 50 9 oop Ljdk/internal/vm/compiler/word/Pointer;
12 50 10 trace Z
13 50 11 gcCycle I
15 18 12 gcTotalCollectionsAddress Ljdk/internal/vm/compiler/word/Pointer;
19 50 12 writtenValue Ljdk/internal/vm/compiler/word/Pointer;
20 50 13 logOfHeapRegionGrainBytes I
21 50 14 xorResult Ljdk/internal/vm/compiler/word/UnsignedWord;
26 49 15 cardAddress Lorg/graalvm/compiler/word/Word;
27 49 16 cardByte B
33 49 17 cardByteReload B
40 49 18 indexValue Lorg/graalvm/compiler/word/Word;
42 47 19 bufferAddress Lorg/graalvm/compiler/word/Word;
43 47 20 nextIndex Lorg/graalvm/compiler/word/Word;
44 47 21 logAddress Lorg/graalvm/compiler/word/Word;
45 47 22 indexAddress Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
4:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
address
object
value
usePrecise
traceStartCycle
counters
public void g1ArrayRangePreWriteBarrier(org.graalvm.compiler.nodes.memory.address.AddressNode$Address, int, int);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=17, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.getThread:()Lorg/graalvm/compiler/word/Word;
astore 4
start local 4 1: aload 4
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.satbQueueMarkingOffset:()I
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.SATB_QUEUE_MARKING_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILjdk/internal/vm/compiler/word/LocationIdentity;)B
istore 5
start local 5 2: ldc 0.9
iload 5
ifeq 3
iload 2
ifeq 3
iconst_0
goto 4
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int org.graalvm.compiler.word.Word int
StackMap stack: double
3: iconst_1
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int org.graalvm.compiler.word.Word int
StackMap stack: double int
4: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 4
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.satbQueueBufferOffset:()I
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.SATB_QUEUE_BUFFER_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 6
start local 6 7: aload 4
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.satbQueueIndexOffset:()I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 7
start local 7 8: aload 7
iconst_0
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.SATB_QUEUE_INDEX_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
invokeinterface jdk.internal.vm.compiler.word.WordBase.rawValue:()J
lstore 8
start local 8 9: aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.objectArrayIndexScale:()I
istore 10
start local 10 10: aload 1
iload 2
iload 3
invokestatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.getPointerToFirstArrayElement:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;II)Lorg/graalvm/compiler/word/Word;
astore 11
start local 11 11: iconst_0
istore 12
start local 12 12: goto 30
13: StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int org.graalvm.compiler.word.Word int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int org.graalvm.compiler.word.Word int
StackMap stack:
aload 11
iload 12
iload 10
imul
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 13
start local 13 14: aload 13
iconst_0
getstatic org.graalvm.compiler.nodes.memory.OnHeapMemoryAccess$BarrierType.NONE:Lorg/graalvm/compiler/nodes/memory/OnHeapMemoryAccess$BarrierType;
invokevirtual org.graalvm.compiler.word.Word.readObject:(ILorg/graalvm/compiler/nodes/memory/OnHeapMemoryAccess$BarrierType;)Ljava/lang/Object;
astore 14
start local 14 15: aload 0
aload 14
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.verifyOop:(Ljava/lang/Object;)V
16: ldc 0.9
aload 14
ifnull 17
iconst_1
goto 18
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int org.graalvm.compiler.word.Word int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int org.graalvm.compiler.word.Word int org.graalvm.compiler.word.Word java.lang.Object
StackMap stack: double
17: iconst_0
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int org.graalvm.compiler.word.Word int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int org.graalvm.compiler.word.Word int org.graalvm.compiler.word.Word java.lang.Object
StackMap stack: double int
18: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 29
19: ldc 0.9
lload 8
lconst_0
lcmp
ifeq 20
iconst_1
goto 21
StackMap locals:
StackMap stack: double
20: iconst_0
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int org.graalvm.compiler.word.Word int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int org.graalvm.compiler.word.Word int org.graalvm.compiler.word.Word java.lang.Object
StackMap stack: double int
21: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 28
22: lload 8
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.wordSize:()I
i2l
lsub
lstore 8
23: aload 6
lload 8
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 15
start local 15 24: aload 14
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 16
start local 16 25: aload 15
iconst_0
aload 16
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_LOG_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILjdk/internal/vm/compiler/word/WordBase;Ljdk/internal/vm/compiler/word/LocationIdentity;)V
26: aload 7
iconst_0
lload 8
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_INDEX_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILjdk/internal/vm/compiler/word/WordBase;Ljdk/internal/vm/compiler/word/LocationIdentity;)V
end local 16 end local 15 27: goto 29
28: StackMap locals:
StackMap stack:
aload 0
aload 14
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.g1PreBarrierStub:(Ljava/lang/Object;)V
end local 14 end local 13 29: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
30: iload 12
iload 2
if_icmplt 13
end local 12 31: return
end local 11 end local 10 end local 8 end local 7 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 32 0 this Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets;
0 32 1 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 32 2 length I
0 32 3 elementStride I
1 32 4 thread Lorg/graalvm/compiler/word/Word;
2 32 5 markingValue B
7 32 6 bufferAddress Lorg/graalvm/compiler/word/Word;
8 32 7 indexAddress Lorg/graalvm/compiler/word/Word;
9 32 8 indexValue J
10 32 10 scale I
11 32 11 start Lorg/graalvm/compiler/word/Word;
12 31 12 i I
14 29 13 arrElemPtr Lorg/graalvm/compiler/word/Word;
15 29 14 previousObject Ljava/lang/Object;
24 27 15 logAddress Lorg/graalvm/compiler/word/Word;
25 27 16 previousOop Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
address
length
elementStride
public void g1ArrayRangePostWriteBarrier(org.graalvm.compiler.nodes.memory.address.AddressNode$Address, int, int);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc 0.09999999999999998
iload 2
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack: double
1: iconst_0
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int
StackMap stack: double int
2: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.getThread:()Lorg/graalvm/compiler/word/Word;
astore 4
start local 4 5: aload 4
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.cardQueueBufferOffset:()I
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.CARD_QUEUE_BUFFER_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 5
start local 5 6: aload 4
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.cardQueueIndexOffset:()I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 6
start local 6 7: aload 4
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.cardQueueIndexOffset:()I
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.CARD_QUEUE_INDEX_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
invokeinterface jdk.internal.vm.compiler.word.WordBase.rawValue:()J
lstore 7
start local 7 8: aload 0
aload 1
iload 2
iload 3
invokestatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.getPointerToFirstArrayElement:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;II)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.cardTableAddress:(Ljdk/internal/vm/compiler/word/Pointer;)Lorg/graalvm/compiler/word/Word;
astore 9
start local 9 9: aload 0
aload 1
iload 2
iload 3
invokestatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.getPointerToLastArrayElement:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;II)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.cardTableAddress:(Ljdk/internal/vm/compiler/word/Pointer;)Lorg/graalvm/compiler/word/Word;
astore 10
start local 10 10: aload 9
astore 11
start local 11 11: StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
aload 11
iconst_0
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILjdk/internal/vm/compiler/word/LocationIdentity;)B
istore 12
start local 12 12: ldc 0.09999999999999998
iload 12
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.youngCardValue:()B
if_icmpeq 13
iconst_1
goto 14
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word int
StackMap stack: double
13: iconst_0
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word int
StackMap stack: double int
14: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 30
15: iconst_4
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.MembarNode.memoryBarrier:(ILjdk/internal/vm/compiler/word/LocationIdentity;)V
16: aload 11
iconst_0
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILjdk/internal/vm/compiler/word/LocationIdentity;)B
istore 13
start local 13 17: ldc 0.09999999999999998
iload 13
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.dirtyCardValue:()B
if_icmpeq 18
iconst_1
goto 19
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word int int
StackMap stack: double
18: iconst_0
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word int int
StackMap stack: double int
19: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 30
20: aload 11
iconst_0
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.dirtyCardValue:()B
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IBLjdk/internal/vm/compiler/word/LocationIdentity;)V
21: ldc 0.9
lload 7
lconst_0
lcmp
ifeq 22
iconst_1
goto 23
StackMap locals:
StackMap stack: double
22: iconst_0
StackMap locals: org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word int int
StackMap stack: double int
23: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 29
24: lload 7
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.wordSize:()I
i2l
lsub
lstore 7
25: aload 5
lload 7
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 14
start local 14 26: aload 14
iconst_0
aload 11
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_LOG_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILjdk/internal/vm/compiler/word/WordBase;Ljdk/internal/vm/compiler/word/LocationIdentity;)V
27: aload 6
iconst_0
lload 7
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
getstatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.GC_INDEX_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILjdk/internal/vm/compiler/word/WordBase;Ljdk/internal/vm/compiler/word/LocationIdentity;)V
end local 14 28: goto 30
29: StackMap locals:
StackMap stack:
aload 0
aload 11
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.g1PostBarrierStub:(Lorg/graalvm/compiler/word/Word;)V
end local 13 30: StackMap locals:
StackMap stack:
aload 11
iconst_1
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 11
end local 12 31: aload 11
aload 10
invokevirtual org.graalvm.compiler.word.Word.belowOrEqual:(Lorg/graalvm/compiler/word/Word;)Z
ifne 11
32: return
end local 11 end local 10 end local 9 end local 7 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 33 0 this Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets;
0 33 1 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 33 2 length I
0 33 3 elementStride I
5 33 4 thread Lorg/graalvm/compiler/word/Word;
6 33 5 bufferAddress Lorg/graalvm/compiler/word/Word;
7 33 6 indexAddress Lorg/graalvm/compiler/word/Word;
8 33 7 indexValue J
9 33 9 start Lorg/graalvm/compiler/word/Word;
10 33 10 end Lorg/graalvm/compiler/word/Word;
11 33 11 cur Lorg/graalvm/compiler/word/Word;
12 31 12 cardByte B
17 30 13 cardByteReload B
26 28 14 logAddress Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
address
length
elementStride
protected abstract org.graalvm.compiler.word.Word getThread();
descriptor: ()Lorg/graalvm/compiler/word/Word;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract int wordSize();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract int objectArrayIndexScale();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract int satbQueueMarkingOffset();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract int satbQueueBufferOffset();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract int satbQueueIndexOffset();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract int cardQueueBufferOffset();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract int cardQueueIndexOffset();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract byte dirtyCardValue();
descriptor: ()B
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract byte youngCardValue();
descriptor: ()B
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.graalvm.compiler.word.Word cardTableAddress(jdk.internal.vm.compiler.word.Pointer);
descriptor: (Ljdk/internal/vm/compiler/word/Pointer;)Lorg/graalvm/compiler/word/Word;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
oop
protected abstract int logOfHeapRegionGrainBytes();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.graalvm.compiler.core.common.spi.ForeignCallDescriptor preWriteBarrierCallDescriptor();
descriptor: ()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.graalvm.compiler.core.common.spi.ForeignCallDescriptor postWriteBarrierCallDescriptor();
descriptor: ()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract boolean verifyOops();
descriptor: ()Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract boolean verifyBarrier();
descriptor: ()Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract long gcTotalCollectionsAddress();
descriptor: ()J
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.graalvm.compiler.core.common.spi.ForeignCallDescriptor verifyOopCallDescriptor();
descriptor: ()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.graalvm.compiler.core.common.spi.ForeignCallDescriptor validateObjectCallDescriptor();
descriptor: ()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.graalvm.compiler.core.common.spi.ForeignCallDescriptor printfCallDescriptor();
descriptor: ()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract jdk.vm.ci.meta.ResolvedJavaType referenceType();
descriptor: ()Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract long referentOffset();
descriptor: ()J
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
private boolean isTracingActive(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifle 1
aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.gcTotalCollectionsAddress:()J
invokestatic jdk.internal.vm.compiler.word.WordFactory.pointer:(J)Ljdk/internal/vm/compiler/word/PointerBase;
checkcast jdk.internal.vm.compiler.word.Pointer
iconst_0
invokeinterface jdk.internal.vm.compiler.word.Pointer.readLong:(I)J
iload 1
i2l
lcmp
ifle 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 this Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets;
0 2 1 traceStartCycle I
MethodParameters:
Name Flags
traceStartCycle
private void log(boolean, java.lang.String, long, long, long);
descriptor: (ZLjava/lang/String;JJJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 5 start local 7 0: iload 1
ifeq 2
1: aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.printfCallDescriptor:()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 2
invokestatic org.graalvm.compiler.replacements.nodes.CStringConstant.cstring:(Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
lload 3
lload 5
lload 7
invokestatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.printf:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;JJJ)V
2: StackMap locals:
StackMap stack:
return
end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets;
0 3 1 enabled Z
0 3 2 format Ljava/lang/String;
0 3 3 value1 J
0 3 5 value2 J
0 3 7 value3 J
MethodParameters:
Name Flags
enabled
format
value1
value2
value3
private void validateObject(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.verifyOops:()Z
ifeq 5
aload 2
ifnull 5
1: aload 1
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 3
start local 3 2: aload 2
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 4
start local 4 3: aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.validateObjectCallDescriptor:()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 3
aload 4
invokestatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.validateOop:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)Z
istore 5
start local 5 4: iload 5
ldc "Verification ERROR, Parent: %p Child: %p\n"
aload 3
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 4
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.replacements.nodes.AssertionNode.dynamicAssert:(ZLjava/lang/String;JJ)V
end local 5 end local 4 end local 3 5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets;
0 6 1 parent Ljava/lang/Object;
0 6 2 child Ljava/lang/Object;
2 5 3 parentWord Lorg/graalvm/compiler/word/Word;
3 5 4 childWord Lorg/graalvm/compiler/word/Word;
4 5 5 success Z
MethodParameters:
Name Flags
parent
child
private void verifyOop(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.verifyOops:()Z
ifeq 2
1: aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.verifyOopCallDescriptor:()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 1
invokestatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.verifyOopStub:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets;
0 3 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
private void g1PreBarrierStub(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.preWriteBarrierCallDescriptor:()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 1
invokestatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.g1PreBarrierStub:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets;
0 2 1 previousObject Ljava/lang/Object;
MethodParameters:
Name Flags
previousObject
private void g1PostBarrierStub(org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/word/Word;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.postWriteBarrierCallDescriptor:()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 1
invokestatic org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets.g1PostBarrierStub:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/gc/G1WriteBarrierSnippets;
0 2 1 cardAddress Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
cardAddress
private static native java.lang.Object verifyOopStub(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
MethodParameters:
Name Flags
descriptor
object
private static native boolean validateOop(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
MethodParameters:
Name Flags
descriptor
parent
object
private static native void g1PreBarrierStub(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
MethodParameters:
Name Flags
descriptor
object
private static native void g1PostBarrierStub(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
MethodParameters:
Name Flags
descriptor
card
private static native void printf(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.word.Word, long, long, long);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;JJJ)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
3:
4:
MethodParameters:
Name Flags
logPrintf
format
v1
v2
v3
}
SourceFile: "G1WriteBarrierSnippets.java"
NestMembers:
org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$G1WriteBarrierLowerer
InnerClasses:
public abstract ConstantParameter = org.graalvm.compiler.api.replacements.Snippet$ConstantParameter of org.graalvm.compiler.api.replacements.Snippet
public abstract ConstantNodeParameter = org.graalvm.compiler.graph.Node$ConstantNodeParameter of org.graalvm.compiler.graph.Node
public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
public final BarrierType = org.graalvm.compiler.nodes.memory.OnHeapMemoryAccess$BarrierType of org.graalvm.compiler.nodes.memory.OnHeapMemoryAccess
public abstract Address = org.graalvm.compiler.nodes.memory.address.AddressNode$Address of org.graalvm.compiler.nodes.memory.address.AddressNode
public Counters = org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$Counters of org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets
public abstract G1WriteBarrierLowerer = org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets$G1WriteBarrierLowerer of org.graalvm.compiler.replacements.gc.G1WriteBarrierSnippets