public class org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$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.aot.ResolveConstantSnippets$Templates
super_class: org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates
{
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo resolveObjectConstant;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo resolveDynamicConstant;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo resolveKlassConstant;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo resolveMethodAndLoadCounters;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo initializeKlass;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo pureInitializeKlass;
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/aot/ResolveConstantSnippets;
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.aot.ResolveConstantSnippets$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=6, 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/aot/ResolveConstantSnippets;
ldc "resolveObjectConstant"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$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.aot.ResolveConstantSnippets$Templates.resolveObjectConstant:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
2: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/aot/ResolveConstantSnippets;
ldc "resolveDynamicConstant"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$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.aot.ResolveConstantSnippets$Templates.resolveDynamicConstant:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
3: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/aot/ResolveConstantSnippets;
ldc "resolveKlassConstant"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$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.aot.ResolveConstantSnippets$Templates.resolveKlassConstant:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
4: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/aot/ResolveConstantSnippets;
ldc "resolveMethodAndLoadCounters"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$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.aot.ResolveConstantSnippets$Templates.resolveMethodAndLoadCounters:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
5: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/aot/ResolveConstantSnippets;
ldc "initializeKlass"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$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.aot.ResolveConstantSnippets$Templates.initializeKlass:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
6: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/aot/ResolveConstantSnippets;
ldc "pureInitializeKlass"
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$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.aot.ResolveConstantSnippets$Templates.pureInitializeKlass:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/hotspot/replacements/aot/ResolveConstantSnippets$Templates;
0 8 1 options Lorg/graalvm/compiler/options/OptionValues;
0 8 2 factories Ljava/lang/Iterable<Lorg/graalvm/compiler/debug/DebugHandlersFactory;>;
0 8 3 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 8 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
public void lower(org.graalvm.compiler.hotspot.nodes.aot.ResolveDynamicConstantNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/hotspot/nodes/aot/ResolveDynamicConstantNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveDynamicConstantNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveDynamicConstantNode.value:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 4
start local 4 2: getstatic org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.$assertionsDisabled:Z
ifne 3
aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifne 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Expected a constant: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.resolveDynamicConstant:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
astore 5
start local 5 4: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 5
aload 3
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 5: aload 6
ldc "constant"
aload 4
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
6: aload 0
aload 1
aload 6
invokevirtual org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
astore 7
start local 7 7: aload 7
aload 0
getfield org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$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 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;
pop
8: getstatic org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.$assertionsDisabled:Z
ifne 9
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveDynamicConstantNode.hasNoUsages:()Z
ifne 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals: org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo org.graalvm.compiler.replacements.SnippetTemplate$Arguments org.graalvm.compiler.replacements.SnippetTemplate
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveDynamicConstantNode.isDeleted:()Z
ifne 11
10: aload 1
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.killWithUnusedFloatingInputs:(Lorg/graalvm/compiler/graph/Node;)V
11: StackMap locals:
StackMap stack:
return
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 12 0 this Lorg/graalvm/compiler/hotspot/replacements/aot/ResolveConstantSnippets$Templates;
0 12 1 resolveConstantNode Lorg/graalvm/compiler/hotspot/nodes/aot/ResolveDynamicConstantNode;
0 12 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 12 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 12 4 value Lorg/graalvm/compiler/nodes/ValueNode;
4 12 5 snippet Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
5 12 6 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
7 12 7 template Lorg/graalvm/compiler/replacements/SnippetTemplate;
MethodParameters:
Name Flags
resolveConstantNode
tool
public void lower(org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/hotspot/nodes/aot/ResolveConstantNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode.value:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 4
start local 4 2: getstatic org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.$assertionsDisabled:Z
ifne 3
aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifne 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Expected a constant: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.asConstant:()Ljdk/vm/ci/meta/Constant;
astore 5
start local 5 4: aconst_null
astore 6
start local 6 5: aload 5
instanceof jdk.vm.ci.hotspot.HotSpotMetaspaceConstant
ifeq 14
6: aload 5
checkcast jdk.vm.ci.hotspot.HotSpotMetaspaceConstant
astore 7
start local 7 7: aload 7
invokeinterface jdk.vm.ci.hotspot.HotSpotMetaspaceConstant.asResolvedJavaType:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
ifnull 18
8: aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode.action:()Lorg/graalvm/compiler/hotspot/meta/HotSpotConstantLoadAction;
getstatic org.graalvm.compiler.hotspot.meta.HotSpotConstantLoadAction.RESOLVE:Lorg/graalvm/compiler/hotspot/meta/HotSpotConstantLoadAction;
if_acmpne 11
9: aload 0
getfield org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.resolveKlassConstant:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
astore 6
10: goto 18
11: StackMap locals: jdk.vm.ci.meta.Constant org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo jdk.vm.ci.hotspot.HotSpotMetaspaceConstant
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.$assertionsDisabled:Z
ifne 12
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode.action:()Lorg/graalvm/compiler/hotspot/meta/HotSpotConstantLoadAction;
getstatic org.graalvm.compiler.hotspot.meta.HotSpotConstantLoadAction.INITIALIZE:Lorg/graalvm/compiler/hotspot/meta/HotSpotConstantLoadAction;
if_acmpeq 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.pureInitializeKlass:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
astore 6
end local 7 13: goto 18
StackMap locals:
StackMap stack:
14: aload 5
instanceof jdk.vm.ci.hotspot.HotSpotObjectConstant
ifeq 18
15: aload 0
getfield org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.resolveObjectConstant:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
astore 6
16: aload 5
checkcast jdk.vm.ci.hotspot.HotSpotObjectConstant
astore 7
start local 7 17: getstatic org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.$assertionsDisabled:Z
ifne 18
aload 7
invokeinterface jdk.vm.ci.hotspot.HotSpotObjectConstant.isInternedString:()Z
ifne 18
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 7 18: StackMap locals:
StackMap stack:
aload 6
ifnonnull 20
19: new org.graalvm.compiler.debug.GraalError
dup
new java.lang.StringBuilder
dup
ldc "Unsupported constant type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 6
aload 3
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 7
start local 7 21: aload 7
ldc "constant"
aload 4
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
22: aload 0
aload 1
aload 7
invokevirtual org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
astore 8
start local 8 23: aload 8
aload 0
getfield org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$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 7
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
24: getstatic org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.$assertionsDisabled:Z
ifne 25
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode.hasNoUsages:()Z
ifne 25
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
25: StackMap locals: org.graalvm.compiler.replacements.SnippetTemplate$Arguments org.graalvm.compiler.replacements.SnippetTemplate
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode.isDeleted:()Z
ifne 27
26: aload 1
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.killWithUnusedFloatingInputs:(Lorg/graalvm/compiler/graph/Node;)V
27: StackMap locals:
StackMap stack:
return
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 28 0 this Lorg/graalvm/compiler/hotspot/replacements/aot/ResolveConstantSnippets$Templates;
0 28 1 resolveConstantNode Lorg/graalvm/compiler/hotspot/nodes/aot/ResolveConstantNode;
0 28 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 28 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 28 4 value Lorg/graalvm/compiler/nodes/ValueNode;
4 28 5 constant Ljdk/vm/ci/meta/Constant;
5 28 6 snippet Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
7 13 7 hotspotMetaspaceConstant Ljdk/vm/ci/hotspot/HotSpotMetaspaceConstant;
17 18 7 hotspotObjectConstant Ljdk/vm/ci/hotspot/HotSpotObjectConstant;
21 28 7 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
23 28 8 template Lorg/graalvm/compiler/replacements/SnippetTemplate;
MethodParameters:
Name Flags
resolveConstantNode
tool
public void lower(org.graalvm.compiler.hotspot.nodes.aot.InitializeKlassNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/hotspot/nodes/aot/InitializeKlassNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.InitializeKlassNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.InitializeKlassNode.value:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 4
start local 4 2: getstatic org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.$assertionsDisabled:Z
ifne 3
aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifne 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Expected a constant: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.asConstant:()Ljdk/vm/ci/meta/Constant;
astore 5
start local 5 4: aload 5
instanceof jdk.vm.ci.hotspot.HotSpotMetaspaceConstant
ifeq 13
5: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.initializeKlass:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 3
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 6: aload 6
ldc "constant"
aload 4
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
7: aload 0
aload 1
aload 6
invokevirtual org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
astore 7
start local 7 8: aload 7
aload 0
getfield org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$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 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;
pop
9: getstatic org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.$assertionsDisabled:Z
ifne 10
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.InitializeKlassNode.hasNoUsages:()Z
ifne 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: jdk.vm.ci.meta.Constant org.graalvm.compiler.replacements.SnippetTemplate$Arguments org.graalvm.compiler.replacements.SnippetTemplate
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.InitializeKlassNode.isDeleted:()Z
ifne 14
11: aload 1
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.killWithUnusedFloatingInputs:(Lorg/graalvm/compiler/graph/Node;)V
end local 7 end local 6 12: goto 14
13: StackMap locals:
StackMap stack:
new org.graalvm.compiler.debug.GraalError
dup
new java.lang.StringBuilder
dup
ldc "Unsupported constant type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
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 15 0 this Lorg/graalvm/compiler/hotspot/replacements/aot/ResolveConstantSnippets$Templates;
0 15 1 initializeKlassNode Lorg/graalvm/compiler/hotspot/nodes/aot/InitializeKlassNode;
0 15 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 15 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 15 4 value Lorg/graalvm/compiler/nodes/ValueNode;
4 15 5 constant Ljdk/vm/ci/meta/Constant;
6 12 6 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
8 12 7 template Lorg/graalvm/compiler/replacements/SnippetTemplate;
MethodParameters:
Name Flags
initializeKlassNode
tool
public void lower(org.graalvm.compiler.hotspot.nodes.aot.ResolveMethodAndLoadCountersNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/hotspot/nodes/aot/ResolveMethodAndLoadCountersNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveMethodAndLoadCountersNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: invokestatic org.graalvm.compiler.hotspot.nodes.type.MethodPointerStamp.methodNonNull:()Lorg/graalvm/compiler/hotspot/nodes/type/MethodPointerStamp;
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveMethodAndLoadCountersNode.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getEncoding:()Ljdk/vm/ci/meta/Constant;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 3
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Lorg/graalvm/compiler/core/common/type/Stamp;Ljdk/vm/ci/meta/Constant;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 4
start local 4 2: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.resolveMethodAndLoadCounters:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 3
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 5
start local 5 3: aload 5
ldc "method"
aload 4
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
4: aload 5
ldc "klassHint"
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveMethodAndLoadCountersNode.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
5: aload 0
aload 1
aload 5
invokevirtual org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
astore 6
start local 6 6: aload 6
aload 0
getfield org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$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
7: getstatic org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates.$assertionsDisabled:Z
ifne 8
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveMethodAndLoadCountersNode.hasNoUsages:()Z
ifne 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates org.graalvm.compiler.hotspot.nodes.aot.ResolveMethodAndLoadCountersNode org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ConstantNode org.graalvm.compiler.replacements.SnippetTemplate$Arguments org.graalvm.compiler.replacements.SnippetTemplate
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.ResolveMethodAndLoadCountersNode.isDeleted:()Z
ifne 10
9: aload 1
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.killWithUnusedFloatingInputs:(Lorg/graalvm/compiler/graph/Node;)V
10: StackMap locals:
StackMap stack:
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 11 0 this Lorg/graalvm/compiler/hotspot/replacements/aot/ResolveConstantSnippets$Templates;
0 11 1 resolveMethodAndLoadCountersNode Lorg/graalvm/compiler/hotspot/nodes/aot/ResolveMethodAndLoadCountersNode;
0 11 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 11 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 11 4 method Lorg/graalvm/compiler/nodes/ConstantNode;
3 11 5 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
6 11 6 template Lorg/graalvm/compiler/replacements/SnippetTemplate;
MethodParameters:
Name Flags
resolveMethodAndLoadCountersNode
tool
}
SourceFile: "ResolveConstantSnippets.java"
NestHost: org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets
InnerClasses:
public Templates = org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets$Templates of org.graalvm.compiler.hotspot.replacements.aot.ResolveConstantSnippets
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