public abstract class org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo
super_class: java.lang.Object
{
protected final jdk.vm.ci.meta.ResolvedJavaMethod method;
descriptor: Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final jdk.vm.ci.meta.ResolvedJavaMethod original;
descriptor: Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final jdk.internal.vm.compiler.word.LocationIdentity[] privateLocations;
descriptor: [Ljdk/internal/vm/compiler/word/LocationIdentity;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.Object receiver;
descriptor: Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final org.graalvm.compiler.debug.TimerKey instantiationTimer;
descriptor: Lorg/graalvm/compiler/debug/TimerKey;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.debug.CounterKey instantiationCounter;
descriptor: Lorg/graalvm/compiler/debug/CounterKey;
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/replacements/SnippetTemplate;
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.replacements.SnippetTemplate$SnippetInfo.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object getReceiver();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.receiver:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
boolean hasReceiver();
descriptor: ()Z
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokestatic org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.hasReceiver:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.receiver:Ljava/lang/Object;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack: int
1: iconst_0
StackMap locals: org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo
StackMap stack: int int
2: if_icmpeq 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Snippet with the receiver must have it set as constant. Snippet: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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:
StackMap stack:
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokestatic org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.hasReceiver:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
static boolean hasReceiver(jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.hasReceiver:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
MethodParameters:
Name Flags
method
protected abstract org.graalvm.compiler.nodes.spi.SnippetParameterInfo info();
descriptor: ()Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected void <init>(jdk.vm.ci.meta.ResolvedJavaMethod, jdk.vm.ci.meta.ResolvedJavaMethod, jdk.internal.vm.compiler.word.LocationIdentity[], java.lang.Object);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Ljdk/internal/vm/compiler/word/LocationIdentity;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
2: aload 0
aload 2
putfield org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.original:Ljdk/vm/ci/meta/ResolvedJavaMethod;
3: aload 0
aload 3
putfield org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.privateLocations:[Ljdk/internal/vm/compiler/word/LocationIdentity;
4: aload 0
ldc "SnippetInstantiationCount[%s]"
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.DebugContext.counter:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/CounterKey;
putfield org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.instantiationCounter:Lorg/graalvm/compiler/debug/CounterKey;
5: aload 0
ldc "SnippetInstantiationTime[%s]"
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.DebugContext.timer:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/TimerKey;
putfield org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.instantiationTimer:Lorg/graalvm/compiler/debug/TimerKey;
6: aload 0
aload 4
putfield org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.receiver:Ljava/lang/Object;
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/replacements/SnippetTemplate$SnippetInfo;
0 8 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 8 2 original Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 8 3 privateLocations [Ljdk/internal/vm/compiler/word/LocationIdentity;
0 8 4 receiver Ljava/lang/Object;
MethodParameters:
Name Flags
method
original
privateLocations
receiver
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.replacements.SnippetTemplate$SnippetInfo.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
public int getParameterCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.info:()Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
invokevirtual org.graalvm.compiler.nodes.spi.SnippetParameterInfo.getParameterCount:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
public boolean isConstantParameter(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.info:()Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
iload 1
invokevirtual org.graalvm.compiler.nodes.spi.SnippetParameterInfo.isConstantParameter:(I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
0 1 1 paramIdx I
MethodParameters:
Name Flags
paramIdx
public boolean isVarargsParameter(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.info:()Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
iload 1
invokevirtual org.graalvm.compiler.nodes.spi.SnippetParameterInfo.isVarargsParameter:(I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
0 1 1 paramIdx I
MethodParameters:
Name Flags
paramIdx
public boolean isNonNullParameter(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.info:()Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
iload 1
invokevirtual org.graalvm.compiler.nodes.spi.SnippetParameterInfo.isNonNullParameter:(I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
0 1 1 paramIdx I
MethodParameters:
Name Flags
paramIdx
public java.lang.String getParameterName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.info:()Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
iload 1
invokevirtual org.graalvm.compiler.nodes.spi.SnippetParameterInfo.getParameterName:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
0 1 1 paramIdx I
MethodParameters:
Name Flags
paramIdx
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
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()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 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.method: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;
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/replacements/SnippetTemplate$SnippetInfo;
}
SourceFile: "SnippetTemplate.java"
NestHost: org.graalvm.compiler.replacements.SnippetTemplate
InnerClasses:
public abstract SnippetInfo = org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo of org.graalvm.compiler.replacements.SnippetTemplate