public class org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates extends org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates
super_class: org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates
{
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo monitorenter;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo monitorexit;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo monitorenterStub;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo monitorexitStub;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo initCounter;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo checkCounter;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean useFastLocking;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public final org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Counters counters;
descriptor: Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets$Counters;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.options.OptionValues, java.lang.Iterable<org.graalvm.compiler.debug.DebugHandlersFactory>, org.graalvm.compiler.replacements.SnippetCounter$Group$Factory, org.graalvm.compiler.hotspot.meta.HotSpotProviders, jdk.vm.ci.code.TargetDescription, );
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable;Lorg/graalvm/compiler/replacements/SnippetCounter$Group$Factory;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Ljdk/vm/ci/code/TargetDescription;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 4
aload 4
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
aload 5
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates.<init>:(Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Ljdk/vm/ci/code/TargetDescription;)V
1: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets;
ldc "monitorenter"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.monitorenter:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
2: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets;
ldc "monitorexit"
bipush 6
anewarray jdk.internal.vm.compiler.word.LocationIdentity
dup
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.DISPLACED_MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.OBJECT_MONITOR_OWNER_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_2
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.OBJECT_MONITOR_CXQ_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_3
3: getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.OBJECT_MONITOR_ENTRY_LIST_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_4
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.OBJECT_MONITOR_RECURSION_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_5
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.OBJECT_MONITOR_SUCC_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
4: invokevirtual org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.monitorexit:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
5: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets;
ldc "monitorenterStub"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.monitorenterStub:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
6: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets;
ldc "monitorexitStub"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.monitorexitStub:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
7: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets;
ldc "initCounter"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.initCounter:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
8: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets;
ldc "checkCounter"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.checkCounter:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
9: aload 0
iload 6
putfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.useFastLocking:Z
10: aload 0
new org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Counters
dup
aload 3
invokespecial org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Counters.<init>:(Lorg/graalvm/compiler/replacements/SnippetCounter$Group$Factory;)V
putfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.counters:Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets$Counters;
11: return
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 12 0 this Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets$Templates;
0 12 1 options Lorg/graalvm/compiler/options/OptionValues;
0 12 2 factories Ljava/lang/Iterable<Lorg/graalvm/compiler/debug/DebugHandlersFactory;>;
0 12 3 factory Lorg/graalvm/compiler/replacements/SnippetCounter$Group$Factory;
0 12 4 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 12 5 target Ljdk/vm/ci/code/TargetDescription;
0 12 6 useFastLocking Z
Signature: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable<Lorg/graalvm/compiler/debug/DebugHandlersFactory;>;Lorg/graalvm/compiler/replacements/SnippetCounter$Group$Factory;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Ljdk/vm/ci/code/TargetDescription;Z)V
MethodParameters:
Name Flags
options
factories
factory
providers
target
useFastLocking
public void lower(org.graalvm.compiler.nodes.java.RawMonitorEnterNode, org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/java/RawMonitorEnterNode;Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.graalvm.compiler.nodes.java.RawMonitorEnterNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 4
start local 4 1: aload 0
aload 4
aload 3
invokevirtual org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.checkBalancedMonitors:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
2: getstatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.$assertionsDisabled:Z
ifne 3
aload 1
invokevirtual org.graalvm.compiler.nodes.java.RawMonitorEnterNode.object:()Lorg/graalvm/compiler/nodes/ValueNode;
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.ObjectStamp
invokevirtual org.graalvm.compiler.core.common.type.ObjectStamp.nonNull:()Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.useFastLocking:Z
ifeq 15
4: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.monitorenter:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 3
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 5
start local 5 5: aload 5
ldc "object"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.RawMonitorEnterNode.object:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
6: aload 5
ldc "hub"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.RawMonitorEnterNode.getHub:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
7: aload 5
ldc "lockDepth"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.RawMonitorEnterNode.getMonitorId:()Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
invokevirtual org.graalvm.compiler.nodes.java.MonitorIdNode.getLockDepth:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
8: aload 5
ldc "threadRegister"
aload 2
invokeinterface org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider.getThreadRegister:()Ljdk/vm/ci/code/Register;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
9: aload 5
ldc "stackPointerRegister"
aload 2
invokeinterface org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider.getStackPointerRegister:()Ljdk/vm/ci/code/Register;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
10: aload 5
ldc "trace"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.RawMonitorEnterNode.object:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.isTracingEnabledForType:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifne 11
aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.isTracingEnabledForMethod:(Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
ifne 11
iconst_0
goto 12
StackMap locals: org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates org.graalvm.compiler.nodes.java.RawMonitorEnterNode org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.replacements.SnippetTemplate$Arguments
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String
11: iconst_1
StackMap locals: org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates org.graalvm.compiler.nodes.java.RawMonitorEnterNode org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.replacements.SnippetTemplate$Arguments
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String int
12: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
13: aload 5
ldc "counters"
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.counters:Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets$Counters;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
14: goto 22
end local 5 15: StackMap locals:
StackMap stack:
new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.monitorenterStub:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 3
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 5
start local 5 16: aload 5
ldc "object"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.RawMonitorEnterNode.object:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
17: aload 5
ldc "lockDepth"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.RawMonitorEnterNode.getMonitorId:()Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
invokevirtual org.graalvm.compiler.nodes.java.MonitorIdNode.getLockDepth:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
18: aload 5
ldc "trace"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.RawMonitorEnterNode.object:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.isTracingEnabledForType:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifne 19
aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.isTracingEnabledForMethod:(Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
ifne 19
iconst_0
goto 20
StackMap locals: org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates org.graalvm.compiler.nodes.java.RawMonitorEnterNode org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.replacements.SnippetTemplate$Arguments
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String
19: iconst_1
StackMap locals: org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates org.graalvm.compiler.nodes.java.RawMonitorEnterNode org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.replacements.SnippetTemplate$Arguments
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String int
20: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
21: aload 5
ldc "counters"
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.counters:Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets$Counters;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
22: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 5
invokevirtual org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 5
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
23: return
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 24 0 this Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets$Templates;
0 24 1 monitorenterNode Lorg/graalvm/compiler/nodes/java/RawMonitorEnterNode;
0 24 2 registers Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;
0 24 3 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 24 4 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
5 15 5 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
16 24 5 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
MethodParameters:
Name Flags
monitorenterNode
registers
tool
public void lower(org.graalvm.compiler.nodes.java.MonitorExitNode, org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/java/MonitorExitNode;Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.graalvm.compiler.nodes.java.MonitorExitNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 4
start local 4 1: aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.useFastLocking:Z
ifeq 4
2: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.monitorexit:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 3
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 5
start local 5 3: goto 5
end local 5 4: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.monitorexitStub:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 3
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 5
start local 5 5: StackMap locals: org.graalvm.compiler.replacements.SnippetTemplate$Arguments
StackMap stack:
aload 5
ldc "object"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.MonitorExitNode.object:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
6: aload 5
ldc "lockDepth"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.MonitorExitNode.getMonitorId:()Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
invokevirtual org.graalvm.compiler.nodes.java.MonitorIdNode.getLockDepth:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
7: aload 5
ldc "threadRegister"
aload 2
invokeinterface org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider.getThreadRegister:()Ljdk/vm/ci/code/Register;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
8: aload 5
ldc "trace"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.MonitorExitNode.object:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.isTracingEnabledForType:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifne 9
aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.isTracingEnabledForMethod:(Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
ifne 9
iconst_0
goto 10
StackMap locals: org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates org.graalvm.compiler.nodes.java.MonitorExitNode org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.replacements.SnippetTemplate$Arguments
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String
9: iconst_1
StackMap locals: org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates org.graalvm.compiler.nodes.java.MonitorExitNode org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.replacements.SnippetTemplate$Arguments
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String int
10: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
11: aload 5
ldc "counters"
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.counters:Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets$Counters;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
12: aload 0
aload 1
aload 5
invokevirtual org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 5
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
13: return
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 14 0 this Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets$Templates;
0 14 1 monitorexitNode Lorg/graalvm/compiler/nodes/java/MonitorExitNode;
0 14 2 registers Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;
0 14 3 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 14 4 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 4 5 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
5 14 5 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
MethodParameters:
Name Flags
monitorexitNode
registers
tool
public static boolean isTracingEnabledForType(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokestatic org.graalvm.compiler.nodes.type.StampTool.typeOrNull:(Lorg/graalvm/compiler/core/common/type/Stamp;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 1
start local 1 1: getstatic org.graalvm.compiler.hotspot.replacements.HotspotSnippetsOptions.TraceMonitorsTypeFilter:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 2
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals: jdk.vm.ci.meta.ResolvedJavaType java.lang.String
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
ifne 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 1
ifnonnull 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 object Lorg/graalvm/compiler/nodes/ValueNode;
1 9 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
2 9 2 filter Ljava/lang/String;
MethodParameters:
Name Flags
object
public static boolean isTracingEnabledForMethod(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.replacements.HotspotSnippetsOptions.TraceMonitorsMethodFilter:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
ifne 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
ifnonnull 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc "%H.%n"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aload 1
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 8 1 filter Ljava/lang/String;
MethodParameters:
Name Flags
graph
private void checkBalancedMonitors(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=12, locals=17, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.hotspot.replacements.HotspotSnippetsOptions.VerifyBalancedMonitors:Lorg/graalvm/compiler/options/OptionKey;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.options:Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 31
1: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
ldc Lorg/graalvm/compiler/hotspot/nodes/MonitorCounterNode;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
astore 3
start local 3 2: aload 3
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.isEmpty:()Z
ifeq 31
3: aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.initCounter:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.initCounter:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.Signature.getReturnType:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/JavaType;
astore 4
start local 4 4: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
aload 4
iconst_0
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forDeclaredType:(Ljdk/vm/ci/meta/Assumptions;Ljdk/vm/ci/meta/JavaType;Z)Lorg/graalvm/compiler/core/common/type/StampPair;
astore 5
start local 5 5: aload 1
new org.graalvm.compiler.nodes.java.MethodCallTargetNode
dup
getstatic org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.Static:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.initCounter:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
iconst_0
anewarray org.graalvm.compiler.nodes.ValueNode
aload 5
aconst_null
invokespecial org.graalvm.compiler.nodes.java.MethodCallTargetNode.<init>:(Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/StampPair;Ljdk/vm/ci/meta/JavaTypeProfile;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.java.MethodCallTargetNode
astore 6
start local 6 6: aload 1
new org.graalvm.compiler.nodes.InvokeNode
dup
aload 6
iconst_0
invokespecial org.graalvm.compiler.nodes.InvokeNode.<init>:(Lorg/graalvm/compiler/nodes/CallTargetNode;I)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.InvokeNode
astore 7
start local 7 7: aload 7
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
invokevirtual org.graalvm.compiler.nodes.StartNode.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
invokevirtual org.graalvm.compiler.nodes.InvokeNode.setStateAfter:(Lorg/graalvm/compiler/nodes/FrameState;)V
8: aload 1
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
aload 7
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addAfterFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedNode;)V
9: aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.initCounter:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
aconst_null
aconst_null
aload 7
invokevirtual org.graalvm.compiler.nodes.InvokeNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.trackNodeSourcePosition:()Z
aload 7
invokevirtual org.graalvm.compiler.nodes.InvokeNode.getNodeSourcePosition:()Lorg/graalvm/compiler/graph/NodeSourcePosition;
10: aload 7
invokevirtual org.graalvm.compiler.nodes.InvokeNode.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
11: invokeinterface org.graalvm.compiler.nodes.spi.Replacements.getSnippet:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Ljava/lang/Object;ZLorg/graalvm/compiler/graph/NodeSourcePosition;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 8
start local 8 12: aload 7
aload 8
iconst_0
aconst_null
invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.inline:(Lorg/graalvm/compiler/nodes/Invoke;Lorg/graalvm/compiler/nodes/StructuredGraph;ZLjdk/vm/ci/meta/ResolvedJavaMethod;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
13: aload 1
getstatic org.graalvm.compiler.nodes.ReturnNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.snapshot:()Ljava/util/List;
astore 9
start local 9 14: aload 9
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 30
StackMap locals: org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.graph.iterators.NodeIterable jdk.vm.ci.meta.JavaType org.graalvm.compiler.core.common.type.StampPair org.graalvm.compiler.nodes.java.MethodCallTargetNode org.graalvm.compiler.nodes.InvokeNode org.graalvm.compiler.nodes.StructuredGraph java.util.List top java.util.Iterator
StackMap stack:
15: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ReturnNode
astore 10
start local 10 16: aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.checkCounter:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.checkCounter:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.Signature.getReturnType:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/JavaType;
astore 4
17: new java.lang.StringBuilder
dup
ldc "unbalanced monitors in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", count = %d"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 12
start local 12 18: aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 12
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.forString:(Ljava/lang/String;)Ljdk/vm/ci/meta/JavaConstant;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Ljdk/vm/ci/meta/JavaConstant;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 13
start local 13 19: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
aload 4
iconst_0
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forDeclaredType:(Ljdk/vm/ci/meta/Assumptions;Ljdk/vm/ci/meta/JavaType;Z)Lorg/graalvm/compiler/core/common/type/StampPair;
astore 5
20: aload 1
new org.graalvm.compiler.nodes.java.MethodCallTargetNode
dup
getstatic org.graalvm.compiler.nodes.CallTargetNode$InvokeKind.Static:Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.checkCounter:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
iconst_1
anewarray org.graalvm.compiler.nodes.ValueNode
dup
iconst_0
aload 13
aastore
aload 5
aconst_null
invokespecial org.graalvm.compiler.nodes.java.MethodCallTargetNode.<init>:(Lorg/graalvm/compiler/nodes/CallTargetNode$InvokeKind;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/StampPair;Ljdk/vm/ci/meta/JavaTypeProfile;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.java.MethodCallTargetNode
astore 6
21: aload 1
new org.graalvm.compiler.nodes.InvokeNode
dup
aload 6
iconst_0
invokespecial org.graalvm.compiler.nodes.InvokeNode.<init>:(Lorg/graalvm/compiler/nodes/CallTargetNode;I)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.InvokeNode
astore 7
22: new org.graalvm.compiler.bytecode.ResolvedJavaMethodBytecode
dup
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokespecial org.graalvm.compiler.bytecode.ResolvedJavaMethodBytecode.<init>:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
astore 14
start local 14 23: new org.graalvm.compiler.nodes.FrameState
dup
aconst_null
aload 14
bipush -3
iconst_0
anewarray org.graalvm.compiler.nodes.ValueNode
iconst_0
anewarray org.graalvm.compiler.nodes.ValueNode
iconst_0
iconst_0
anewarray org.graalvm.compiler.nodes.ValueNode
aconst_null
iconst_0
iconst_0
invokespecial org.graalvm.compiler.nodes.FrameState.<init>:(Lorg/graalvm/compiler/nodes/FrameState;Lorg/graalvm/compiler/bytecode/Bytecode;I[Lorg/graalvm/compiler/nodes/ValueNode;[Lorg/graalvm/compiler/nodes/ValueNode;I[Lorg/graalvm/compiler/nodes/ValueNode;Ljava/util/List;ZZ)V
astore 15
start local 15 24: aload 7
aload 1
aload 15
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.FrameState
invokevirtual org.graalvm.compiler.nodes.InvokeNode.setStateAfter:(Lorg/graalvm/compiler/nodes/FrameState;)V
25: aload 1
aload 10
aload 7
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addBeforeFixed:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
26: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.checkCounter:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 16
start local 16 27: aload 16
ldc "errMsg"
aload 12
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
28: aload 0
aload 7
aload 16
invokevirtual org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.copySpecializedGraph:(Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 8
29: aload 7
aload 8
iconst_0
aconst_null
invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.inline:(Lorg/graalvm/compiler/nodes/Invoke;Lorg/graalvm/compiler/nodes/StructuredGraph;ZLjdk/vm/ci/meta/ResolvedJavaMethod;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
end local 16 end local 15 end local 14 end local 13 end local 12 end local 10 30: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 31: StackMap locals: org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.LoweringTool
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/graalvm/compiler/hotspot/replacements/MonitorSnippets$Templates;
0 32 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 32 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
2 31 3 nodes Lorg/graalvm/compiler/graph/iterators/NodeIterable<Lorg/graalvm/compiler/hotspot/nodes/MonitorCounterNode;>;
4 31 4 returnType Ljdk/vm/ci/meta/JavaType;
5 31 5 returnStamp Lorg/graalvm/compiler/core/common/type/StampPair;
6 31 6 callTarget Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
7 31 7 invoke Lorg/graalvm/compiler/nodes/InvokeNode;
12 31 8 inlineeGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
14 31 9 rets Ljava/util/List<Lorg/graalvm/compiler/nodes/ReturnNode;>;
16 30 10 ret Lorg/graalvm/compiler/nodes/ReturnNode;
18 30 12 msg Ljava/lang/String;
19 30 13 errMsg Lorg/graalvm/compiler/nodes/ConstantNode;
23 30 14 code Lorg/graalvm/compiler/bytecode/Bytecode;
24 30 15 stateAfter Lorg/graalvm/compiler/nodes/FrameState;
27 30 16 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
MethodParameters:
Name Flags
graph
tool
}
SourceFile: "MonitorSnippets.java"
NestHost: org.graalvm.compiler.hotspot.replacements.MonitorSnippets
InnerClasses:
public Counters = org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Counters of org.graalvm.compiler.hotspot.replacements.MonitorSnippets
public Templates = org.graalvm.compiler.hotspot.replacements.MonitorSnippets$Templates of org.graalvm.compiler.hotspot.replacements.MonitorSnippets
public final InvokeKind = org.graalvm.compiler.nodes.CallTargetNode$InvokeKind of org.graalvm.compiler.nodes.CallTargetNode
public final GuardsStage = org.graalvm.compiler.nodes.StructuredGraph$GuardsStage of org.graalvm.compiler.nodes.StructuredGraph
public abstract LoweringStage = org.graalvm.compiler.nodes.spi.LoweringTool$LoweringStage of org.graalvm.compiler.nodes.spi.LoweringTool
public Group = org.graalvm.compiler.replacements.SnippetCounter$Group of org.graalvm.compiler.replacements.SnippetCounter
public abstract Factory = org.graalvm.compiler.replacements.SnippetCounter$Group$Factory of org.graalvm.compiler.replacements.SnippetCounter$Group
public abstract AbstractTemplates = org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates of org.graalvm.compiler.replacements.SnippetTemplate
public Arguments = org.graalvm.compiler.replacements.SnippetTemplate$Arguments of org.graalvm.compiler.replacements.SnippetTemplate
public abstract SnippetInfo = org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo of org.graalvm.compiler.replacements.SnippetTemplate
public abstract UsageReplacer = org.graalvm.compiler.replacements.SnippetTemplate$UsageReplacer of org.graalvm.compiler.replacements.SnippetTemplate