public class org.graalvm.compiler.hotspot.replacements.ObjectSnippets$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.ObjectSnippets$Templates
super_class: org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates
{
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo notifySnippet;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo notifyAllSnippet;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, 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/ObjectSnippets;
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.ObjectSnippets$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.hotspot.meta.HotSpotProviders, jdk.vm.ci.code.TargetDescription);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Ljdk/vm/ci/code/TargetDescription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 3
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
aload 4
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/ObjectSnippets;
ldc "fastNotify"
aload 0
iconst_0
invokevirtual org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.originalNotifyCall:(Z)Ljdk/vm/ci/meta/ResolvedJavaMethod;
aconst_null
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.notifySnippet:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
2: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/ObjectSnippets;
ldc "fastNotifyAll"
aload 0
iconst_1
invokevirtual org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.originalNotifyCall:(Z)Ljdk/vm/ci/meta/ResolvedJavaMethod;
aconst_null
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.notifyAllSnippet:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/replacements/ObjectSnippets$Templates;
0 4 1 options Lorg/graalvm/compiler/options/OptionValues;
0 4 2 factories Ljava/lang/Iterable<Lorg/graalvm/compiler/debug/DebugHandlersFactory;>;
0 4 3 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 4 4 target Ljdk/vm/ci/code/TargetDescription;
Signature: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable<Lorg/graalvm/compiler/debug/DebugHandlersFactory;>;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Ljdk/vm/ci/code/TargetDescription;)V
MethodParameters:
Name Flags
options
factories
providers
target
private jdk.vm.ci.meta.ResolvedJavaMethod originalNotifyCall(boolean);
descriptor: (Z)Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
1: aload 0
getfield org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
ldc Ljava/lang/Object;
ldc "notifyAll"
invokestatic org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.findMethod:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljava/lang/Class;Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
ldc Ljava/lang/Object;
ldc "notify"
invokestatic org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.findMethod:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljava/lang/Class;Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/replacements/ObjectSnippets$Templates;
0 3 1 notifyAll Z
Exceptions:
throws org.graalvm.compiler.debug.GraalError
MethodParameters:
Name Flags
notifyAll
public void lower(org.graalvm.compiler.graph.Node, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.graalvm.compiler.hotspot.replacements.FastNotifyNode
ifeq 26
1: aload 1
checkcast org.graalvm.compiler.hotspot.replacements.FastNotifyNode
astore 3
start local 3 2: aload 1
invokevirtual org.graalvm.compiler.graph.Node.graph:()Lorg/graalvm/compiler/graph/Graph;
checkcast org.graalvm.compiler.nodes.StructuredGraph
astore 4
start local 4 3: aload 3
invokevirtual org.graalvm.compiler.hotspot.replacements.FastNotifyNode.stateDuring:()Lorg/graalvm/compiler/nodes/FrameState;
astore 5
start local 5 4: getstatic org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.$assertionsDisabled:Z
ifne 5
aload 5
ifnonnull 5
new java.lang.AssertionError
dup
ldc "Must have valid state for snippet recursive notify call"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals: org.graalvm.compiler.hotspot.replacements.FastNotifyNode org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.FrameState
StackMap stack:
new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 3
invokevirtual org.graalvm.compiler.hotspot.replacements.FastNotifyNode.isNotifyAll:()Z
ifeq 6
aload 0
getfield org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.notifyAllSnippet:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
goto 7
StackMap locals: org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.hotspot.replacements.FastNotifyNode org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.FrameState
StackMap stack: new 5 new 5
6: aload 0
getfield org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.notifySnippet:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
StackMap locals: org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.hotspot.replacements.FastNotifyNode org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.FrameState
StackMap stack: new 5 new 5 org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo
7: aload 4
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 6
start local 6 8: aload 6
ldc "thisObj"
aload 3
getfield org.graalvm.compiler.hotspot.replacements.FastNotifyNode.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
9: aload 0
aload 3
aload 6
invokevirtual org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
astore 7
start local 7 10: aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
ldc "Lowering fast notify in %s: node=%s, template=%s, arguments=%s"
aload 4
aload 3
aload 7
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
11: aload 7
aload 0
getfield org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 3
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 6
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;
astore 8
start local 8 12: aload 8
invokeinterface jdk.internal.vm.compiler.collections.UnmodifiableEconomicMap.getKeys:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 10
goto 24
StackMap locals: org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.hotspot.replacements.FastNotifyNode org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.FrameState org.graalvm.compiler.replacements.SnippetTemplate$Arguments org.graalvm.compiler.replacements.SnippetTemplate jdk.internal.vm.compiler.collections.UnmodifiableEconomicMap top java.util.Iterator
StackMap stack:
13: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 9
start local 9 14: aload 9
instanceof org.graalvm.compiler.nodes.InvokeNode
ifeq 22
15: aload 8
aload 9
invokeinterface jdk.internal.vm.compiler.collections.UnmodifiableEconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.InvokeNode
astore 11
start local 11 16: getstatic org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates.$assertionsDisabled:Z
ifne 17
aload 11
invokevirtual org.graalvm.compiler.nodes.InvokeNode.asNode:()Lorg/graalvm/compiler/nodes/FixedWithNextNode;
invokevirtual org.graalvm.compiler.nodes.FixedWithNextNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 4
if_acmpeq 17
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
17: StackMap locals: org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.hotspot.replacements.FastNotifyNode org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.FrameState org.graalvm.compiler.replacements.SnippetTemplate$Arguments org.graalvm.compiler.replacements.SnippetTemplate jdk.internal.vm.compiler.collections.UnmodifiableEconomicMap org.graalvm.compiler.graph.Node java.util.Iterator org.graalvm.compiler.nodes.InvokeNode
StackMap stack:
aload 11
aload 3
invokevirtual org.graalvm.compiler.hotspot.replacements.FastNotifyNode.getBci:()I
invokevirtual org.graalvm.compiler.nodes.InvokeNode.replaceBci:(I)V
18: aload 11
aconst_null
invokevirtual org.graalvm.compiler.nodes.InvokeNode.setStateDuring:(Lorg/graalvm/compiler/nodes/FrameState;)V
19: aload 11
aconst_null
invokevirtual org.graalvm.compiler.nodes.InvokeNode.setStateAfter:(Lorg/graalvm/compiler/nodes/FrameState;)V
20: aload 11
aload 5
invokevirtual org.graalvm.compiler.nodes.InvokeNode.setStateDuring:(Lorg/graalvm/compiler/nodes/FrameState;)V
end local 11 21: goto 24
StackMap locals:
StackMap stack:
22: aload 9
instanceof org.graalvm.compiler.nodes.InvokeWithExceptionNode
ifeq 24
23: new org.graalvm.compiler.debug.GraalError
dup
ldc "unexpected invoke with exception %s in snippet"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 9 24: StackMap locals: org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.hotspot.replacements.FastNotifyNode org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.FrameState org.graalvm.compiler.replacements.SnippetTemplate$Arguments org.graalvm.compiler.replacements.SnippetTemplate jdk.internal.vm.compiler.collections.UnmodifiableEconomicMap top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 25: goto 27
26: StackMap locals: org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.spi.LoweringTool
StackMap stack:
ldc "Unknown object snippet lowered node"
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
pop
27: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/graalvm/compiler/hotspot/replacements/ObjectSnippets$Templates;
0 28 1 n Lorg/graalvm/compiler/graph/Node;
0 28 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
2 25 3 fn Lorg/graalvm/compiler/hotspot/replacements/FastNotifyNode;
3 25 4 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
4 25 5 stateDuringCall Lorg/graalvm/compiler/nodes/FrameState;
8 25 6 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
10 25 7 template Lorg/graalvm/compiler/replacements/SnippetTemplate;
12 25 8 replacements Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap<Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;>;
14 24 9 originalNode Lorg/graalvm/compiler/graph/Node;
16 21 11 invoke Lorg/graalvm/compiler/nodes/InvokeNode;
MethodParameters:
Name Flags
n
tool
}
SourceFile: "ObjectSnippets.java"
NestHost: org.graalvm.compiler.hotspot.replacements.ObjectSnippets
InnerClasses:
public Templates = org.graalvm.compiler.hotspot.replacements.ObjectSnippets$Templates of org.graalvm.compiler.hotspot.replacements.ObjectSnippets
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 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