public class org.graalvm.compiler.hotspot.replacements.MonitorSnippets 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.MonitorSnippets
super_class: java.lang.Object
{
private static final boolean PROFILE_CONTEXT;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final boolean ENABLE_BREAKPOINT;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final org.graalvm.compiler.core.common.LocationIdentity MONITOR_COUNTER_LOCATION;
descriptor: Lorg/graalvm/compiler/core/common/LocationIdentity;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean VERIFY_BALANCED_MONITORS;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor MONITORENTER;
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 MONITOREXIT;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter$Group lockCounters;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter lockBiasExisting;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter lockBiasAcquired;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter lockBiasTransfer;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter lockCas;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter lockCasRecursive;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter lockStubEpochExpired;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter lockStubRevoke;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter lockStubFailedCas;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter unbiasable;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter revokeBias;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter$Group unlockCounters;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter unlockBias;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter unlockCas;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter unlockCasRecursive;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.replacements.SnippetCounter unlockStub;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter;
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 "MonitorCounter"
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.mutable:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/NamedLocationIdentity;
putstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.MONITOR_COUNTER_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
1: getstatic org.graalvm.compiler.hotspot.replacements.HotspotSnippetsOptions.VerifyBalancedMonitors: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
putstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.VERIFY_BALANCED_MONITORS:Z
2: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
ldc "monitorenter"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
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.MonitorSnippets.MONITORENTER:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
3: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
ldc "monitorexit"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
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.MonitorSnippets.MONITOREXIT:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
4: 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 5
new org.graalvm.compiler.replacements.SnippetCounter$Group
dup
ldc "MonitorEnters"
invokespecial org.graalvm.compiler.replacements.SnippetCounter$Group.<init>:(Ljava/lang/String;)V
goto 6
StackMap locals:
StackMap stack:
5: aconst_null
StackMap locals:
StackMap stack: org.graalvm.compiler.replacements.SnippetCounter$Group
6: putstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
7: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "lock{bias:existing}"
ldc "bias-locked previously biased object"
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.MonitorSnippets.lockBiasExisting:Lorg/graalvm/compiler/replacements/SnippetCounter;
8: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "lock{bias:acquired}"
ldc "bias-locked newly biased object"
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.MonitorSnippets.lockBiasAcquired:Lorg/graalvm/compiler/replacements/SnippetCounter;
9: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "lock{bias:transfer}"
ldc "bias-locked, biased transferred"
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.MonitorSnippets.lockBiasTransfer:Lorg/graalvm/compiler/replacements/SnippetCounter;
10: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "lock{cas}"
ldc "cas-locked an object"
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.MonitorSnippets.lockCas:Lorg/graalvm/compiler/replacements/SnippetCounter;
11: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "lock{cas:recursive}"
ldc "cas-locked, recursive"
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.MonitorSnippets.lockCasRecursive:Lorg/graalvm/compiler/replacements/SnippetCounter;
12: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "lock{stub:epoch-expired}"
ldc "stub-locked, epoch expired"
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.MonitorSnippets.lockStubEpochExpired:Lorg/graalvm/compiler/replacements/SnippetCounter;
13: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "lock{stub:revoke}"
ldc "stub-locked, biased revoked"
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.MonitorSnippets.lockStubRevoke:Lorg/graalvm/compiler/replacements/SnippetCounter;
14: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "lock{stub:failed-cas}"
ldc "stub-locked, failed cas"
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.MonitorSnippets.lockStubFailedCas:Lorg/graalvm/compiler/replacements/SnippetCounter;
15: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "unbiasable"
ldc "object with unbiasable type"
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.MonitorSnippets.unbiasable:Lorg/graalvm/compiler/replacements/SnippetCounter;
16: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "revokeBias"
ldc "object had bias revoked"
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.MonitorSnippets.revokeBias:Lorg/graalvm/compiler/replacements/SnippetCounter;
17: 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 18
new org.graalvm.compiler.replacements.SnippetCounter$Group
dup
ldc "MonitorExits"
invokespecial org.graalvm.compiler.replacements.SnippetCounter$Group.<init>:(Ljava/lang/String;)V
goto 19
StackMap locals:
StackMap stack:
18: aconst_null
StackMap locals:
StackMap stack: org.graalvm.compiler.replacements.SnippetCounter$Group
19: putstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.unlockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
20: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.unlockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "unlock{bias}"
ldc "bias-unlocked an object"
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.MonitorSnippets.unlockBias:Lorg/graalvm/compiler/replacements/SnippetCounter;
21: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.unlockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "unlock{cas}"
ldc "cas-unlocked an object"
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.MonitorSnippets.unlockCas:Lorg/graalvm/compiler/replacements/SnippetCounter;
22: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.unlockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "unlock{cas:recursive}"
ldc "cas-unlocked an object, recursive"
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.MonitorSnippets.unlockCasRecursive:Lorg/graalvm/compiler/replacements/SnippetCounter;
23: new org.graalvm.compiler.replacements.SnippetCounter
dup
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.unlockCounters:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ldc "unlock{stub}"
ldc "stub-unlocked an object"
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.MonitorSnippets.unlockStub:Lorg/graalvm/compiler/replacements/SnippetCounter;
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/MonitorSnippets;
static boolean doProfile();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.graalvm.compiler.hotspot.replacements.HotspotSnippetsOptions.ProfileMonitors: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
ireturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
public static void monitorenter(java.lang.Object, org.graalvm.compiler.hotspot.word.KlassPointer, int, jdk.vm.ci.code.Register, jdk.vm.ci.code.Register, boolean);
descriptor: (Ljava/lang/Object;Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILjdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=14, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.markOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.loadWordFromObject:(Ljava/lang/Object;I)Lorg/graalvm/compiler/word/Word;
astore 6
start local 6 2: iload 2
invokestatic org.graalvm.compiler.hotspot.nodes.BeginLockScopeNode.beginLockScope:(I)Lorg/graalvm/compiler/word/Word;
astore 7
start local 7 3: iload 5
ldc " object: 0x%016lx\n"
aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Pointer;
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
4: iload 5
ldc " lock: 0x%016lx\n"
aload 7
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
5: iload 5
ldc " mark: 0x%016lx\n"
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
6: invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.incCounter:()V
7: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.useBiasedLocking:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 54
8: aload 6
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.biasedLockMaskInPlace:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.and:(I)Lorg/graalvm/compiler/word/Word;
astore 8
start local 8 9: aload 1
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.prototypeMarkWordOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.PROTOTYPE_MARK_WORD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.readWord:(ILorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/word/Word;
astore 9
start local 9 10: aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
astore 10
start local 10 11: aload 9
aload 10
invokevirtual org.graalvm.compiler.word.Word.or:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
aload 6
invokevirtual org.graalvm.compiler.word.Word.xor:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.ageMaskInPlace:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
iconst_m1
ixor
invokevirtual org.graalvm.compiler.word.Word.and:(I)Lorg/graalvm/compiler/word/Word;
astore 11
start local 11 12: iload 5
ldc "prototypeMarkWord: 0x%016lx\n"
aload 9
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
13: iload 5
ldc " thread: 0x%016lx\n"
aload 10
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
14: iload 5
ldc " tmp: 0x%016lx\n"
aload 11
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
15: ldc 0.4
aload 11
iconst_0
invokevirtual org.graalvm.compiler.word.Word.equal:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 20
16: iload 5
ldc "+lock{bias:existing}"
aload 0
iconst_1
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
17: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockBiasExisting:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
18: aload 0
invokestatic org.graalvm.compiler.hotspot.nodes.FastAcquireBiasedLockNode.mark:(Ljava/lang/Object;)V
19: return
20: StackMap locals: java.lang.Object org.graalvm.compiler.hotspot.word.KlassPointer int jdk.vm.ci.code.Register jdk.vm.ci.code.Register int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
ldc 0.99
aload 8
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.biasedLockPattern:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.word.Word.unsigned:(I)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.notEqual:(Lorg/graalvm/compiler/word/Word;)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 23
21: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.unbiasable:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
22: goto 54
23: StackMap locals:
StackMap stack:
ldc 0.9
aload 11
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.biasedLockMaskInPlace:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.and:(I)Lorg/graalvm/compiler/word/Word;
iconst_0
invokevirtual org.graalvm.compiler.word.Word.equal:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 52
24: ldc 0.9
aload 11
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.epochMaskInPlace:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.and:(I)Lorg/graalvm/compiler/word/Word;
iconst_0
invokevirtual org.graalvm.compiler.word.Word.equal:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 39
25: aload 6
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.biasedLockMaskInPlace:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.ageMaskInPlace:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
ior
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.epochMaskInPlace:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
ior
invokevirtual org.graalvm.compiler.word.Word.and:(I)Lorg/graalvm/compiler/word/Word;
astore 12
start local 12 26: aload 12
aload 10
invokevirtual org.graalvm.compiler.word.Word.or:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 13
start local 13 27: iload 5
ldc " unbiasedMark: 0x%016lx\n"
aload 12
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
28: iload 5
ldc " biasedMark: 0x%016lx\n"
aload 13
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
29: ldc 0.999
30: aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.markOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
i2l
invokestatic org.graalvm.compiler.nodes.memory.address.OffsetAddressNode.address:(Ljava/lang/Object;J)Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
aload 12
aload 13
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.MARK_WORD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokestatic org.graalvm.compiler.hotspot.nodes.DirectCompareAndSwapNode.compareAndSwap:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/word/Word;
aload 12
invokevirtual org.graalvm.compiler.word.Word.equal:(Lorg/graalvm/compiler/word/Word;)Z
31: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
32: ifeq 36
33: iload 5
ldc "+lock{bias:acquired}"
aload 0
iconst_1
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
34: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockBiasAcquired:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
35: return
36: StackMap locals: org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
iload 5
ldc "+lock{stub:revoke}"
aload 0
iconst_1
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
37: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockStubRevoke:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
end local 13 end local 12 38: goto 50
39: StackMap locals:
StackMap stack:
aload 9
aload 10
invokevirtual org.graalvm.compiler.word.Word.or:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 12
start local 12 40: iload 5
ldc " biasedMark: 0x%016lx\n"
aload 12
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
41: ldc 0.999
42: aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.markOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
i2l
invokestatic org.graalvm.compiler.nodes.memory.address.OffsetAddressNode.address:(Ljava/lang/Object;J)Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
aload 6
aload 12
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.MARK_WORD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokestatic org.graalvm.compiler.hotspot.nodes.DirectCompareAndSwapNode.compareAndSwap:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/word/Word;
aload 6
invokevirtual org.graalvm.compiler.word.Word.equal:(Lorg/graalvm/compiler/word/Word;)Z
43: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
44: ifeq 48
45: iload 5
ldc "+lock{bias:transfer}"
aload 0
iconst_1
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
46: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockBiasTransfer:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
47: return
48: StackMap locals: org.graalvm.compiler.word.Word
StackMap stack:
iload 5
ldc "+lock{stub:epoch-expired}"
aload 0
iconst_1
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
49: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockStubEpochExpired:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
end local 12 50: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.MONITORENTER:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
aload 7
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.monitorenterStubC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;Lorg/graalvm/compiler/word/Word;)V
51: return
52: StackMap locals:
StackMap stack:
aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.markOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
i2l
invokestatic org.graalvm.compiler.nodes.memory.address.OffsetAddressNode.address:(Ljava/lang/Object;J)Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
aload 6
aload 9
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.MARK_WORD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokestatic org.graalvm.compiler.hotspot.nodes.DirectCompareAndSwapNode.compareAndSwap:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/word/Word;
astore 12
start local 12 53: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.revokeBias:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
end local 12 end local 11 end local 10 end local 9 end local 8 54: StackMap locals: java.lang.Object org.graalvm.compiler.hotspot.word.KlassPointer int jdk.vm.ci.code.Register jdk.vm.ci.code.Register int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
aload 6
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.unlockedMask:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.or:(I)Lorg/graalvm/compiler/word/Word;
astore 8
start local 8 55: iload 5
ldc " unlockedMark: 0x%016lx\n"
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
56: aload 7
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.lockDisplacedMarkOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
aload 8
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.DISPLACED_MARK_WORD_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
57: aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.markOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
i2l
invokestatic org.graalvm.compiler.nodes.memory.address.OffsetAddressNode.address:(Ljava/lang/Object;J)Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
aload 8
aload 7
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.MARK_WORD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokestatic org.graalvm.compiler.hotspot.nodes.DirectCompareAndSwapNode.compareAndSwap:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/word/Word;
astore 9
start local 9 58: ldc 0.010000000000000009
aload 9
aload 8
invokevirtual org.graalvm.compiler.word.Word.notEqual:(Lorg/graalvm/compiler/word/Word;)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 71
59: iload 5
ldc " currentMark: 0x%016lx\n"
aload 9
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
60: invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.wordSize:()I
iconst_1
isub
invokestatic org.graalvm.compiler.word.Word.unsigned:(I)Lorg/graalvm/compiler/word/Word;
astore 10
start local 10 61: aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.config:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.stackBias:I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 11
start local 11 62: ldc 0.0010000000000000009
aload 9
aload 11
invokevirtual org.graalvm.compiler.word.Word.subtract:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
aload 10
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.pageSize:()I
invokevirtual org.graalvm.compiler.word.Word.subtract:(I)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.and:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
iconst_0
invokevirtual org.graalvm.compiler.word.Word.notEqual:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 67
63: iload 5
ldc "+lock{stub:failed-cas}"
aload 0
iconst_1
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
64: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockStubFailedCas:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
65: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.MONITORENTER:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
aload 7
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.monitorenterStubC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;Lorg/graalvm/compiler/word/Word;)V
66: return
67: StackMap locals: java.lang.Object org.graalvm.compiler.hotspot.word.KlassPointer int jdk.vm.ci.code.Register jdk.vm.ci.code.Register int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
aload 7
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.lockDisplacedMarkOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.word.Word.zero:()Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.DISPLACED_MARK_WORD_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
68: iload 5
ldc "+lock{cas:recursive}"
aload 0
iconst_1
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
69: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockCasRecursive:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
end local 11 end local 10 70: goto 74
71: StackMap locals:
StackMap stack:
iload 5
ldc "+lock{cas}"
aload 0
iconst_1
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
72: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.lockCas:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
73: aload 0
invokestatic org.graalvm.compiler.hotspot.nodes.AcquiredCASLockNode.mark:(Ljava/lang/Object;)V
74: StackMap locals:
StackMap stack:
return
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 75 0 object Ljava/lang/Object;
0 75 1 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 75 2 lockDepth I
0 75 3 threadRegister Ljdk/vm/ci/code/Register;
0 75 4 stackPointerRegister Ljdk/vm/ci/code/Register;
0 75 5 trace Z
2 75 6 mark Lorg/graalvm/compiler/word/Word;
3 75 7 lock Lorg/graalvm/compiler/word/Word;
9 54 8 biasableLockBits Lorg/graalvm/compiler/word/Word;
10 54 9 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
11 54 10 thread Lorg/graalvm/compiler/word/Word;
12 54 11 tmp Lorg/graalvm/compiler/word/Word;
26 38 12 unbiasedMark Lorg/graalvm/compiler/word/Word;
27 38 13 biasedMark Lorg/graalvm/compiler/word/Word;
40 50 12 biasedMark Lorg/graalvm/compiler/word/Word;
53 54 12 result Lorg/graalvm/compiler/word/Word;
55 75 8 unlockedMark Lorg/graalvm/compiler/word/Word;
58 75 9 currentMark Lorg/graalvm/compiler/word/Word;
61 70 10 alignedMask Lorg/graalvm/compiler/word/Word;
62 70 11 stackPointer 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()
4:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
object
hub
lockDepth
threadRegister
stackPointerRegister
trace
public static void monitorenterStub(java.lang.Object, int, boolean);
descriptor: (Ljava/lang/Object;IZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.incCounter:()V
2: aload 0
ifnonnull 4
3: getstatic jdk.vm.ci.meta.DeoptimizationAction.InvalidateReprofile:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.NullCheckException:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
4: StackMap locals:
StackMap stack:
iload 1
invokestatic org.graalvm.compiler.hotspot.nodes.BeginLockScopeNode.beginLockScope:(I)Lorg/graalvm/compiler/word/Word;
astore 3
start local 3 5: iload 2
ldc "+lock{stub}"
aload 0
iconst_1
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
6: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.MONITORENTER:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.monitorenterStubC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;Lorg/graalvm/compiler/word/Word;)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 object Ljava/lang/Object;
0 8 1 lockDepth I
0 8 2 trace Z
5 8 3 lock Lorg/graalvm/compiler/word/Word;
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
lockDepth
trace
public static void monitorexit(java.lang.Object, int, boolean);
descriptor: (Ljava/lang/Object;IZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ldc " object: 0x%016lx\n"
aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Pointer;
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
1: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.useBiasedLocking:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 10
2: aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.markOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.loadWordFromObject:(Ljava/lang/Object;I)Lorg/graalvm/compiler/word/Word;
astore 3
start local 3 3: iload 2
ldc " mark: 0x%016lx\n"
aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
4: ldc 0.4
aload 3
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.biasedLockMaskInPlace:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokevirtual org.graalvm.compiler.word.Word.and:(I)Lorg/graalvm/compiler/word/Word;
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.biasedLockPattern:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
invokestatic org.graalvm.compiler.word.Word.unsigned:(I)Lorg/graalvm/compiler/word/Word;
invokevirtual org.graalvm.compiler.word.Word.equal:(Lorg/graalvm/compiler/word/Word;)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 10
5: invokestatic org.graalvm.compiler.hotspot.nodes.EndLockScopeNode.endLockScope:()V
6: invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.decCounter:()V
7: iload 2
ldc "-lock{bias}"
aload 0
iconst_0
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
8: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.unlockBias:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
9: return
end local 3 10: StackMap locals:
StackMap stack:
iload 1
invokestatic org.graalvm.compiler.hotspot.nodes.CurrentLockNode.currentLock:(I)Lorg/graalvm/compiler/word/Word;
astore 3
start local 3 11: aload 3
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.lockDisplacedMarkOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.DISPLACED_MARK_WORD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readWord:(ILorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/word/Word;
astore 4
start local 4 12: iload 2
ldc " displacedMark: 0x%016lx\n"
aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.trace:(ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
13: ldc 0.4
aload 4
iconst_0
invokevirtual org.graalvm.compiler.word.Word.equal:(I)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 17
14: iload 2
ldc "-lock{recursive}"
aload 0
iconst_0
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
15: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.unlockCasRecursive:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
16: goto 28
17: StackMap locals: org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
18: ldc 0.0010000000000000009
19: aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.markOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
i2l
invokestatic org.graalvm.compiler.nodes.memory.address.OffsetAddressNode.address:(Ljava/lang/Object;J)Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
aload 3
aload 4
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.MARK_WORD_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokestatic org.graalvm.compiler.hotspot.nodes.DirectCompareAndSwapNode.compareAndSwap:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/word/Word;
aload 3
invokevirtual org.graalvm.compiler.word.Word.notEqual:(Lorg/graalvm/compiler/word/Word;)Z
20: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
21: ifeq 26
22: iload 2
ldc "-lock{stub}"
aload 0
iconst_0
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
23: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.unlockStub:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
24: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.MONITOREXIT:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.monitorexitStubC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;Lorg/graalvm/compiler/word/Word;)V
25: goto 28
26: StackMap locals:
StackMap stack:
iload 2
ldc "-lock{cas}"
aload 0
iconst_0
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
27: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.unlockCas:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
28: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.hotspot.nodes.EndLockScopeNode.endLockScope:()V
29: invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.decCounter:()V
30: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 object Ljava/lang/Object;
0 31 1 lockDepth I
0 31 2 trace Z
3 10 3 mark Lorg/graalvm/compiler/word/Word;
11 31 3 lock Lorg/graalvm/compiler/word/Word;
12 31 4 displacedMark Lorg/graalvm/compiler/word/Word;
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
lockDepth
trace
public static void monitorexitStub(java.lang.Object, int, boolean);
descriptor: (Ljava/lang/Object;IZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iload 2
ldc "-lock{stub}"
aload 0
iconst_0
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.traceObject:(ZLjava/lang/String;Ljava/lang/Object;Z)V
2: iload 1
invokestatic org.graalvm.compiler.hotspot.nodes.CurrentLockNode.currentLock:(I)Lorg/graalvm/compiler/word/Word;
astore 3
start local 3 3: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.MONITOREXIT:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.monitorexitStubC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;Lorg/graalvm/compiler/word/Word;)V
4: invokestatic org.graalvm.compiler.hotspot.nodes.EndLockScopeNode.endLockScope:()V
5: invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.decCounter:()V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 object Ljava/lang/Object;
0 7 1 lockDepth I
0 7 2 trace Z
3 7 3 lock Lorg/graalvm/compiler/word/Word;
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
lockDepth
trace
public static void traceObject(boolean, java.lang.String, java.lang.Object, boolean);
descriptor: (ZLjava/lang/String;Ljava/lang/Object;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.doProfile:()Z
ifeq 4
1: aload 1
iload 3
ifeq 2
ldc "number of monitor enters"
goto 3
StackMap locals:
StackMap stack: java.lang.String
2: ldc "number of monitor exits"
StackMap locals: int java.lang.String java.lang.Object int
StackMap stack: java.lang.String java.lang.String
3: lconst_1
iconst_0
invokestatic org.graalvm.compiler.nodes.debug.DynamicCounterNode.counter:(Ljava/lang/String;Ljava/lang/String;JZ)V
4: StackMap locals:
StackMap stack:
iload 0
ifeq 8
5: aload 1
invokestatic org.graalvm.compiler.replacements.Log.print:(Ljava/lang/String;)V
6: bipush 32
invokestatic org.graalvm.compiler.replacements.Log.print:(C)V
7: aload 2
invokestatic org.graalvm.compiler.replacements.Log.printlnObject:(Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 enabled Z
0 9 1 action Ljava/lang/String;
0 9 2 object Ljava/lang/Object;
0 9 3 enter Z
MethodParameters:
Name Flags
enabled
action
object
enter
public static void trace(boolean, java.lang.String, org.graalvm.compiler.word.WordBase);
descriptor: (ZLjava/lang/String;Lorg/graalvm/compiler/word/WordBase;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
ifeq 2
1: aload 1
aload 2
invokeinterface org.graalvm.compiler.word.WordBase.rawValue:()J
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 Lorg/graalvm/compiler/word/WordBase;
MethodParameters:
Name Flags
enabled
format
value
static native void bkpt(java.lang.Object, org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word);
descriptor: (Ljava/lang/Object;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/BreakpointNode;)
MethodParameters:
Name Flags
object
mark
tmp
value
public static void incCounter();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.VERIFY_BALANCED_MONITORS:Z
ifeq 4
1: invokestatic org.graalvm.compiler.hotspot.nodes.MonitorCounterNode.counter:()Lorg/graalvm/compiler/word/Word;
astore 0
start local 0 2: aload 0
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.MONITOR_COUNTER_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readInt:(ILorg/graalvm/compiler/core/common/LocationIdentity;)I
istore 1
start local 1 3: aload 0
iconst_0
iload 1
iconst_1
iadd
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.MONITOR_COUNTER_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeInt:(IILorg/graalvm/compiler/core/common/LocationIdentity;)V
end local 1 end local 0 4: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
2 4 0 counter Lorg/graalvm/compiler/word/Word;
3 4 1 count I
public static void decCounter();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.VERIFY_BALANCED_MONITORS:Z
ifeq 4
1: invokestatic org.graalvm.compiler.hotspot.nodes.MonitorCounterNode.counter:()Lorg/graalvm/compiler/word/Word;
astore 0
start local 0 2: aload 0
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.MONITOR_COUNTER_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readInt:(ILorg/graalvm/compiler/core/common/LocationIdentity;)I
istore 1
start local 1 3: aload 0
iconst_0
iload 1
iconst_1
isub
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.MONITOR_COUNTER_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeInt:(IILorg/graalvm/compiler/core/common/LocationIdentity;)V
end local 1 end local 0 4: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
2 4 0 counter Lorg/graalvm/compiler/word/Word;
3 4 1 count I
private static void initCounter();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokestatic org.graalvm.compiler.hotspot.nodes.MonitorCounterNode.counter:()Lorg/graalvm/compiler/word/Word;
astore 0
start local 0 1: aload 0
iconst_0
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.MONITOR_COUNTER_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeInt:(IILorg/graalvm/compiler/core/common/LocationIdentity;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 counter Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
private static void checkCounter(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic org.graalvm.compiler.hotspot.nodes.MonitorCounterNode.counter:()Lorg/graalvm/compiler/word/Word;
astore 1
start local 1 1: aload 1
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets.MONITOR_COUNTER_LOCATION:Lorg/graalvm/compiler/core/common/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readInt:(ILorg/graalvm/compiler/core/common/LocationIdentity;)I
istore 2
start local 2 2: iload 2
ifeq 4
3: aload 0
iload 2
i2l
invokestatic org.graalvm.compiler.hotspot.nodes.VMErrorNode.vmError:(Ljava/lang/String;J)V
4: StackMap locals: org.graalvm.compiler.word.Word int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 errMsg Ljava/lang/String;
1 5 1 counter Lorg/graalvm/compiler/word/Word;
2 5 2 count I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
errMsg
private static native void monitorenterStubC(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, java.lang.Object, org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;Lorg/graalvm/compiler/word/Word;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
MethodParameters:
Name Flags
descriptor
object
lock
public static native void monitorexitStubC(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, java.lang.Object, org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Object;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:
2:
MethodParameters:
Name Flags
descriptor
object
lock
}
SourceFile: "MonitorSnippets.java"
NestMembers:
org.graalvm.compiler.hotspot.replacements.MonitorSnippets$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.MonitorSnippets$Templates of org.graalvm.compiler.hotspot.replacements.MonitorSnippets
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