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 jdk.internal.vm.compiler.word.LocationIdentity GC_CARD_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_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 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:Ljdk/internal/vm/compiler/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:Ljdk/internal/vm/compiler/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:Ljdk/internal/vm/compiler/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(jdk.internal.vm.compiler.word.Pointer, org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters);
descriptor: (Ljdk/internal/vm/compiler/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.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.cardTableShift:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokeinterface jdk.internal.vm.compiler.word.Pointer.unsignedShiftRight:(I)Ljdk/internal/vm/compiler/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:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IBLjdk/internal/vm/compiler/word/LocationIdentity;)V
5: goto 7
6: StackMap locals: long org.graalvm.compiler.word.Word
StackMap stack:
aload 4
lload 2
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(Ljdk/internal/vm/compiler/word/WordBase;BLjdk/internal/vm/compiler/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 Ljdk/internal/vm/compiler/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, boolean, org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters);
descriptor: (Ljava/lang/Object;ZLorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifeq 2
1: aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.verifyNotArray:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
aload 2
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.serialWriteBarrier:(Ljdk/internal/vm/compiler/word/Pointer;Lorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 object Ljava/lang/Object;
0 4 1 verifyBarrier Z
0 4 2 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()
2:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
object
verifyBarrier
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:(Ljdk/internal/vm/compiler/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(org.graalvm.compiler.nodes.memory.address.AddressNode$Address, int, int);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=12, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifne 2
1: return
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.cardTableShift:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
istore 3
start local 3 3: invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.cardTableAddress:()J
lstore 4
start local 4 4: aload 0
iload 1
iload 2
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.getPointerToFirstArrayElement:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;II)J
iload 3
lushr
lstore 6
start local 6 5: aload 0
iload 1
iload 2
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.getPointerToLastArrayElement:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;II)J
iload 3
lushr
lstore 8
start local 8 6: lload 8
lload 6
lsub
lconst_1
ladd
lstore 10
start local 10 7: goto 9
8: StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int int long long long long
StackMap stack:
lload 6
lload 4
ladd
lload 10
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
9: StackMap locals:
StackMap stack:
lload 10
dup2
lconst_1
lsub
lstore 10
lconst_0
lcmp
ifgt 8
10: return
end local 10 end local 8 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 11 1 length I
0 11 2 elementStride I
3 11 3 cardShift I
4 11 4 cardStart J
5 11 6 start J
6 11 8 end J
7 11 10 count J
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 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.GraalHotSpotVMConfigBase.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.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.gcTotalCollectionsAddress:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)J
invokestatic jdk.internal.vm.compiler.word.WordFactory.pointer:(J)Ljdk/internal/vm/compiler/word/PointerBase;
checkcast jdk.internal.vm.compiler.word.Pointer
astore 14
start local 14 11: aload 14
iconst_0
invokeinterface jdk.internal.vm.compiler.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 jdk.internal.vm.compiler.word.Pointer int int jdk.internal.vm.compiler.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 jdk.internal.vm.compiler.word.Pointer int int jdk.internal.vm.compiler.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 jdk.internal.vm.compiler.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 jdk.internal.vm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
27: aload 11
invokeinterface jdk.internal.vm.compiler.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 jdk.internal.vm.compiler.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.GraalHotSpotVMConfigBase.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)Ljdk/internal/vm/compiler/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.GraalHotSpotVMConfigBase.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)Ljdk/internal/vm/compiler/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: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
38: aload 14
iconst_0
aload 17
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.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 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 jdk.internal.vm.compiler.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 Ljdk/internal/vm/compiler/word/Pointer;
8 42 12 markingValue B
9 42 13 gcCycle I
11 19 14 gcTotalCollectionsAddress Ljdk/internal/vm/compiler/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, 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=27, 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: 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 1: aload 2
invokestatic org.graalvm.compiler.nodes.extended.FixedValueAnchorNode.getObject:(Ljava/lang/Object;)Ljava/lang/Object;
astore 9
start local 9 2: aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 9
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 1
aload 9
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 10
start local 10 7: goto 11
end local 10 8: StackMap locals: org.graalvm.compiler.word.Word java.lang.Object
StackMap stack:
iload 4
ifeq 10
9: aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.verifyNotArray:(Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
aload 1
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 10
start local 10 11: StackMap locals: jdk.internal.vm.compiler.word.Pointer
StackMap stack:
iconst_0
istore 11
start local 11 12: iload 6
ifeq 17
13: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.gcTotalCollectionsAddress:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)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 14: aload 12
iconst_0
invokeinterface jdk.internal.vm.compiler.word.Pointer.readLong:(I)J
l2i
istore 11
15: iload 6
ldc "[%d] G1-Post Thread: %p Object: %p\n"
iload 11
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
16: iload 6
ldc "[%d] G1-Post Thread: %p Field: %p\n"
iload 11
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 10
invokeinterface jdk.internal.vm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
end local 12 17: StackMap locals: int
StackMap stack:
aload 9
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 12
start local 12 18: invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.logOfHeapRegionGrainBytes:()I
istore 13
start local 13 19: aload 10
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 20: aload 10
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.cardTableShift:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokeinterface jdk.internal.vm.compiler.word.Pointer.unsignedShiftRight:(I)Ljdk/internal/vm/compiler/word/UnsignedWord;
astore 15
start local 15 21: invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.cardTableAddress:()J
lstore 16
start local 16 22: iconst_0
istore 18
start local 18 23: lload 16
l2i
i2l
lload 16
lcmp
ifne 26
invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.isCardTableAddressConstant:()Z
ifeq 26
24: lload 16
l2i
istore 18
25: goto 27
26: 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 jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.UnsignedWord jdk.internal.vm.compiler.word.UnsignedWord long int
StackMap stack:
aload 15
lload 16
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
invokeinterface jdk.internal.vm.compiler.word.UnsignedWord.add:(Ljdk/internal/vm/compiler/word/UnsignedWord;)Ljdk/internal/vm/compiler/word/UnsignedWord;
astore 15
27: StackMap locals:
StackMap stack:
aload 15
iload 18
invokeinterface jdk.internal.vm.compiler.word.UnsignedWord.add:(I)Ljdk/internal/vm/compiler/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
astore 19
start local 19 28: aload 7
getfield org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters.g1AttemptedPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
29: 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 55
30: aload 7
getfield org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters.g1EffectiveAfterXORPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
31: 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 55
32: aload 19
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILjdk/internal/vm/compiler/word/LocationIdentity;)B
istore 20
start local 20 33: aload 7
getfield org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters.g1EffectiveAfterNullPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
34: ldc 0.09999999999999998
iload 20
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1YoungCardValue:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)B
if_icmpeq 35
iconst_1
goto 36
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 jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.UnsignedWord jdk.internal.vm.compiler.word.UnsignedWord long int org.graalvm.compiler.word.Word int
StackMap stack: double
35: 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 jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.UnsignedWord jdk.internal.vm.compiler.word.UnsignedWord long int org.graalvm.compiler.word.Word int
StackMap stack: double int
36: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 55
37: iconst_4
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.MembarNode.memoryBarrier:(ILjdk/internal/vm/compiler/word/LocationIdentity;)V
38: aload 19
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILjdk/internal/vm/compiler/word/LocationIdentity;)B
istore 21
start local 21 39: ldc 0.09999999999999998
iload 21
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.dirtyCardValue:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)B
if_icmpeq 40
iconst_1
goto 41
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 jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.UnsignedWord jdk.internal.vm.compiler.word.UnsignedWord long int org.graalvm.compiler.word.Word int int
StackMap stack: double
40: 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 jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.UnsignedWord jdk.internal.vm.compiler.word.UnsignedWord long int org.graalvm.compiler.word.Word int int
StackMap stack: double int
41: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 55
42: iload 6
ldc "[%d] G1-Post Thread: %p Card: %p \n"
iload 11
i2l
aload 8
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
iload 20
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(I)Ljdk/internal/vm/compiler/word/UnsignedWord;
invokeinterface jdk.internal.vm.compiler.word.UnsignedWord.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
43: aload 19
iconst_0
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IBLjdk/internal/vm/compiler/word/LocationIdentity;)V
44: aload 7
getfield org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets$Counters.g1ExecutedPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
45: aload 8
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.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 22
start local 22 46: aload 8
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.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)Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 23
start local 23 47: ldc 0.9
aload 23
iconst_0
invokevirtual org.graalvm.compiler.word.Word.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 54
48: aload 8
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.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)Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 24
start local 24 49: aload 23
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.wordSize:()I
invokevirtual org.graalvm.compiler.word.Word.subtract:(I)Lorg/graalvm/compiler/word/Word;
astore 25
start local 25 50: aload 24
aload 25
invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 26
start local 26 51: aload 26
iconst_0
aload 19
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.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
52: aload 22
iconst_0
aload 25
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.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 26 end local 25 end local 24 53: goto 55
54: 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 19
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1PostBarrierStub:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;)V
end local 23 end local 22 end local 21 end local 20 55: 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 jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.Pointer int jdk.internal.vm.compiler.word.UnsignedWord jdk.internal.vm.compiler.word.UnsignedWord long int org.graalvm.compiler.word.Word
StackMap stack:
return
end local 19 end local 18 end local 16 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 56 0 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 56 1 object Ljava/lang/Object;
0 56 2 value Ljava/lang/Object;
0 56 3 usePrecise Z
0 56 4 verifyBarrier Z
0 56 5 threadRegister Ljdk/vm/ci/code/Register;
0 56 6 trace Z
0 56 7 counters Lorg/graalvm/compiler/hotspot/replacements/WriteBarrierSnippets$Counters;
1 56 8 thread Lorg/graalvm/compiler/word/Word;
2 56 9 fixedValue Ljava/lang/Object;
7 8 10 oop Ljdk/internal/vm/compiler/word/Pointer;
11 56 10 oop Ljdk/internal/vm/compiler/word/Pointer;
12 56 11 gcCycle I
14 17 12 gcTotalCollectionsAddress Ljdk/internal/vm/compiler/word/Pointer;
18 56 12 writtenValue Ljdk/internal/vm/compiler/word/Pointer;
19 56 13 logOfHeapRegionGrainBytes I
20 56 14 xorResult Ljdk/internal/vm/compiler/word/UnsignedWord;
21 56 15 cardBase Ljdk/internal/vm/compiler/word/UnsignedWord;
22 56 16 startAddress J
23 56 18 displacement I
28 56 19 cardAddress Lorg/graalvm/compiler/word/Word;
33 55 20 cardByte B
39 55 21 cardByteReload B
46 55 22 indexAddress Lorg/graalvm/compiler/word/Word;
47 55 23 indexValue Lorg/graalvm/compiler/word/Word;
49 53 24 bufferAddress Lorg/graalvm/compiler/word/Word;
50 53 25 nextIndex Lorg/graalvm/compiler/word/Word;
51 53 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()
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
value
usePrecise
verifyBarrier
threadRegister
trace
counters
private static void verifyNotArray(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 4
1: iconst_0
aload 0
invokestatic org.graalvm.compiler.nodes.SnippetAnchorNode.anchor:()Lorg/graalvm/compiler/nodes/extended/GuardingNode;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastNonNull:(Ljava/lang/Object;Lorg/graalvm/compiler/nodes/extended/GuardingNode;)Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack: int
2: iconst_1
StackMap locals: java.lang.Object
StackMap stack: int int
3: ldc "imprecise card mark used with array"
invokestatic org.graalvm.compiler.replacements.nodes.AssertionNode.assertion:(ZZLjava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
public static void g1ArrayRangePreWriteBarrier(org.graalvm.compiler.nodes.memory.address.AddressNode$Address, int, int, jdk.vm.ci.code.Register);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;IILjdk/vm/ci/code/Register;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=17, 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.GraalHotSpotVMConfigBase.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 1
ifne 4
3: StackMap locals: org.graalvm.compiler.word.Word int
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 4
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.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)Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 6
start local 6 5: aload 4
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.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 7
start local 7 6: aload 7
iconst_0
invokevirtual org.graalvm.compiler.word.Word.readWord:(I)Ljdk/internal/vm/compiler/word/WordBase;
invokeinterface jdk.internal.vm.compiler.word.WordBase.rawValue:()J
lstore 8
start local 8 7: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_METAACCESS:Ljdk/vm/ci/meta/MetaAccessProvider;
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.arrayIndexScale:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/JavaKind;)I
istore 10
start local 10 8: aload 0
iload 1
iload 2
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.getPointerToFirstArrayElement:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;II)J
lstore 11
start local 11 9: iconst_0
istore 13
start local 13 10: goto 23
11: StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int jdk.vm.ci.code.Register org.graalvm.compiler.word.Word int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int long int
StackMap stack:
lload 11
iload 13
iload 10
imul
i2l
ladd
invokestatic jdk.internal.vm.compiler.word.WordFactory.pointer:(J)Ljdk/internal/vm/compiler/word/PointerBase;
checkcast org.graalvm.compiler.word.Word
astore 14
start local 14 12: aload 14
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 15
start local 15 13: aload 15
invokeinterface jdk.internal.vm.compiler.word.Pointer.toObject:()Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 15
iconst_0
invokeinterface jdk.internal.vm.compiler.word.Pointer.notEqual:(I)Z
ifeq 22
15: lload 8
lconst_0
lcmp
ifeq 21
16: lload 8
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.wordSize:()I
i2l
lsub
lstore 8
17: 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 16
start local 16 18: aload 16
iconst_0
aload 15
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.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
19: 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.hotspot.replacements.WriteBarrierSnippets.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 20: goto 22
21: StackMap locals: org.graalvm.compiler.word.Word jdk.internal.vm.compiler.word.Pointer
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.G1WBPRECALL:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 15
invokeinterface jdk.internal.vm.compiler.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 22: StackMap locals:
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
23: iload 13
iload 1
if_icmplt 11
end local 13 24: 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 25 0 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 25 1 length I
0 25 2 elementStride I
0 25 3 threadRegister Ljdk/vm/ci/code/Register;
1 25 4 thread Lorg/graalvm/compiler/word/Word;
2 25 5 markingValue B
5 25 6 bufferAddress Lorg/graalvm/compiler/word/Word;
6 25 7 indexAddress Lorg/graalvm/compiler/word/Word;
7 25 8 indexValue J
8 25 10 scale I
9 25 11 start J
10 24 13 i I
12 22 14 arrElemPtr Lorg/graalvm/compiler/word/Word;
13 22 15 oop Ljdk/internal/vm/compiler/word/Pointer;
18 20 16 logAddress Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
address
length
elementStride
threadRegister
public static void g1ArrayRangePostWriteBarrier(org.graalvm.compiler.nodes.memory.address.AddressNode$Address, int, int, jdk.vm.ci.code.Register);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;IILjdk/vm/ci/code/Register;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=22, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
ifne 2
1: return
2: StackMap locals:
StackMap stack:
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 3: aload 4
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.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)Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 5
start local 5 4: aload 4
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.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 6
start local 6 5: aload 4
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.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)Ljdk/internal/vm/compiler/word/WordBase;
invokeinterface jdk.internal.vm.compiler.word.WordBase.rawValue:()J
lstore 7
start local 7 6: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.cardTableShift:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
istore 9
start local 9 7: invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.cardTableAddress:()J
lstore 10
start local 10 8: aload 0
iload 1
iload 2
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.getPointerToFirstArrayElement:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;II)J
iload 9
lushr
lstore 12
start local 12 9: aload 0
iload 1
iload 2
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.getPointerToLastArrayElement:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;II)J
iload 9
lushr
lstore 14
start local 14 10: lload 14
lload 12
lsub
lconst_1
ladd
lstore 16
start local 16 11: goto 30
12: StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int jdk.vm.ci.code.Register org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int long long long long
StackMap stack:
lload 12
lload 10
ladd
lload 16
ladd
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
astore 18
start local 18 13: aload 18
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILjdk/internal/vm/compiler/word/LocationIdentity;)B
istore 19
start local 19 14: ldc 0.09999999999999998
iload 19
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.g1YoungCardValue:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)B
if_icmpeq 15
iconst_1
goto 16
StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int jdk.vm.ci.code.Register org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int long long long long org.graalvm.compiler.word.Word int
StackMap stack: double
15: iconst_0
StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int jdk.vm.ci.code.Register org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int long long long long org.graalvm.compiler.word.Word int
StackMap stack: double int
16: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 30
17: iconst_4
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.MembarNode.memoryBarrier:(ILjdk/internal/vm/compiler/word/LocationIdentity;)V
18: aload 18
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILjdk/internal/vm/compiler/word/LocationIdentity;)B
istore 20
start local 20 19: ldc 0.09999999999999998
iload 20
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.dirtyCardValue:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)B
if_icmpeq 20
iconst_1
goto 21
StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int jdk.vm.ci.code.Register org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int long long long long org.graalvm.compiler.word.Word int int
StackMap stack: double
20: iconst_0
StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode$Address int int jdk.vm.ci.code.Register org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long int long long long long org.graalvm.compiler.word.Word int int
StackMap stack: double int
21: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 30
22: aload 18
iconst_0
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IBLjdk/internal/vm/compiler/word/LocationIdentity;)V
23: lload 7
lconst_0
lcmp
ifeq 29
24: lload 7
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.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 21
start local 21 26: aload 21
iconst_0
aload 18
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.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.hotspot.replacements.WriteBarrierSnippets.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 21 28: goto 30
29: StackMap locals:
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 20 end local 19 end local 18 30: StackMap locals:
StackMap stack:
lload 16
dup2
lconst_1
lsub
lstore 16
lconst_0
lcmp
ifgt 12
31: return
end local 16 end local 14 end local 12 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 32 0 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 32 1 length I
0 32 2 elementStride I
0 32 3 threadRegister Ljdk/vm/ci/code/Register;
3 32 4 thread Lorg/graalvm/compiler/word/Word;
4 32 5 bufferAddress Lorg/graalvm/compiler/word/Word;
5 32 6 indexAddress Lorg/graalvm/compiler/word/Word;
6 32 7 indexValue J
7 32 9 cardShift I
8 32 10 cardStart J
9 32 12 start J
10 32 14 end J
11 32 16 count J
13 30 18 cardAddress Lorg/graalvm/compiler/word/Word;
14 30 19 cardByte B
19 30 20 cardByteReload B
26 28 21 logAddress Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
address
length
elementStride
threadRegister
private static long getPointerToFirstArrayElement(org.graalvm.compiler.nodes.memory.address.AddressNode$Address, int, int);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;II)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.graalvm.compiler.word.Word.fromAddress:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
lstore 3
start local 3 1: iload 2
ifge 3
2: lload 3
iload 2
iload 1
imul
i2l
ladd
lstore 3
3: StackMap locals: long
StackMap stack:
lload 3
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 4 1 length I
0 4 2 elementStride I
1 4 3 result J
MethodParameters:
Name Flags
address
length
elementStride
private static long getPointerToLastArrayElement(org.graalvm.compiler.nodes.memory.address.AddressNode$Address, int, int);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;II)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.graalvm.compiler.word.Word.fromAddress:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
lstore 3
start local 3 1: iload 2
ifge 4
2: lload 3
iload 2
i2l
ladd
lstore 3
3: goto 5
4: StackMap locals: long
StackMap stack:
lload 3
iload 1
iconst_1
isub
iload 2
imul
i2l
ladd
lstore 3
5: StackMap locals:
StackMap stack:
lload 3
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 6 1 length I
0 6 2 elementStride I
1 6 3 result J
MethodParameters:
Name Flags
address
length
elementStride
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 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=4, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOops:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 6
aload 1
ifnull 6
1: aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 2
start local 2 2: aload 1
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 3
start local 3 3: getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.VALIDATE_OBJECT:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 2
aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.validateOop:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)Z
ifne 6
4: iconst_1
ldc "Verification ERROR, Parent: %p Child: %p\n"
aload 2
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 3
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJ)V
5: ldc "Verification ERROR, Parent: %p\n"
aload 2
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.nodes.VMErrorNode.vmError:(Ljava/lang/String;J)V
end local 3 end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 parent Ljava/lang/Object;
0 7 1 child Ljava/lang/Object;
2 6 2 parentWord Lorg/graalvm/compiler/word/Word;
3 6 3 childWord Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
parent
child
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
}
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