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
public static final java.lang.ThreadLocal<org.graalvm.compiler.nodes.StructuredGraph> SnippetGraphUnderConstruction;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Lorg/graalvm/compiler/nodes/StructuredGraph;>;
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=2, 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
3: invokestatic org.graalvm.compiler.hotspot.stubs.SnippetStub.assertionsEnabled:()Z
ifeq 4
new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
goto 5
StackMap locals:
StackMap stack:
4: aconst_null
StackMap locals:
StackMap stack: java.lang.ThreadLocal
5: putstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.SnippetGraphUnderConstruction:Ljava/lang/ThreadLocal;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, org.graalvm.compiler.hotspot.meta.HotSpotProviders, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage);
descriptor: (Ljava/lang/String;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aconst_null
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.hotspot.stubs.SnippetStub.<init>:(Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
1: return
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 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 2 3 linkage Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
MethodParameters:
Name Flags
snippetMethodName
providers
linkage
public void <init>(java.lang.Class<? extends org.graalvm.compiler.replacements.Snippets>, java.lang.String, org.graalvm.compiler.hotspot.meta.HotSpotProviders, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 3
aload 4
invokespecial org.graalvm.compiler.hotspot.stubs.Stub.<init>:(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.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 5
start local 5 4: aload 0
aload 3
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 5
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 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 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 6 4 linkage Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
4 6 5 javaMethod Ljava/lang/reflect/Method;
Signature: (Ljava/lang/Class<+Lorg/graalvm/compiler/replacements/Snippets;>;Ljava/lang/String;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
MethodParameters:
Name Flags
snippetDeclaringClass
snippetMethodName
providers
linkage
private static boolean assertionsEnabled();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: iconst_0
istore 0
start local 0 1: getstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.$assertionsDisabled:Z
ifne 2
iconst_1
dup
istore 0
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: int
StackMap stack:
iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 enabled Z
protected org.graalvm.compiler.nodes.StructuredGraph getGraph(org.graalvm.compiler.core.common.CompilationIdentifier);
descriptor: (Lorg/graalvm/compiler/core/common/CompilationIdentifier;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=14, args_size=2
start local 0 start local 1 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 2
start local 2 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 3
start local 3 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 4
start local 4 3: new org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins
dup
aload 2
invokespecial org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.<init>:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;)V
astore 5
start local 5 4: aload 5
new org.graalvm.compiler.replacements.ConstantBindingParameterPlugin
dup
aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.SnippetStub.makeConstArgs:()[Ljava/lang/Object;
aload 3
aload 4
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 5
invokestatic org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration.getSnippetDefault:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
astore 6
start local 6 6: new org.graalvm.compiler.nodes.StructuredGraph
dup
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.NO:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
iconst_0
aload 1
invokespecial org.graalvm.compiler.nodes.StructuredGraph.<init>:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;ZLorg/graalvm/compiler/core/common/CompilationIdentifier;)V
astore 7
start local 7 7: aconst_null
astore 8
aconst_null
astore 9
8: ldc "SnippetStub"
aload 7
invokestatic org.graalvm.compiler.debug.Debug.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Debug$Scope;
astore 10
start local 10 9: aload 7
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.disableUnsafeAccessTracking:()V
10: getstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.SnippetGraphUnderConstruction:Ljava/lang/ThreadLocal;
ifnull 13
11: getstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.$assertionsDisabled:Z
ifne 12
getstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.SnippetGraphUnderConstruction:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
ifnull 12
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
getstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.SnippetGraphUnderConstruction:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.StructuredGraph
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
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
12: StackMap locals: org.graalvm.compiler.hotspot.stubs.SnippetStub 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.Debug$Scope
StackMap stack:
getstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.SnippetGraphUnderConstruction:Ljava/lang/ThreadLocal;
aload 7
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
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
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.getReplacementBytecodeProvider:()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 11
start local 11 14: new org.graalvm.compiler.java.GraphBuilderPhase$Instance
dup
aload 3
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;
15: 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;
16: aload 6
getstatic org.graalvm.compiler.phases.OptimisticOptimizations.NONE:Lorg/graalvm/compiler/phases/OptimisticOptimizations;
17: aload 11
18: 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 12
start local 12 19: aload 12
aload 7
invokevirtual org.graalvm.compiler.java.GraphBuilderPhase$Instance.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
end local 12 end local 11 20: goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 13
22: getstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.SnippetGraphUnderConstruction:Ljava/lang/ThreadLocal;
ifnull 24
23: getstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.SnippetGraphUnderConstruction:Ljava/lang/ThreadLocal;
aconst_null
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
24: StackMap locals: org.graalvm.compiler.hotspot.stubs.SnippetStub 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.Debug$Scope top top java.lang.Throwable
StackMap stack:
aload 13
athrow
25: StackMap locals: org.graalvm.compiler.hotspot.stubs.SnippetStub 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.Debug$Scope
StackMap stack:
getstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.SnippetGraphUnderConstruction:Ljava/lang/ThreadLocal;
ifnull 27
26: getstatic org.graalvm.compiler.hotspot.stubs.SnippetStub.SnippetGraphUnderConstruction:Ljava/lang/ThreadLocal;
aconst_null
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
27: StackMap locals:
StackMap stack:
aload 7
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
28: new org.graalvm.compiler.phases.common.CanonicalizerPhase
dup
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
astore 11
start local 11 29: 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 12
start local 12 30: aload 11
aload 7
aload 12
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
31: new org.graalvm.compiler.phases.common.LoweringPhase
dup
aload 11
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 7
aload 12
invokevirtual org.graalvm.compiler.phases.common.LoweringPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
end local 12 end local 11 32: aload 10
ifnull 40
aload 10
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
goto 40
StackMap locals:
StackMap stack: java.lang.Throwable
33: astore 8
aload 10
ifnull 34
aload 10
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
end local 10 StackMap locals:
StackMap stack:
34: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
35: astore 9
aload 8
ifnonnull 36
aload 9
astore 8
goto 37
StackMap locals:
StackMap stack:
36: aload 8
aload 9
if_acmpeq 37
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
37: aload 8
athrow
StackMap locals: org.graalvm.compiler.hotspot.stubs.SnippetStub 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
38: astore 8
start local 8 39: aload 8
invokestatic org.graalvm.compiler.debug.Debug.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 8 40: StackMap locals:
StackMap stack:
aload 7
areturn
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 41 0 this Lorg/graalvm/compiler/hotspot/stubs/SnippetStub;
0 41 1 compilationId Lorg/graalvm/compiler/core/common/CompilationIdentifier;
1 41 2 defaultPlugins Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
2 41 3 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
3 41 4 snippetReflection Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
4 41 5 plugins Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
6 41 6 config Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
7 41 7 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
9 34 10 outer Lorg/graalvm/compiler/debug/Debug$Scope;
14 20 11 initialIntrinsicContext Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext;
19 20 12 instance Lorg/graalvm/compiler/java/GraphBuilderPhase$Instance;
29 32 11 canonicalizer Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
30 32 12 context Lorg/graalvm/compiler/phases/tiers/PhaseContext;
39 40 8 e Ljava/lang/Throwable;
Exception table:
from to target type
13 21 21 any
9 32 33 any
8 35 35 any
7 38 38 Class java.lang.Throwable
MethodParameters:
Name Flags
compilationId
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 Scope = org.graalvm.compiler.debug.Debug$Scope of org.graalvm.compiler.debug.Debug
public Instance = org.graalvm.compiler.java.GraphBuilderPhase$Instance of org.graalvm.compiler.java.GraphBuilderPhase
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions 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