public abstract class org.graalvm.compiler.hotspot.stubs.SnippetStub extends org.graalvm.compiler.hotspot.stubs.Stub implements org.graalvm.compiler.replacements.Snippets
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.hotspot.stubs.SnippetStub
super_class: org.graalvm.compiler.hotspot.stubs.Stub
{
protected final jdk.vm.ci.meta.ResolvedJavaMethod method;
descriptor: Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0014) ACC_PROTECTED, 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/stubs/SnippetStub;
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.stubs.SnippetStub.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.meta.HotSpotProviders, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage);
descriptor: (Ljava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)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
aconst_null
aload 1
aload 2
aload 3
aload 4
invokespecial org.graalvm.compiler.hotspot.stubs.SnippetStub.<init>:(Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/stubs/SnippetStub;
0 2 1 snippetMethodName Ljava/lang/String;
0 2 2 options Lorg/graalvm/compiler/options/OptionValues;
0 2 3 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 2 4 linkage Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
MethodParameters:
Name Flags
snippetMethodName
options
providers
linkage
public void <init>(java.lang.Class<? extends org.graalvm.compiler.replacements.Snippets>, java.lang.String, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.meta.HotSpotProviders, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 3
aload 4
aload 5
invokespecial org.graalvm.compiler.hotspot.stubs.Stub.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
1: aload 1
ifnonnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
goto 3
StackMap locals: org.graalvm.compiler.hotspot.stubs.SnippetStub java.lang.Class java.lang.String org.graalvm.compiler.options.OptionValues org.graalvm.compiler.hotspot.meta.HotSpotProviders org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage
StackMap stack:
2: aload 1
StackMap locals:
StackMap stack: java.lang.Class
3: aload 2
aconst_null
invokestatic org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates.findMethod:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
astore 6
start local 6 4: aload 0
aload 4
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 6
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
putfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
5: 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 6 0 this Lorg/graalvm/compiler/hotspot/stubs/SnippetStub;
0 6 1 snippetDeclaringClass Ljava/lang/Class<+Lorg/graalvm/compiler/replacements/Snippets;>;
0 6 2 snippetMethodName Ljava/lang/String;
0 6 3 options Lorg/graalvm/compiler/options/OptionValues;
0 6 4 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 6 5 linkage Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
4 6 6 javaMethod Ljava/lang/reflect/Method;
Signature: (Ljava/lang/Class<+Lorg/graalvm/compiler/replacements/Snippets;>;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
MethodParameters:
Name Flags
snippetDeclaringClass
snippetMethodName
options
providers
linkage
protected org.graalvm.compiler.nodes.StructuredGraph getGraph(org.graalvm.compiler.debug.DebugContext, org.graalvm.compiler.core.common.CompilationIdentifier);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/core/common/CompilationIdentifier;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=17, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getGraphBuilderPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
astore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
astore 4
start local 4 2: aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
astore 5
start local 5 3: new org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins
dup
aload 3
invokespecial org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.<init>:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;)V
astore 6
start local 6 4: aload 6
new org.graalvm.compiler.replacements.ConstantBindingParameterPlugin
dup
aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.SnippetStub.makeConstArgs:()[Ljava/lang/Object;
aload 4
aload 5
invokespecial org.graalvm.compiler.replacements.ConstantBindingParameterPlugin.<init>:([Ljava/lang/Object;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;)V
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.prependParameterPlugin:(Lorg/graalvm/compiler/nodes/graphbuilderconf/ParameterPlugin;)V
5: aload 6
invokestatic org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration.getSnippetDefault:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
astore 7
start local 7 6: new org.graalvm.compiler.nodes.StructuredGraph$Builder
dup
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.options:Lorg/graalvm/compiler/options/OptionValues;
aload 1
invokespecial org.graalvm.compiler.nodes.StructuredGraph$Builder.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext;)V
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.method:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.compilationId:(Lorg/graalvm/compiler/core/common/CompilationIdentifier;)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.build:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 8
start local 8 7: aconst_null
astore 9
aconst_null
astore 10
8: aload 1
ldc "SnippetStub"
aload 8
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 11
start local 11 9: aload 8
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.disableUnsafeAccessTracking:()V
10: new org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext
dup
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.SnippetStub.getReplacementsBytecodeProvider:()Lorg/graalvm/compiler/bytecode/BytecodeProvider;
getstatic org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext.INLINE_AFTER_PARSING:Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;
invokespecial org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext.<init>:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/bytecode/BytecodeProvider;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;)V
astore 12
start local 12 11: new org.graalvm.compiler.java.GraphBuilderPhase$Instance
dup
aload 4
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getStampProvider:()Lorg/graalvm/compiler/nodes/spi/StampProvider;
12: aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getConstantFieldProvider:()Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
13: aload 7
getstatic org.graalvm.compiler.phases.OptimisticOptimizations.NONE:Lorg/graalvm/compiler/phases/OptimisticOptimizations;
14: aload 12
15: invokespecial org.graalvm.compiler.java.GraphBuilderPhase$Instance.<init>:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/spi/StampProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext;)V
astore 13
start local 13 16: aload 13
aload 8
invokevirtual org.graalvm.compiler.java.GraphBuilderPhase$Instance.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
17: aload 8
getstatic org.graalvm.compiler.nodes.ParameterNode.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.iterator:()Ljava/util/Iterator;
astore 15
goto 22
StackMap locals: org.graalvm.compiler.hotspot.stubs.SnippetStub org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.core.common.CompilationIdentifier org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.api.replacements.SnippetReflectionProvider org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration org.graalvm.compiler.nodes.StructuredGraph java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext org.graalvm.compiler.java.GraphBuilderPhase$Instance top java.util.Iterator
StackMap stack:
18: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ParameterNode
astore 14
start local 14 19: aload 14
invokevirtual org.graalvm.compiler.nodes.ParameterNode.index:()I
istore 16
start local 16 20: aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc Lorg/graalvm/compiler/api/replacements/Snippet$NonNullParameter;
iload 16
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getParameterAnnotation:(Ljava/lang/Class;I)Ljava/lang/annotation/Annotation;
ifnull 22
21: aload 14
aload 14
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ParameterNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokestatic org.graalvm.compiler.core.common.type.StampFactory.objectNonNull:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.core.common.type.Stamp.join:(Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.nodes.ParameterNode.setStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;)V
end local 16 end local 14 22: StackMap locals:
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
23: new org.graalvm.compiler.phases.common.RemoveValueProxyPhase
dup
invokespecial org.graalvm.compiler.phases.common.RemoveValueProxyPhase.<init>:()V
aload 8
invokevirtual org.graalvm.compiler.phases.common.RemoveValueProxyPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
24: aload 8
getstatic org.graalvm.compiler.nodes.StructuredGraph$GuardsStage.FLOATING_GUARDS:Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.setGuardsStage:(Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;)V
25: new org.graalvm.compiler.phases.common.CanonicalizerPhase
dup
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
astore 14
start local 14 26: new org.graalvm.compiler.phases.tiers.PhaseContext
dup
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokespecial org.graalvm.compiler.phases.tiers.PhaseContext.<init>:(Lorg/graalvm/compiler/phases/util/Providers;)V
astore 15
start local 15 27: aload 14
aload 8
aload 15
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
28: new org.graalvm.compiler.phases.common.LoweringPhase
dup
aload 14
getstatic org.graalvm.compiler.nodes.spi.LoweringTool$StandardLoweringStage.HIGH_TIER:Lorg/graalvm/compiler/nodes/spi/LoweringTool$StandardLoweringStage;
invokespecial org.graalvm.compiler.phases.common.LoweringPhase.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
aload 8
aload 15
invokevirtual org.graalvm.compiler.phases.common.LoweringPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
end local 15 end local 14 end local 13 end local 12 29: aload 11
ifnull 37
aload 11
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 37
StackMap locals: org.graalvm.compiler.hotspot.stubs.SnippetStub org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.core.common.CompilationIdentifier org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.api.replacements.SnippetReflectionProvider org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration org.graalvm.compiler.nodes.StructuredGraph java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
30: astore 9
aload 11
ifnull 31
aload 11
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 11 StackMap locals:
StackMap stack:
31: aload 9
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
32: astore 10
aload 9
ifnonnull 33
aload 10
astore 9
goto 34
StackMap locals:
StackMap stack:
33: aload 9
aload 10
if_acmpeq 34
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
34: aload 9
athrow
StackMap locals: org.graalvm.compiler.hotspot.stubs.SnippetStub org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.core.common.CompilationIdentifier org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.api.replacements.SnippetReflectionProvider org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: java.lang.Throwable
35: astore 9
start local 9 36: aload 1
aload 9
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 9 37: StackMap locals:
StackMap stack:
aload 8
areturn
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 38 0 this Lorg/graalvm/compiler/hotspot/stubs/SnippetStub;
0 38 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 38 2 compilationId Lorg/graalvm/compiler/core/common/CompilationIdentifier;
1 38 3 defaultPlugins Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
2 38 4 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
3 38 5 snippetReflection Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
4 38 6 plugins Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
6 38 7 config Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
7 38 8 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
9 31 11 outer Lorg/graalvm/compiler/debug/DebugContext$Scope;
11 29 12 initialIntrinsicContext Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext;
16 29 13 instance Lorg/graalvm/compiler/java/GraphBuilderPhase$Instance;
19 22 14 param Lorg/graalvm/compiler/nodes/ParameterNode;
20 22 16 index I
26 29 14 canonicalizer Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
27 29 15 context Lorg/graalvm/compiler/phases/tiers/PhaseContext;
36 37 9 e Ljava/lang/Throwable;
Exception table:
from to target type
9 29 30 any
8 32 32 any
7 35 35 Class java.lang.Throwable
MethodParameters:
Name Flags
debug
compilationId
protected org.graalvm.compiler.bytecode.BytecodeProvider getReplacementsBytecodeProvider();
descriptor: ()Lorg/graalvm/compiler/bytecode/BytecodeProvider;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
invokeinterface org.graalvm.compiler.nodes.spi.Replacements.getDefaultReplacementBytecodeProvider:()Lorg/graalvm/compiler/bytecode/BytecodeProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/stubs/SnippetStub;
protected boolean checkConstArg(int, java.lang.String);
descriptor: (ILjava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=6, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc Lorg/graalvm/compiler/api/replacements/Snippet$ConstantParameter;
iload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getParameterAnnotation:(Ljava/lang/Class;I)Ljava/lang/annotation/Annotation;
ifnonnull 1
new java.lang.AssertionError
dup
ldc "parameter %d of %s is expected to be constant"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getLocalVariableTable:()Ljdk/vm/ci/meta/LocalVariableTable;
astore 3
start local 3 2: aload 3
ifnull 7
3: aload 3
iload 1
iconst_0
invokevirtual jdk.vm.ci.meta.LocalVariableTable.getLocal:(II)Ljdk/vm/ci/meta/Local;
astore 4
start local 4 4: getstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.$assertionsDisabled:Z
ifne 5
aload 4
ifnonnull 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: jdk.vm.ci.meta.LocalVariableTable jdk.vm.ci.meta.Local
StackMap stack:
aload 4
invokevirtual jdk.vm.ci.meta.Local.getName:()Ljava/lang/String;
astore 5
start local 5 6: getstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.$assertionsDisabled:Z
ifne 7
aload 5
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
new java.lang.AssertionError
dup
ldc "parameter %d of %s is expected to be named %s, not %s"
iconst_4
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
aload 2
aastore
dup
iconst_3
aload 5
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 5 end local 4 7: StackMap locals:
StackMap stack:
iconst_1
ireturn
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/stubs/SnippetStub;
0 8 1 index I
0 8 2 expectedName Ljava/lang/String;
2 8 3 lvt Ljdk/vm/ci/meta/LocalVariableTable;
4 7 4 local Ljdk/vm/ci/meta/Local;
6 7 5 actualName Ljava/lang/String;
MethodParameters:
Name Flags
index
expectedName
protected java.lang.Object[] makeConstArgs();
descriptor: ()[Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
iconst_0
invokeinterface jdk.vm.ci.meta.Signature.getParameterCount:(Z)I
istore 1
start local 1 1: iload 1
anewarray java.lang.Object
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: int java.lang.Object[] int
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc Lorg/graalvm/compiler/api/replacements/Snippet$ConstantParameter;
iload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getParameterAnnotation:(Ljava/lang/Class;I)Ljava/lang/annotation/Annotation;
ifnull 6
5: aload 2
iload 3
aload 0
iload 3
aconst_null
invokevirtual org.graalvm.compiler.hotspot.stubs.SnippetStub.getConstantParameterValue:(ILjava/lang/String;)Ljava/lang/Object;
aastore
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/hotspot/stubs/SnippetStub;
1 9 1 count I
2 9 2 args [Ljava/lang/Object;
3 8 3 i I
protected java.lang.Object getConstantParameterValue(int, java.lang.String);
descriptor: (ILjava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.graalvm.compiler.debug.GraalError
dup
ldc "%s must override getConstantParameterValue() to provide a value for parameter %d%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 2
ifnonnull 1
ldc ""
goto 2
StackMap locals: org.graalvm.compiler.hotspot.stubs.SnippetStub int java.lang.String
StackMap stack: new 0 new 0 java.lang.String java.lang.Object[] java.lang.Object[] int
1: new java.lang.StringBuilder
dup
ldc " ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: org.graalvm.compiler.hotspot.stubs.SnippetStub int java.lang.String
StackMap stack: new 0 new 0 java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
2: aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/stubs/SnippetStub;
0 3 1 index I
0 3 2 name Ljava/lang/String;
MethodParameters:
Name Flags
index
name
protected java.lang.Object debugScopeContext();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.SnippetStub.getInstalledCodeOwner:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/stubs/SnippetStub;
public jdk.vm.ci.meta.ResolvedJavaMethod getInstalledCodeOwner();
descriptor: ()Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/stubs/SnippetStub;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Stub<"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.SnippetStub.getInstalledCodeOwner:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc "%h.%n"
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 ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/stubs/SnippetStub;
}
SourceFile: "SnippetStub.java"
InnerClasses:
public abstract ConstantParameter = org.graalvm.compiler.api.replacements.Snippet$ConstantParameter of org.graalvm.compiler.api.replacements.Snippet
public abstract NonNullParameter = org.graalvm.compiler.api.replacements.Snippet$NonNullParameter of org.graalvm.compiler.api.replacements.Snippet
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public Instance = org.graalvm.compiler.java.GraphBuilderPhase$Instance of org.graalvm.compiler.java.GraphBuilderPhase
public Builder = org.graalvm.compiler.nodes.StructuredGraph$Builder of org.graalvm.compiler.nodes.StructuredGraph
public final GuardsStage = org.graalvm.compiler.nodes.StructuredGraph$GuardsStage of org.graalvm.compiler.nodes.StructuredGraph
public Plugins = org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins of org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration
public final CompilationContext = org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext of org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext
public abstract LoweringStage = org.graalvm.compiler.nodes.spi.LoweringTool$LoweringStage of org.graalvm.compiler.nodes.spi.LoweringTool
public final StandardLoweringStage = org.graalvm.compiler.nodes.spi.LoweringTool$StandardLoweringStage of org.graalvm.compiler.nodes.spi.LoweringTool
public abstract AbstractTemplates = org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates of org.graalvm.compiler.replacements.SnippetTemplate