public class org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets implements org.graalvm.compiler.replacements.Snippets
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets
super_class: java.lang.Object
{
public static final org.graalvm.word.LocationIdentity GC_CARD_LOCATION;
descriptor: Lorg/graalvm/word/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.word.LocationIdentity GC_LOG_LOCATION;
descriptor: Lorg/graalvm/word/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.word.LocationIdentity GC_INDEX_LOCATION;
descriptor: Lorg/graalvm/word/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor G1WBPRECALL;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor G1WBPOSTCALL;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor VALIDATE_OBJECT;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: ldc "GC-Card"
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.mutable:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/NamedLocationIdentity;
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/word/LocationIdentity;
1: ldc "GC-Log"
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.mutable:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/NamedLocationIdentity;
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_LOG_LOCATION:Lorg/graalvm/word/LocationIdentity;
2: ldc "GC-Index"
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.mutable:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/NamedLocationIdentity;
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_INDEX_LOCATION:Lorg/graalvm/word/LocationIdentity;
3: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
ldc "write_barrier_pre"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.G1WBPRECALL:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
4: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
ldc "write_barrier_post"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/graalvm/compiler/word/Word;
aastore
invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.G1WBPOSTCALL:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
5: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
ldc "validate_object"
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/graalvm/compiler/word/Word;
aastore
dup
iconst_1
ldc Lorg/graalvm/compiler/word/Word;
aastore
invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.VALIDATE_OBJECT:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
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 java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets;
private static void serialWriteBarrier(org.graalvm.word.Pointer, org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters);
descriptor: (Lorg/graalvm/word/Pointer;Lorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
getfield org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters.serialWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
1: invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.cardTableAddress:()J
lstore 2
start local 2 2: aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.cardTableShift:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokeinterface org.graalvm.word.Pointer.unsignedShiftRight:(I)Lorg/graalvm/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
astore 4
start local 4 3: lload 2
l2i
i2l
lload 2
lcmp
ifne 6
invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.isCardTableAddressConstant:()Z
ifeq 6
4: aload 4
lload 2
l2i
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IBLorg/graalvm/word/LocationIdentity;)V
5: goto 7
6: StackMap locals: long org.graalvm.compiler.word.Word
StackMap stack:
aload 4
lload 2
invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/word/UnsignedWord;
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(Lorg/graalvm/word/WordBase;BLorg/graalvm/word/LocationIdentity;)V
7: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 ptr Lorg/graalvm/word/Pointer;
0 8 1 counters Lorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;
2 8 2 startAddress J
3 8 4 base Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
ptr
counters
public static void serialImpreciseWriteBarrier(java.lang.Object, org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters);
descriptor: (Ljava/lang/Object;Lorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.serialWriteBarrier:(Lorg/graalvm/word/Pointer;Lorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 object Ljava/lang/Object;
0 2 1 counters Lorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
object
counters
public static void serialPreciseWriteBarrier(org.graalvm.compiler.nodes.memory.address.AddressNode$Address, org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Lorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.graalvm.compiler.word.Word.fromAddress:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;)Lorg/graalvm/compiler/word/Word;
aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.serialWriteBarrier:(Lorg/graalvm/word/Pointer;Lorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 2 1 counters Lorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
address
counters
public static void serialArrayRangeWriteBarrier(java.lang.Object, int, int);
descriptor: (Ljava/lang/Object;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=17, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.nodes.extended.FixedValueAnchorNode.getObject:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 3: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.cardTableShift:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
istore 4
start local 4 4: invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.cardTableAddress:()J
lstore 5
start local 5 5: getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.arrayIndexScale:(Ljdk/vm/ci/meta/JavaKind;)I
istore 7
start local 7 6: getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.arrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
istore 8
start local 8 7: aload 3
invokestatic org.graalvm.compiler.hotspot.nodes.GetObjectAddressNode.get:(Ljava/lang/Object;)J
lstore 9
start local 9 8: lload 9
iload 8
i2l
ladd
iload 1
i2l
iload 7
i2l
lmul
ladd
iload 4
lushr
lstore 11
start local 11 9: lload 9
iload 8
i2l
ladd
iload 1
i2l
iload 2
i2l
ladd
lconst_1
lsub
iload 7
i2l
lmul
ladd
iload 4
lushr
lstore 13
start local 13 10: lload 13
lload 11
lsub
lconst_1
ladd
lstore 15
start local 15 11: goto 13
12: StackMap locals: java.lang.Object int int java.lang.Object int long int int long long long long
StackMap stack:
lload 11
lload 5
ladd
lload 15
ladd
iconst_0
getstatic jdk.vm.ci.meta.JavaKind.Boolean:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.replacements.nodes.DirectStoreNode.storeBoolean:(JZLjdk/vm/ci/meta/JavaKind;)V
13: StackMap locals:
StackMap stack:
lload 15
dup2
lconst_1
lsub
lstore 15
lconst_0
lcmp
ifgt 12
14: return
end local 15 end local 13 end local 11 end local 9 end local 8 end local 7 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 15 0 object Ljava/lang/Object;
0 15 1 startIndex I
0 15 2 length I
3 15 3 dest Ljava/lang/Object;
4 15 4 cardShift I
5 15 5 cardStart J
6 15 7 scale I
7 15 8 header I
8 15 9 dstAddr J
9 15 11 start J
10 15 13 end J
11 15 15 count J
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
object
startIndex
length
public static void g1PreWriteBarrier(org.graalvm.compiler.nodes.memory.address.AddressNode$Address, java.lang.Object, java.lang.Object, boolean, boolean, jdk.vm.ci.code.Register, boolean, org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Ljava/lang/Object;Ljava/lang/Object;ZZLjdk/vm/ci/code/Register;ZLorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=19, 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 0
invokestatic org.graalvm.compiler.nodes.extended.NullCheckNode.nullCheck:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 5
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
astore 8
start local 8 3: aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 2
invokestatic org.graalvm.compiler.nodes.extended.FixedValueAnchorNode.getObject:(Ljava/lang/Object;)Ljava/lang/Object;
astore 9
start local 9 5: aload 0
invokestatic org.graalvm.compiler.word.Word.fromAddress:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;)Lorg/graalvm/compiler/word/Word;
astore 10
start local 10 6: aload 9
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 11
start local 11 7: aload 8
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1SATBQueueMarkingOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.readByte:(I)B
istore 12
start local 12 8: iconst_0
istore 13
start local 13 9: iload 6
ifeq 19
10: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.gcTotalCollectionsAddress:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)J
invokestatic org.graalvm.word.WordFactory.pointer:(J)Lorg/graalvm/word/PointerBase;
checkcast org.graalvm.word.Pointer
astore 14
start local 14 11: aload 14
iconst_0
invokeinterface org.graalvm.word.Pointer.readLong:(I)J
l2i
istore 13
12: iload 6
ldc "[%d] G1-Pre Thread %p Object %p\n"
iload 13
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 1
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
13: iload 6
ldc "[%d] G1-Pre Thread %p Expected Object %p\n"
iload 13
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 9
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
14: iload 6
ldc "[%d] G1-Pre Thread %p Field %p\n"
iload 13
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 10
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
15: iload 6
ldc "[%d] G1-Pre Thread %p Marking %d\n"
iload 13
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
iload 12
i2l
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
16: iload 6
ldc "[%d] G1-Pre Thread %p DoLoad %d\n"
iload 13
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
iload 3
ifeq 17
lconst_1
goto 18
StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int int jdk.vm.ci.code.Register int org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object org.graalvm.compiler.word.Word org.graalvm.word.Pointer int int org.graalvm.word.Pointer
StackMap stack: int java.lang.String long long
17: lconst_0
StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int int jdk.vm.ci.code.Register int org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object org.graalvm.compiler.word.Word org.graalvm.word.Pointer int int org.graalvm.word.Pointer
StackMap stack: int java.lang.String long long long
18: invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
end local 14 19: StackMap locals:
StackMap stack:
aload 7
getfield org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters.g1AttemptedPreWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
20: ldc 0.09999999999999998
iload 12
ifeq 21
iconst_1
goto 22
StackMap locals:
StackMap stack: double
21: iconst_0
StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int int jdk.vm.ci.code.Register int org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object org.graalvm.compiler.word.Word org.graalvm.word.Pointer int int
StackMap stack: double int
22: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 41
23: ldc 0.6
iload 3
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 28
24: aload 10
iconst_0
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.NONE:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
invokevirtual org.graalvm.compiler.word.Word.readObject:(ILorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;)Ljava/lang/Object;
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 11
25: iload 6
ifeq 28
26: iload 6
ldc "[%d] G1-Pre Thread %p Previous Object %p\n "
iload 13
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 11
invokeinterface org.graalvm.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
27: aload 11
invokeinterface org.graalvm.word.Pointer.toObject:()Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
28: StackMap locals:
StackMap stack:
aload 7
getfield org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters.g1EffectivePreWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
29: ldc 0.9
aload 11
iconst_0
invokeinterface org.graalvm.word.Pointer.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 41
30: aload 7
getfield org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters.g1ExecutedPreWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
31: aload 8
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1SATBQueueIndexOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 14
start local 14 32: aload 14
iconst_0
invokevirtual org.graalvm.compiler.word.Word.readWord:(I)Lorg/graalvm/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 15
start local 15 33: 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 40
34: aload 8
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1SATBQueueBufferOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.readWord:(I)Lorg/graalvm/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 16
start local 16 35: aload 15
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.wordSize:()I
invokevirtual org.graalvm.compiler.word.Word.subtract:(I)Lorg/graalvm/compiler/word/Word;
astore 17
start local 17 36: 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 37: aload 18
iconst_0
aload 11
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_LOG_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/word/WordBase;Lorg/graalvm/word/LocationIdentity;)V
38: aload 14
iconst_0
aload 17
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_INDEX_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/word/WordBase;Lorg/graalvm/word/LocationIdentity;)V
end local 18 end local 17 end local 16 39: goto 41
40: StackMap locals: org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.G1WBPRECALL:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 11
invokeinterface org.graalvm.word.Pointer.toObject:()Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1PreBarrierStub:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;)V
end local 15 end local 14 41: StackMap locals:
StackMap stack:
return
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 42 0 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 42 1 object Ljava/lang/Object;
0 42 2 expectedObject Ljava/lang/Object;
0 42 3 doLoad Z
0 42 4 nullCheck Z
0 42 5 threadRegister Ljdk/vm/ci/code/Register;
0 42 6 trace Z
0 42 7 counters Lorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;
3 42 8 thread Lorg/graalvm/compiler/word/Word;
5 42 9 fixedExpectedObject Ljava/lang/Object;
6 42 10 field Lorg/graalvm/compiler/word/Word;
7 42 11 previousOop Lorg/graalvm/word/Pointer;
8 42 12 markingValue B
9 42 13 gcCycle I
11 19 14 gcTotalCollectionsAddress Lorg/graalvm/word/Pointer;
32 41 14 indexAddress Lorg/graalvm/compiler/word/Word;
33 41 15 indexValue Lorg/graalvm/compiler/word/Word;
35 39 16 bufferAddress Lorg/graalvm/compiler/word/Word;
36 39 17 nextIndex Lorg/graalvm/compiler/word/Word;
37 39 18 logAddress 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()
7:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
address
object
expectedObject
doLoad
nullCheck
threadRegister
trace
counters
public static void g1PostWriteBarrier(org.graalvm.compiler.nodes.memory.address.AddressNode$Address, java.lang.Object, java.lang.Object, boolean, jdk.vm.ci.code.Register, boolean, org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Ljava/lang/Object;Ljava/lang/Object;ZLjdk/vm/ci/code/Register;ZLorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=26, 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 4
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
astore 7
start local 7 1: aload 2
invokestatic org.graalvm.compiler.nodes.extended.FixedValueAnchorNode.getObject:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 2: aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 1
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.validateObject:(Ljava/lang/Object;Ljava/lang/Object;)V
5: iload 3
ifeq 8
6: aload 0
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 9
end local 9 8: StackMap locals: org.graalvm.compiler.word.Word java.lang.Object
StackMap stack:
aload 1
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 9
start local 9 9: StackMap locals: org.graalvm.word.Pointer
StackMap stack:
iconst_0
istore 10
start local 10 10: iload 5
ifeq 15
11: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.gcTotalCollectionsAddress:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)J
invokestatic org.graalvm.word.WordFactory.pointer:(J)Lorg/graalvm/word/PointerBase;
checkcast org.graalvm.word.Pointer
astore 11
start local 11 12: aload 11
iconst_0
invokeinterface org.graalvm.word.Pointer.readLong:(I)J
l2i
istore 10
13: iload 5
ldc "[%d] G1-Post Thread: %p Object: %p\n"
iload 10
i2l
aload 7
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 1
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
14: iload 5
ldc "[%d] G1-Post Thread: %p Field: %p\n"
iload 10
i2l
aload 7
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 9
invokeinterface org.graalvm.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
end local 11 15: StackMap locals: int
StackMap stack:
aload 8
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 11
start local 11 16: invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.logOfHeapRegionGrainBytes:()I
istore 12
start local 12 17: aload 9
aload 11
invokeinterface org.graalvm.word.Pointer.xor:(Lorg/graalvm/word/UnsignedWord;)Lorg/graalvm/word/UnsignedWord;
iload 12
invokeinterface org.graalvm.word.UnsignedWord.unsignedShiftRight:(I)Lorg/graalvm/word/UnsignedWord;
astore 13
start local 13 18: aload 9
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.cardTableShift:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokeinterface org.graalvm.word.Pointer.unsignedShiftRight:(I)Lorg/graalvm/word/UnsignedWord;
astore 14
start local 14 19: invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.cardTableAddress:()J
lstore 15
start local 15 20: iconst_0
istore 17
start local 17 21: lload 15
l2i
i2l
lload 15
lcmp
ifne 24
invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.isCardTableAddressConstant:()Z
ifeq 24
22: lload 15
l2i
istore 17
23: goto 25
24: StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int jdk.vm.ci.code.Register int org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object org.graalvm.word.Pointer int org.graalvm.word.Pointer int org.graalvm.word.UnsignedWord org.graalvm.word.UnsignedWord long int
StackMap stack:
aload 14
lload 15
invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/word/UnsignedWord;
invokeinterface org.graalvm.word.UnsignedWord.add:(Lorg/graalvm/word/UnsignedWord;)Lorg/graalvm/word/UnsignedWord;
astore 14
25: StackMap locals:
StackMap stack:
aload 14
iload 17
invokeinterface org.graalvm.word.UnsignedWord.add:(I)Lorg/graalvm/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
astore 18
start local 18 26: aload 6
getfield org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters.g1AttemptedPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
27: ldc 0.9
aload 13
iconst_0
invokeinterface org.graalvm.word.UnsignedWord.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 53
28: aload 6
getfield org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters.g1EffectiveAfterXORPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
29: ldc 0.9
aload 11
iconst_0
invokeinterface org.graalvm.word.Pointer.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 53
30: aload 18
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILorg/graalvm/word/LocationIdentity;)B
istore 19
start local 19 31: aload 6
getfield org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters.g1EffectiveAfterNullPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
32: ldc 0.09999999999999998
iload 19
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1YoungCardValue:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)B
if_icmpeq 33
iconst_1
goto 34
StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int jdk.vm.ci.code.Register int org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object org.graalvm.word.Pointer int org.graalvm.word.Pointer int org.graalvm.word.UnsignedWord org.graalvm.word.UnsignedWord long int org.graalvm.compiler.word.Word int
StackMap stack: double
33: iconst_0
StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int jdk.vm.ci.code.Register int org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object org.graalvm.word.Pointer int org.graalvm.word.Pointer int org.graalvm.word.UnsignedWord org.graalvm.word.UnsignedWord long int org.graalvm.compiler.word.Word int
StackMap stack: double int
34: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 53
35: iconst_4
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.MembarNode.memoryBarrier:(ILorg/graalvm/word/LocationIdentity;)V
36: aload 18
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILorg/graalvm/word/LocationIdentity;)B
istore 20
start local 20 37: ldc 0.09999999999999998
iload 20
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.dirtyCardValue:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)B
if_icmpeq 38
iconst_1
goto 39
StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int jdk.vm.ci.code.Register int org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object org.graalvm.word.Pointer int org.graalvm.word.Pointer int org.graalvm.word.UnsignedWord org.graalvm.word.UnsignedWord long int org.graalvm.compiler.word.Word int int
StackMap stack: double
38: iconst_0
StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int jdk.vm.ci.code.Register int org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object org.graalvm.word.Pointer int org.graalvm.word.Pointer int org.graalvm.word.UnsignedWord org.graalvm.word.UnsignedWord long int org.graalvm.compiler.word.Word int int
StackMap stack: double int
39: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 53
40: iload 5
ldc "[%d] G1-Post Thread: %p Card: %p \n"
iload 10
i2l
aload 7
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
iload 19
invokestatic org.graalvm.word.WordFactory.unsigned:(I)Lorg/graalvm/word/UnsignedWord;
invokeinterface org.graalvm.word.UnsignedWord.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
41: aload 18
iconst_0
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IBLorg/graalvm/word/LocationIdentity;)V
42: aload 6
getfield org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters.g1ExecutedPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
43: aload 7
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1CardQueueIndexOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 21
start local 21 44: aload 7
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1CardQueueIndexOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.readWord:(I)Lorg/graalvm/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 22
start local 22 45: ldc 0.9
aload 22
iconst_0
invokevirtual org.graalvm.compiler.word.Word.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 52
46: aload 7
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1CardQueueBufferOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.readWord:(I)Lorg/graalvm/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 23
start local 23 47: aload 22
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.wordSize:()I
invokevirtual org.graalvm.compiler.word.Word.subtract:(I)Lorg/graalvm/compiler/word/Word;
astore 24
start local 24 48: aload 23
aload 24
invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 25
start local 25 49: aload 25
iconst_0
aload 18
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_LOG_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/word/WordBase;Lorg/graalvm/word/LocationIdentity;)V
50: aload 21
iconst_0
aload 24
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_INDEX_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/word/WordBase;Lorg/graalvm/word/LocationIdentity;)V
end local 25 end local 24 end local 23 51: goto 53
52: StackMap locals: org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.G1WBPOSTCALL:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 18
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1PostBarrierStub:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;)V
end local 22 end local 21 end local 20 end local 19 53: StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address java.lang.Object java.lang.Object int jdk.vm.ci.code.Register int org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters org.graalvm.compiler.word.Word java.lang.Object org.graalvm.word.Pointer int org.graalvm.word.Pointer int org.graalvm.word.UnsignedWord org.graalvm.word.UnsignedWord long int org.graalvm.compiler.word.Word
StackMap stack:
return
end local 18 end local 17 end local 15 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 54 0 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 54 1 object Ljava/lang/Object;
0 54 2 value Ljava/lang/Object;
0 54 3 usePrecise Z
0 54 4 threadRegister Ljdk/vm/ci/code/Register;
0 54 5 trace Z
0 54 6 counters Lorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;
1 54 7 thread Lorg/graalvm/compiler/word/Word;
2 54 8 fixedValue Ljava/lang/Object;
7 8 9 oop Lorg/graalvm/word/Pointer;
9 54 9 oop Lorg/graalvm/word/Pointer;
10 54 10 gcCycle I
12 15 11 gcTotalCollectionsAddress Lorg/graalvm/word/Pointer;
16 54 11 writtenValue Lorg/graalvm/word/Pointer;
17 54 12 logOfHeapRegionGrainBytes I
18 54 13 xorResult Lorg/graalvm/word/UnsignedWord;
19 54 14 cardBase Lorg/graalvm/word/UnsignedWord;
20 54 15 startAddress J
21 54 17 displacement I
26 54 18 cardAddress Lorg/graalvm/compiler/word/Word;
31 53 19 cardByte B
37 53 20 cardByteReload B
44 53 21 indexAddress Lorg/graalvm/compiler/word/Word;
45 53 22 indexValue Lorg/graalvm/compiler/word/Word;
47 51 23 bufferAddress Lorg/graalvm/compiler/word/Word;
48 51 24 nextIndex Lorg/graalvm/compiler/word/Word;
49 51 25 logAddress 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
value
usePrecise
threadRegister
trace
counters
public static void g1ArrayRangePreWriteBarrier(java.lang.Object, int, int, jdk.vm.ci.code.Register);
descriptor: (Ljava/lang/Object;IILjdk/vm/ci/code/Register;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=19, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
astore 4
start local 4 1: aload 4
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1SATBQueueMarkingOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.readByte:(I)B
istore 5
start local 5 2: iload 5
ifeq 3
iload 2
ifne 4
3: StackMap locals: org.graalvm.compiler.word.Word int
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.nodes.extended.FixedValueAnchorNode.getObject:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 5: aload 4
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1SATBQueueBufferOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.readWord:(I)Lorg/graalvm/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 7
start local 7 6: aload 4
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1SATBQueueIndexOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 8
start local 8 7: aload 6
invokestatic org.graalvm.compiler.hotspot.nodes.GetObjectAddressNode.get:(Ljava/lang/Object;)J
lstore 9
start local 9 8: aload 8
iconst_0
invokevirtual org.graalvm.compiler.word.Word.readWord:(I)Lorg/graalvm/word/WordBase;
invokeinterface org.graalvm.word.WordBase.rawValue:()J
lstore 11
start local 11 9: getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.arrayIndexScale:(Ljdk/vm/ci/meta/JavaKind;)I
istore 13
start local 13 10: getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.arrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
istore 14
start local 14 11: iload 1
istore 15
start local 15 12: goto 25
13: StackMap locals: java.lang.Object int int jdk.vm.ci.code.Register org.graalvm.compiler.word.Word int java.lang.Object org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long long int int int
StackMap stack:
lload 9
iload 14
i2l
ladd
iload 15
iload 13
imul
i2l
ladd
invokestatic org.graalvm.word.WordFactory.pointer:(J)Lorg/graalvm/word/PointerBase;
checkcast org.graalvm.compiler.word.Word
astore 16
start local 16 14: aload 16
iconst_0
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.NONE:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
invokevirtual org.graalvm.compiler.word.Word.readObject:(ILorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;)Ljava/lang/Object;
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 17
start local 17 15: aload 17
invokeinterface org.graalvm.word.Pointer.toObject:()Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 17
iconst_0
invokeinterface org.graalvm.word.Pointer.notEqual:(I)Z
ifeq 24
17: lload 11
lconst_0
lcmp
ifeq 23
18: lload 11
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.wordSize:()I
i2l
lsub
lstore 11
19: aload 7
lload 11
invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/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 18
start local 18 20: aload 18
iconst_0
aload 17
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_LOG_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/word/WordBase;Lorg/graalvm/word/LocationIdentity;)V
21: aload 8
iconst_0
lload 11
invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/word/UnsignedWord;
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_INDEX_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/word/WordBase;Lorg/graalvm/word/LocationIdentity;)V
end local 18 22: goto 24
23: StackMap locals: org.graalvm.compiler.word.Word org.graalvm.word.Pointer
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.G1WBPRECALL:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 17
invokeinterface org.graalvm.word.Pointer.toObject:()Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1PreBarrierStub:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;)V
end local 17 end local 16 24: StackMap locals:
StackMap stack:
iinc 15 1
StackMap locals:
StackMap stack:
25: iload 15
iload 2
if_icmplt 13
end local 15 26: return
end local 14 end local 13 end local 11 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 27 0 object Ljava/lang/Object;
0 27 1 startIndex I
0 27 2 length I
0 27 3 threadRegister Ljdk/vm/ci/code/Register;
1 27 4 thread Lorg/graalvm/compiler/word/Word;
2 27 5 markingValue B
5 27 6 dest Ljava/lang/Object;
6 27 7 bufferAddress Lorg/graalvm/compiler/word/Word;
7 27 8 indexAddress Lorg/graalvm/compiler/word/Word;
8 27 9 dstAddr J
9 27 11 indexValue J
10 27 13 scale I
11 27 14 header I
12 26 15 i I
14 24 16 address Lorg/graalvm/compiler/word/Word;
15 24 17 oop Lorg/graalvm/word/Pointer;
20 22 18 logAddress Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
object
startIndex
length
threadRegister
public static void g1ArrayRangePostWriteBarrier(java.lang.Object, int, int, jdk.vm.ci.code.Register);
descriptor: (Ljava/lang/Object;IILjdk/vm/ci/code/Register;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=27, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.nodes.extended.FixedValueAnchorNode.getObject:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 3: aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
astore 5
start local 5 4: aload 5
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1CardQueueBufferOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.readWord:(I)Lorg/graalvm/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 6
start local 6 5: aload 5
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1CardQueueIndexOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 7
start local 7 6: aload 5
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1CardQueueIndexOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.readWord:(I)Lorg/graalvm/word/WordBase;
invokeinterface org.graalvm.word.WordBase.rawValue:()J
lstore 8
start local 8 7: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.cardTableShift:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
istore 10
start local 10 8: invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.cardTableAddress:()J
lstore 11
start local 11 9: getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.arrayIndexScale:(Ljdk/vm/ci/meta/JavaKind;)I
istore 13
start local 13 10: getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.arrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
istore 14
start local 14 11: aload 4
invokestatic org.graalvm.compiler.hotspot.nodes.GetObjectAddressNode.get:(Ljava/lang/Object;)J
lstore 15
start local 15 12: lload 15
iload 14
i2l
ladd
iload 1
i2l
iload 13
i2l
lmul
ladd
iload 10
lushr
lstore 17
start local 17 13: lload 15
iload 14
i2l
ladd
iload 1
i2l
iload 2
i2l
ladd
lconst_1
lsub
iload 13
i2l
lmul
ladd
iload 10
lushr
lstore 19
start local 19 14: lload 19
lload 17
lsub
lconst_1
ladd
lstore 21
start local 21 15: goto 34
16: StackMap locals: java.lang.Object int int jdk.vm.ci.code.Register java.lang.Object org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int long int int long long long long
StackMap stack:
lload 17
lload 11
ladd
lload 21
ladd
invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
astore 23
start local 23 17: aload 23
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILorg/graalvm/word/LocationIdentity;)B
istore 24
start local 24 18: ldc 0.09999999999999998
iload 24
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1YoungCardValue:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)B
if_icmpeq 19
iconst_1
goto 20
StackMap locals: java.lang.Object int int jdk.vm.ci.code.Register java.lang.Object org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int long int int long long long long org.graalvm.compiler.word.Word int
StackMap stack: double
19: iconst_0
StackMap locals: java.lang.Object int int jdk.vm.ci.code.Register java.lang.Object org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int long int int long long long long org.graalvm.compiler.word.Word int
StackMap stack: double int
20: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 34
21: iconst_4
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.MembarNode.memoryBarrier:(ILorg/graalvm/word/LocationIdentity;)V
22: aload 23
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILorg/graalvm/word/LocationIdentity;)B
istore 25
start local 25 23: ldc 0.09999999999999998
iload 25
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.dirtyCardValue:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)B
if_icmpeq 24
iconst_1
goto 25
StackMap locals: java.lang.Object int int jdk.vm.ci.code.Register java.lang.Object org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int long int int long long long long org.graalvm.compiler.word.Word int int
StackMap stack: double
24: iconst_0
StackMap locals: java.lang.Object int int jdk.vm.ci.code.Register java.lang.Object org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int long int int long long long long org.graalvm.compiler.word.Word int int
StackMap stack: double int
25: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 34
26: aload 23
iconst_0
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IBLorg/graalvm/word/LocationIdentity;)V
27: lload 8
lconst_0
lcmp
ifeq 33
28: lload 8
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.wordSize:()I
i2l
lsub
lstore 8
29: aload 6
lload 8
invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/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 26
start local 26 30: aload 26
iconst_0
aload 23
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_LOG_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/word/WordBase;Lorg/graalvm/word/LocationIdentity;)V
31: aload 7
iconst_0
lload 8
invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/word/UnsignedWord;
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_INDEX_LOCATION:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/word/WordBase;Lorg/graalvm/word/LocationIdentity;)V
end local 26 32: goto 34
33: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.G1WBPOSTCALL:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 23
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1PostBarrierStub:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;)V
end local 25 end local 24 end local 23 34: StackMap locals:
StackMap stack:
lload 21
dup2
lconst_1
lsub
lstore 21
lconst_0
lcmp
ifgt 16
35: return
end local 21 end local 19 end local 17 end local 15 end local 14 end local 13 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 36 0 object Ljava/lang/Object;
0 36 1 startIndex I
0 36 2 length I
0 36 3 threadRegister Ljdk/vm/ci/code/Register;
3 36 4 dest Ljava/lang/Object;
4 36 5 thread Lorg/graalvm/compiler/word/Word;
5 36 6 bufferAddress Lorg/graalvm/compiler/word/Word;
6 36 7 indexAddress Lorg/graalvm/compiler/word/Word;
7 36 8 indexValue J
8 36 10 cardShift I
9 36 11 cardStart J
10 36 13 scale I
11 36 14 header I
12 36 15 dstAddr J
13 36 17 start J
14 36 19 end J
15 36 21 count J
17 34 23 cardAddress Lorg/graalvm/compiler/word/Word;
18 34 24 cardByte B
23 34 25 cardByteReload B
30 32 26 logAddress Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
object
startIndex
length
threadRegister
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
public 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: (0x0109) ACC_PUBLIC, 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
public static void log(boolean, java.lang.String, long);
descriptor: (ZLjava/lang/String;J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 0
ifeq 2
1: aload 1
lload 2
invokestatic org.graalvm.compiler.replacements.Log.printf:(Ljava/lang/String;J)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 enabled Z
0 3 1 format Ljava/lang/String;
0 3 2 value J
MethodParameters:
Name Flags
enabled
format
value
public static void log(boolean, java.lang.String, long, long);
descriptor: (ZLjava/lang/String;JJ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: iload 0
ifeq 2
1: aload 1
lload 2
lload 4
invokestatic org.graalvm.compiler.replacements.Log.printf:(Ljava/lang/String;JJ)V
2: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 enabled Z
0 3 1 format Ljava/lang/String;
0 3 2 value1 J
0 3 4 value2 J
MethodParameters:
Name Flags
enabled
format
value1
value2
public static void log(boolean, java.lang.String, long, long, long);
descriptor: (ZLjava/lang/String;JJJ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: iload 0
ifeq 2
1: aload 1
lload 2
lload 4
lload 6
invokestatic org.graalvm.compiler.replacements.Log.printf:(Ljava/lang/String;JJJ)V
2: StackMap locals:
StackMap stack:
return
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 enabled Z
0 3 1 format Ljava/lang/String;
0 3 2 value1 J
0 3 4 value2 J
0 3 6 value3 J
MethodParameters:
Name Flags
enabled
format
value1
value2
value3
public static boolean traceBarrier(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.core.common.GraalOptions.GCDebugStartCycle:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ifle 5
1: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.gcTotalCollectionsAddress:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)J
invokestatic org.graalvm.word.WordFactory.pointer:(J)Lorg/graalvm/word/PointerBase;
checkcast org.graalvm.word.Pointer
iconst_0
invokeinterface org.graalvm.word.Pointer.readLong:(I)J
l2i
getstatic org.graalvm.compiler.core.common.GraalOptions.GCDebugStartCycle:Lorg/graalvm/compiler/options/OptionKey;
2: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
3: invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
4: if_icmple 5
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
graph
public static void validateObject(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOops:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 3
aload 1
ifnull 3
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.VALIDATE_OBJECT:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.validateOop:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 3
1: iconst_1
ldc "Verification ERROR, Parent: %p Child: %p\n"
aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 1
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJ)V
2: ldc "Verification ERROR, Parent: %p\n"
aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.nodes.VMErrorNode.vmError:(Ljava/lang/String;J)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 parent Ljava/lang/Object;
0 4 1 child Ljava/lang/Object;
MethodParameters:
Name Flags
parent
child
private static native boolean validateOop(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, java.lang.Object, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;Ljava/lang/Object;)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
}
SourceFile: "WriteBarrierSnippets.java"
NestMembers:
org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Templates
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
Counters = org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters of org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets
public Templates = org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Templates of org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets
public final BarrierType = org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType of org.graalvm.compiler.nodes.memory.HeapAccess
public abstract Address = org.graalvm.compiler.nodes.memory.address.AddressNode$Address of org.graalvm.compiler.nodes.memory.address.AddressNode