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=6, 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 0
aload 4
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
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: org.graalvm.compiler.hotspot.stubs.SnippetStub jdk.vm.ci.meta.MetaAccessProvider
2: aload 1
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: org.graalvm.compiler.hotspot.stubs.SnippetStub jdk.vm.ci.meta.MetaAccessProvider java.lang.Class
3: aload 2
invokestatic org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates.findMethod:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljava/lang/Class;Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
putfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
4: aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.SnippetStub.registerSnippet:()V
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 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;
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 void registerSnippet();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, 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;
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
aconst_null
aconst_null
iconst_0
invokeinterface org.graalvm.compiler.nodes.spi.Replacements.registerSnippet:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/stubs/SnippetStub;
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=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.SnippetStub.makeConstArgs:()[Ljava/lang/Object;
invokevirtual org.graalvm.compiler.hotspot.stubs.SnippetStub.buildInitialGraph:(Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/core/common/CompilationIdentifier;[Ljava/lang/Object;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: aconst_null
astore 4
aconst_null
astore 5
2: aload 1
ldc "SnippetStub"
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 6
start local 6 3: aload 3
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 8
goto 8
StackMap locals: org.graalvm.compiler.hotspot.stubs.SnippetStub org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.core.common.CompilationIdentifier org.graalvm.compiler.nodes.StructuredGraph java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope top java.util.Iterator
StackMap stack:
4: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ParameterNode
astore 7
start local 7 5: aload 7
invokevirtual org.graalvm.compiler.nodes.ParameterNode.index:()I
istore 9
start local 9 6: aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc Lorg/graalvm/compiler/api/replacements/Snippet$NonNullParameter;
iload 9
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getParameterAnnotation:(Ljava/lang/Class;I)Ljava/lang/annotation/Annotation;
ifnull 8
7: aload 7
aload 7
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 9 end local 7 8: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: new org.graalvm.compiler.phases.common.RemoveValueProxyPhase
dup
invokespecial org.graalvm.compiler.phases.common.RemoveValueProxyPhase.<init>:()V
aload 3
invokevirtual org.graalvm.compiler.phases.common.RemoveValueProxyPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
10: aload 3
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
11: new org.graalvm.compiler.phases.common.CanonicalizerPhase
dup
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
astore 7
start local 7 12: 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 8
start local 8 13: aload 7
aload 3
aload 8
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
14: new org.graalvm.compiler.phases.common.LoweringPhase
dup
aload 7
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 3
aload 8
invokevirtual org.graalvm.compiler.phases.common.LoweringPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
end local 8 end local 7 15: aload 6
ifnull 23
aload 6
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 23
StackMap locals: org.graalvm.compiler.hotspot.stubs.SnippetStub org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.core.common.CompilationIdentifier org.graalvm.compiler.nodes.StructuredGraph java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
16: astore 4
aload 6
ifnull 17
aload 6
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 6 StackMap locals:
StackMap stack:
17: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 5
aload 4
ifnonnull 19
aload 5
astore 4
goto 20
StackMap locals:
StackMap stack:
19: aload 4
aload 5
if_acmpeq 20
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 4
athrow
StackMap locals: org.graalvm.compiler.hotspot.stubs.SnippetStub org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.core.common.CompilationIdentifier org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: java.lang.Throwable
21: astore 4
start local 4 22: aload 1
aload 4
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 4 23: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/compiler/hotspot/stubs/SnippetStub;
0 24 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 24 2 compilationId Lorg/graalvm/compiler/core/common/CompilationIdentifier;
1 24 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 17 6 outer Lorg/graalvm/compiler/debug/DebugContext$Scope;
5 8 7 param Lorg/graalvm/compiler/nodes/ParameterNode;
6 8 9 index I
12 15 7 canonicalizer Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
13 15 8 context Lorg/graalvm/compiler/phases/tiers/PhaseContext;
22 23 4 e Ljava/lang/Throwable;
Exception table:
from to target type
3 15 16 any
2 18 18 any
1 21 21 Class java.lang.Throwable
MethodParameters:
Name Flags
debug
compilationId
protected org.graalvm.compiler.nodes.StructuredGraph buildInitialGraph(org.graalvm.compiler.debug.DebugContext, org.graalvm.compiler.core.common.CompilationIdentifier, java.lang.Object[]);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/core/common/CompilationIdentifier;[Ljava/lang/Object;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 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;
aload 0
getfield org.graalvm.compiler.hotspot.stubs.SnippetStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 3
iconst_0
aconst_null
invokeinterface org.graalvm.compiler.nodes.spi.Replacements.getSnippet:(Ljdk/vm/ci/meta/ResolvedJavaMethod;[Ljava/lang/Object;ZLorg/graalvm/compiler/graph/NodeSourcePosition;)Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 2
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.copyWithIdentifier:(Lorg/graalvm/compiler/core/common/CompilationIdentifier;Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/nodes/StructuredGraph;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/stubs/SnippetStub;
0 1 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 1 2 compilationId Lorg/graalvm/compiler/core/common/CompilationIdentifier;
0 1 3 args [Ljava/lang/Object;
MethodParameters:
Name Flags
debug
compilationId
args
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;
public jdk.vm.ci.meta.ResolvedJavaMethod getMethod();
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;
}
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 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 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