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
{
private static final org.graalvm.compiler.replacements.SnippetCounter$Group countersWriteBarriers;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.replacements.SnippetCounter serialWriteBarrierCounter;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.replacements.SnippetCounter g1AttemptedPreWriteBarrierCounter;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.replacements.SnippetCounter g1EffectivePreWriteBarrierCounter;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.replacements.SnippetCounter g1ExecutedPreWriteBarrierCounter;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.replacements.SnippetCounter g1AttemptedPostWriteBarrierCounter;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.replacements.SnippetCounter g1EffectiveAfterXORPostWriteBarrierCounter;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.replacements.SnippetCounter g1EffectiveAfterNullPostWriteBarrierCounter;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.replacements.SnippetCounter g1ExecutedPostWriteBarrierCounter;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.common.LocationIdentity GC_CARD_LOCATION;
descriptor: Lorg/graalvm/compiler/core/common/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.common.LocationIdentity GC_LOG_LOCATION;
descriptor: Lorg/graalvm/compiler/core/common/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.common.LocationIdentity GC_INDEX_LOCATION;
descriptor: Lorg/graalvm/compiler/core/common/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: getstatic org.graalvm.compiler.core.common.GraalOptions.SnippetCounters:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 1
new org.graalvm.compiler.replacements.SnippetCounter$Group
dup
ldc "WriteBarriers"
invokespecial org.graalvm.compiler.replacements.SnippetCounter$Group.<init>:(Ljava/lang/String;)V
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: org.graalvm.compiler.replacements.SnippetCounter$Group
2: putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.countersWriteBarriers:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
3: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.countersWriteBarriers:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "serialWriteBarrier"
ldc "Number of Serial Write Barriers"
invokespecial org.graalvm.compiler.replacements.SnippetCounter.<init>:(Lorg/graalvm/compiler/replacements/SnippetCounter$Group;Ljava/lang/String;Ljava/lang/String;)V
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.serialWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
4: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.countersWriteBarriers:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "g1AttemptedPreWriteBarrier"
ldc "Number of attempted G1 Pre Write Barriers"
invokespecial org.graalvm.compiler.replacements.SnippetCounter.<init>:(Lorg/graalvm/compiler/replacements/SnippetCounter$Group;Ljava/lang/String;Ljava/lang/String;)V
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1AttemptedPreWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
5: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.countersWriteBarriers:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "g1EffectivePreWriteBarrier"
ldc "Number of effective G1 Pre Write Barriers"
invokespecial org.graalvm.compiler.replacements.SnippetCounter.<init>:(Lorg/graalvm/compiler/replacements/SnippetCounter$Group;Ljava/lang/String;Ljava/lang/String;)V
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1EffectivePreWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
6: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.countersWriteBarriers:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "g1ExecutedPreWriteBarrier"
ldc "Number of executed G1 Pre Write Barriers"
invokespecial org.graalvm.compiler.replacements.SnippetCounter.<init>:(Lorg/graalvm/compiler/replacements/SnippetCounter$Group;Ljava/lang/String;Ljava/lang/String;)V
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1ExecutedPreWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
7: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.countersWriteBarriers:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "g1AttemptedPostWriteBarrier"
ldc "Number of attempted G1 Post Write Barriers"
invokespecial org.graalvm.compiler.replacements.SnippetCounter.<init>:(Lorg/graalvm/compiler/replacements/SnippetCounter$Group;Ljava/lang/String;Ljava/lang/String;)V
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1AttemptedPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
8: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.countersWriteBarriers:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "g1EffectiveAfterXORPostWriteBarrier"
9: ldc "Number of effective G1 Post Write Barriers (after passing the XOR test)"
10: invokespecial org.graalvm.compiler.replacements.SnippetCounter.<init>:(Lorg/graalvm/compiler/replacements/SnippetCounter$Group;Ljava/lang/String;Ljava/lang/String;)V
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1EffectiveAfterXORPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
11: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.countersWriteBarriers:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "g1EffectiveAfterNullPostWriteBarrier"
12: ldc "Number of effective G1 Post Write Barriers (after passing the NULL test)"
13: invokespecial org.graalvm.compiler.replacements.SnippetCounter.<init>:(Lorg/graalvm/compiler/replacements/SnippetCounter$Group;Ljava/lang/String;Ljava/lang/String;)V
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1EffectiveAfterNullPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
14: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.countersWriteBarriers:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "g1ExecutedPostWriteBarrier"
ldc "Number of executed G1 Post Write Barriers"
invokespecial org.graalvm.compiler.replacements.SnippetCounter.<init>:(Lorg/graalvm/compiler/replacements/SnippetCounter$Group;Ljava/lang/String;Ljava/lang/String;)V
putstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1ExecutedPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
15: 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/compiler/core/common/LocationIdentity;
16: 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/compiler/core/common/LocationIdentity;
17: 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/compiler/core/common/LocationIdentity;
18: 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;
19: 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;
20: 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.compiler.word.Pointer);
descriptor: (Lorg/graalvm/compiler/word/Pointer;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.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 1
start local 1 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.compiler.word.Pointer.unsignedShiftRight:(I)Lorg/graalvm/compiler/word/Unsigned;
checkcast org.graalvm.compiler.word.Word
astore 3
start local 3 3: lload 1
l2i
i2l
lload 1
lcmp
ifne 6
invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.isCardTableAddressConstant:()Z
ifeq 6
4: aload 3
lload 1
l2i
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IBLorg/graalvm/compiler/core/common/LocationIdentity;)V
5: goto 7
6: StackMap locals: long org.graalvm.compiler.word.Word
StackMap stack:
aload 3
lload 1
invokestatic org.graalvm.compiler.word.Word.unsigned:(J)Lorg/graalvm/compiler/word/Word;
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(Lorg/graalvm/compiler/word/WordBase;BLorg/graalvm/compiler/core/common/LocationIdentity;)V
7: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 ptr Lorg/graalvm/compiler/word/Pointer;
2 8 1 startAddress J
3 8 3 base Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
ptr
public static void serialImpreciseWriteBarrier(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Pointer;
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.serialWriteBarrier:(Lorg/graalvm/compiler/word/Pointer;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 object Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
object
public static void serialPreciseWriteBarrier(org.graalvm.compiler.nodes.memory.address.AddressNode$Address);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.word.Word.fromAddress:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;)Lorg/graalvm/compiler/word/Pointer;
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.serialWriteBarrier:(Lorg/graalvm/compiler/word/Pointer;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
address
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);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Ljava/lang/Object;Ljava/lang/Object;ZZLjdk/vm/ci/code/Register;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=18, 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: 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 7
start local 7 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 8
start local 8 5: aload 0
invokestatic org.graalvm.compiler.word.Word.fromAddress:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;)Lorg/graalvm/compiler/word/Pointer;
astore 9
start local 9 6: aload 8
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Pointer;
astore 10
start local 10 7: aload 7
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 11
start local 11 8: iconst_0
istore 12
start local 12 9: iload 6
ifeq 18
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.compiler.word.Word.unsigned:(J)Lorg/graalvm/compiler/word/Word;
iconst_0
invokevirtual org.graalvm.compiler.word.Word.readLong:(I)J
l2i
istore 12
11: iload 6
ldc "[%d] G1-Pre Thread %p Object %p\n"
iload 12
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/Pointer;
invokeinterface org.graalvm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
12: iload 6
ldc "[%d] G1-Pre Thread %p Expected Object %p\n"
iload 12
i2l
aload 7
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 8
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Pointer;
invokeinterface org.graalvm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
13: iload 6
ldc "[%d] G1-Pre Thread %p Field %p\n"
iload 12
i2l
aload 7
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 9
invokeinterface org.graalvm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
14: iload 6
ldc "[%d] G1-Pre Thread %p Marking %d\n"
iload 12
i2l
aload 7
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
iload 11
i2l
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
15: iload 6
ldc "[%d] G1-Pre Thread %p DoLoad %d\n"
iload 12
i2l
aload 7
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
iload 3
ifeq 16
lconst_1
goto 17
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.word.Word java.lang.Object org.graalvm.compiler.word.Pointer org.graalvm.compiler.word.Pointer int int
StackMap stack: int java.lang.String long long
16: 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.word.Word java.lang.Object org.graalvm.compiler.word.Pointer org.graalvm.compiler.word.Pointer int int
StackMap stack: int java.lang.String long long long
17: invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
18: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1AttemptedPreWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
19: ldc 0.09999999999999998
iload 11
ifeq 20
iconst_1
goto 21
StackMap locals:
StackMap stack: double
20: 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.word.Word java.lang.Object org.graalvm.compiler.word.Pointer org.graalvm.compiler.word.Pointer int int
StackMap stack: double int
21: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 40
22: ldc 0.6
iload 3
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 27
23: aload 9
iconst_0
getstatic org.graalvm.compiler.nodes.memory.HeapAccess$BarrierType.NONE:Lorg/graalvm/compiler/nodes/memory/HeapAccess$BarrierType;
invokeinterface org.graalvm.compiler.word.Pointer.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/Pointer;
astore 10
24: iload 6
ifeq 27
25: iload 6
ldc "[%d] G1-Pre Thread %p Previous Object %p\n "
iload 12
i2l
aload 7
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 10
invokeinterface org.graalvm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
26: aload 10
invokeinterface org.graalvm.compiler.word.Pointer.toObject:()Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
27: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1EffectivePreWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
28: ldc 0.9
aload 10
iconst_0
invokeinterface org.graalvm.compiler.word.Pointer.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 40
29: getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1ExecutedPreWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
30: aload 7
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 13
start local 13 31: aload 13
iconst_0
invokevirtual org.graalvm.compiler.word.Word.readWord:(I)Lorg/graalvm/compiler/word/Word;
astore 14
start local 14 32: ldc 0.9
aload 14
iconst_0
invokevirtual org.graalvm.compiler.word.Word.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 39
33: aload 7
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/compiler/word/Word;
astore 15
start local 15 34: aload 14
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.wordSize:()I
invokevirtual org.graalvm.compiler.word.Word.subtract:(I)Lorg/graalvm/compiler/word/Word;
astore 16
start local 16 35: aload 15
aload 16
invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 17
start local 17 36: aload 17
iconst_0
aload 10
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_LOG_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/compiler/word/WordBase;Lorg/graalvm/compiler/core/common/LocationIdentity;)V
37: aload 13
iconst_0
aload 16
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_INDEX_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/compiler/word/WordBase;Lorg/graalvm/compiler/core/common/LocationIdentity;)V
end local 17 end local 16 end local 15 38: goto 40
39: 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 10
invokeinterface org.graalvm.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 14 end local 13 40: StackMap locals:
StackMap stack:
return
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 41 1 object Ljava/lang/Object;
0 41 2 expectedObject Ljava/lang/Object;
0 41 3 doLoad Z
0 41 4 nullCheck Z
0 41 5 threadRegister Ljdk/vm/ci/code/Register;
0 41 6 trace Z
3 41 7 thread Lorg/graalvm/compiler/word/Word;
5 41 8 fixedExpectedObject Ljava/lang/Object;
6 41 9 field Lorg/graalvm/compiler/word/Pointer;
7 41 10 previousOop Lorg/graalvm/compiler/word/Pointer;
8 41 11 markingValue B
9 41 12 gcCycle I
31 40 13 indexAddress Lorg/graalvm/compiler/word/Word;
32 40 14 indexValue Lorg/graalvm/compiler/word/Word;
34 38 15 bufferAddress Lorg/graalvm/compiler/word/Word;
35 38 16 nextIndex Lorg/graalvm/compiler/word/Word;
36 38 17 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
expectedObject
doLoad
nullCheck
threadRegister
trace
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);
descriptor: (Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Ljava/lang/Object;Ljava/lang/Object;ZLjdk/vm/ci/code/Register;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=25, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
astore 6
start local 6 1: aload 2
invokestatic org.graalvm.compiler.nodes.extended.FixedValueAnchorNode.getObject:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 2: aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 7
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 1
aload 7
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/Pointer;
astore 8
start local 8 7: goto 9
end local 8 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/Pointer;
astore 8
start local 8 9: StackMap locals: org.graalvm.compiler.word.Pointer
StackMap stack:
iconst_0
istore 9
start local 9 10: iload 5
ifeq 14
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.compiler.word.Word.unsigned:(J)Lorg/graalvm/compiler/word/Word;
iconst_0
invokevirtual org.graalvm.compiler.word.Word.readLong:(I)J
l2i
istore 9
12: iload 5
ldc "[%d] G1-Post Thread: %p Object: %p\n"
iload 9
i2l
aload 6
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 1
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Pointer;
invokeinterface org.graalvm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
13: iload 5
ldc "[%d] G1-Post Thread: %p Field: %p\n"
iload 9
i2l
aload 6
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 8
invokeinterface org.graalvm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJJ)V
14: StackMap locals: int
StackMap stack:
aload 7
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Pointer;
astore 10
start local 10 15: invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.logOfHeapRegionGrainBytes:()I
istore 11
start local 11 16: aload 8
aload 10
invokeinterface org.graalvm.compiler.word.Pointer.xor:(Lorg/graalvm/compiler/word/Unsigned;)Lorg/graalvm/compiler/word/Unsigned;
iload 11
invokeinterface org.graalvm.compiler.word.Unsigned.unsignedShiftRight:(I)Lorg/graalvm/compiler/word/Unsigned;
astore 12
start local 12 17: aload 8
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.compiler.word.Pointer.unsignedShiftRight:(I)Lorg/graalvm/compiler/word/Unsigned;
astore 13
start local 13 18: invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.cardTableAddress:()J
lstore 14
start local 14 19: iconst_0
istore 16
start local 16 20: lload 14
l2i
i2l
lload 14
lcmp
ifne 23
invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.isCardTableAddressConstant:()Z
ifeq 23
21: lload 14
l2i
istore 16
22: goto 24
23: 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.word.Word java.lang.Object org.graalvm.compiler.word.Pointer int org.graalvm.compiler.word.Pointer int org.graalvm.compiler.word.Unsigned org.graalvm.compiler.word.Unsigned long int
StackMap stack:
aload 13
lload 14
invokestatic org.graalvm.compiler.word.Word.unsigned:(J)Lorg/graalvm/compiler/word/Word;
invokeinterface org.graalvm.compiler.word.Unsigned.add:(Lorg/graalvm/compiler/word/Unsigned;)Lorg/graalvm/compiler/word/Unsigned;
astore 13
24: StackMap locals:
StackMap stack:
aload 13
iload 16
invokeinterface org.graalvm.compiler.word.Unsigned.add:(I)Lorg/graalvm/compiler/word/Unsigned;
checkcast org.graalvm.compiler.word.Word
astore 17
start local 17 25: getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1AttemptedPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
26: ldc 0.9
aload 12
iconst_0
invokeinterface org.graalvm.compiler.word.Unsigned.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 52
27: getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1EffectiveAfterXORPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
28: ldc 0.9
aload 10
iconst_0
invokeinterface org.graalvm.compiler.word.Pointer.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 52
29: aload 17
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILorg/graalvm/compiler/core/common/LocationIdentity;)B
istore 18
start local 18 30: getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1EffectiveAfterNullPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
31: ldc 0.09999999999999998
iload 18
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 32
iconst_1
goto 33
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.word.Word java.lang.Object org.graalvm.compiler.word.Pointer int org.graalvm.compiler.word.Pointer int org.graalvm.compiler.word.Unsigned org.graalvm.compiler.word.Unsigned long int org.graalvm.compiler.word.Word int
StackMap stack: double
32: 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.word.Word java.lang.Object org.graalvm.compiler.word.Pointer int org.graalvm.compiler.word.Pointer int org.graalvm.compiler.word.Unsigned org.graalvm.compiler.word.Unsigned long int org.graalvm.compiler.word.Word int
StackMap stack: double int
33: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 52
34: iconst_4
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.MembarNode.memoryBarrier:(ILorg/graalvm/compiler/core/common/LocationIdentity;)V
35: aload 17
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILorg/graalvm/compiler/core/common/LocationIdentity;)B
istore 19
start local 19 36: 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.dirtyCardValue:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)B
if_icmpeq 37
iconst_1
goto 38
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.word.Word java.lang.Object org.graalvm.compiler.word.Pointer int org.graalvm.compiler.word.Pointer int org.graalvm.compiler.word.Unsigned org.graalvm.compiler.word.Unsigned long int org.graalvm.compiler.word.Word int int
StackMap stack: double
37: 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.word.Word java.lang.Object org.graalvm.compiler.word.Pointer int org.graalvm.compiler.word.Pointer int org.graalvm.compiler.word.Unsigned org.graalvm.compiler.word.Unsigned long int org.graalvm.compiler.word.Word int int
StackMap stack: double int
38: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 52
39: iload 5
ldc "[%d] G1-Post Thread: %p Card: %p \n"
iload 9
i2l
aload 6
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
iload 18
invokestatic org.graalvm.compiler.word.Word.unsigned:(I)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
40: aload 17
iconst_0
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IBLorg/graalvm/compiler/core/common/LocationIdentity;)V
41: getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1ExecutedPostWriteBarrierCounter:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
42: aload 6
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 20
start local 20 43: aload 6
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/compiler/word/Word;
astore 21
start local 21 44: ldc 0.9
aload 21
iconst_0
invokevirtual org.graalvm.compiler.word.Word.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 51
45: aload 6
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/compiler/word/Word;
astore 22
start local 22 46: aload 21
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.wordSize:()I
invokevirtual org.graalvm.compiler.word.Word.subtract:(I)Lorg/graalvm/compiler/word/Word;
astore 23
start local 23 47: aload 22
aload 23
invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 24
start local 24 48: aload 24
iconst_0
aload 17
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_LOG_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/compiler/word/WordBase;Lorg/graalvm/compiler/core/common/LocationIdentity;)V
49: aload 20
iconst_0
aload 23
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_INDEX_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/compiler/word/WordBase;Lorg/graalvm/compiler/core/common/LocationIdentity;)V
end local 24 end local 23 end local 22 50: goto 52
51: 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 17
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.g1PostBarrierStub:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;)V
end local 21 end local 20 end local 19 end local 18 52: 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.word.Word java.lang.Object org.graalvm.compiler.word.Pointer int org.graalvm.compiler.word.Pointer int org.graalvm.compiler.word.Unsigned org.graalvm.compiler.word.Unsigned long int org.graalvm.compiler.word.Word
StackMap stack:
return
end local 17 end local 16 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 53 0 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
0 53 1 object Ljava/lang/Object;
0 53 2 value Ljava/lang/Object;
0 53 3 usePrecise Z
0 53 4 threadRegister Ljdk/vm/ci/code/Register;
0 53 5 trace Z
1 53 6 thread Lorg/graalvm/compiler/word/Word;
2 53 7 fixedValue Ljava/lang/Object;
7 8 8 oop Lorg/graalvm/compiler/word/Pointer;
9 53 8 oop Lorg/graalvm/compiler/word/Pointer;
10 53 9 gcCycle I
15 53 10 writtenValue Lorg/graalvm/compiler/word/Pointer;
16 53 11 logOfHeapRegionGrainBytes I
17 53 12 xorResult Lorg/graalvm/compiler/word/Unsigned;
18 53 13 cardBase Lorg/graalvm/compiler/word/Unsigned;
19 53 14 startAddress J
20 53 16 displacement I
25 53 17 cardAddress Lorg/graalvm/compiler/word/Word;
30 52 18 cardByte B
36 52 19 cardByteReload B
43 52 20 indexAddress Lorg/graalvm/compiler/word/Word;
44 52 21 indexValue Lorg/graalvm/compiler/word/Word;
46 50 22 bufferAddress Lorg/graalvm/compiler/word/Word;
47 50 23 nextIndex Lorg/graalvm/compiler/word/Word;
48 50 24 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()
MethodParameters:
Name Flags
address
object
value
usePrecise
threadRegister
trace
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=20, 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/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/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.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
lstore 16
start local 16 14: lload 16
invokestatic org.graalvm.compiler.word.Word.unsigned:(J)Lorg/graalvm/compiler/word/Word;
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/Pointer;
astore 18
start local 18 15: aload 18
invokeinterface org.graalvm.compiler.word.Pointer.toObject:()Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 18
iconst_0
invokeinterface org.graalvm.compiler.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.compiler.word.Word.unsigned:(J)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 19
start local 19 20: aload 19
iconst_0
aload 18
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_LOG_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/compiler/word/WordBase;Lorg/graalvm/compiler/core/common/LocationIdentity;)V
21: aload 8
iconst_0
lload 11
invokestatic org.graalvm.compiler.word.Word.unsigned:(J)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_INDEX_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/compiler/word/WordBase;Lorg/graalvm/compiler/core/common/LocationIdentity;)V
end local 19 22: goto 24
23: StackMap locals: long org.graalvm.compiler.word.Pointer
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.G1WBPRECALL:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 18
invokeinterface org.graalvm.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 18 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 J
15 24 18 oop Lorg/graalvm/compiler/word/Pointer;
20 22 19 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/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/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.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.compiler.word.Word.unsigned:(J)Lorg/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/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILorg/graalvm/compiler/core/common/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/compiler/core/common/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.MembarNode.memoryBarrier:(ILorg/graalvm/compiler/core/common/LocationIdentity;)V
22: aload 23
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_CARD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readByte:(ILorg/graalvm/compiler/core/common/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/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IBLorg/graalvm/compiler/core/common/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.compiler.word.Word.unsigned:(J)Lorg/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/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/compiler/word/WordBase;Lorg/graalvm/compiler/core/common/LocationIdentity;)V
31: aload 7
iconst_0
lload 8
invokestatic org.graalvm.compiler.word.Word.unsigned:(J)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.GC_INDEX_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILorg/graalvm/compiler/word/WordBase;Lorg/graalvm/compiler/core/common/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();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic org.graalvm.compiler.core.common.GraalOptions.GCDebugStartCycle:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ifle 3
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.compiler.word.Word.unsigned:(J)Lorg/graalvm/compiler/word/Word;
iconst_0
invokevirtual org.graalvm.compiler.word.Word.readLong:(I)J
l2i
getstatic org.graalvm.compiler.core.common.GraalOptions.GCDebugStartCycle:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
2: if_icmple 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
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=7, 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/Pointer;
invokeinterface org.graalvm.compiler.word.Pointer.rawValue:()J
aload 1
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Pointer;
invokeinterface org.graalvm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.replacements.WriteBarrierSnippets.log:(ZLjava/lang/String;JJ)V
2: aconst_null
iconst_0
lconst_0
aconst_null
invokestatic org.graalvm.compiler.core.common.LocationIdentity.any:()Lorg/graalvm/compiler/core/common/LocationIdentity;
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.replacements.nodes.DirectObjectStoreNode.storeObject:(Ljava/lang/Object;IJLjava/lang/Object;Lorg/graalvm/compiler/core/common/LocationIdentity;Ljdk/vm/ci/meta/JavaKind;)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$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
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
public Group = org.graalvm.compiler.replacements.SnippetCounter$Group of org.graalvm.compiler.replacements.SnippetCounter