class org.graalvm.compiler.replacements.SnippetCounterNode$SnippetCounterSnippets implements org.graalvm.compiler.replacements.Snippets
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.replacements.SnippetCounterNode$SnippetCounterSnippets
super_class: java.lang.Object
{
private static final sun.misc.Unsafe UNSAFE;
descriptor: Lsun/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.serviceprovider.GraalUnsafeAccess.getUnsafe:()Lsun/misc/Unsafe;
putstatic org.graalvm.compiler.replacements.SnippetCounterNode$SnippetCounterSnippets.UNSAFE:Lsun/misc/Unsafe;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/SnippetCounterNode$SnippetCounterSnippets;
static int countOffset();
descriptor: ()I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.graalvm.compiler.replacements.SnippetCounterNode$SnippetCounterSnippets.UNSAFE:Lsun/misc/Unsafe;
ldc Lorg/graalvm/compiler/replacements/SnippetCounter;
ldc "value"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
l2i
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 0
start local 0 3: new org.graalvm.compiler.debug.GraalError
dup
aload 0
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
3 4 0 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
public static void add(org.graalvm.compiler.replacements.SnippetCounter, int);
descriptor: (Lorg/graalvm/compiler/replacements/SnippetCounter;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.graalvm.compiler.replacements.SnippetCounterNode$SnippetCounterSnippets.countOffset:()I
getstatic org.graalvm.compiler.replacements.SnippetCounterNode.SNIPPET_COUNTER_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokestatic org.graalvm.compiler.word.ObjectAccess.readLong:(Ljava/lang/Object;ILjdk/internal/vm/compiler/word/LocationIdentity;)J
lstore 2
start local 2 1: aload 0
invokestatic org.graalvm.compiler.replacements.SnippetCounterNode$SnippetCounterSnippets.countOffset:()I
lload 2
iload 1
i2l
ladd
getstatic org.graalvm.compiler.replacements.SnippetCounterNode.SNIPPET_COUNTER_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokestatic org.graalvm.compiler.word.ObjectAccess.writeLong:(Ljava/lang/Object;IJLjdk/internal/vm/compiler/word/LocationIdentity;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 counter Lorg/graalvm/compiler/replacements/SnippetCounter;
0 3 1 increment I
1 3 2 loadedValue J
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
1:
MethodParameters:
Name Flags
counter
increment
}
SourceFile: "SnippetCounterNode.java"
NestHost: org.graalvm.compiler.replacements.SnippetCounterNode
InnerClasses:
public abstract ConstantParameter = org.graalvm.compiler.api.replacements.Snippet$ConstantParameter of org.graalvm.compiler.api.replacements.Snippet
SnippetCounterSnippets = org.graalvm.compiler.replacements.SnippetCounterNode$SnippetCounterSnippets of org.graalvm.compiler.replacements.SnippetCounterNode
public Templates = org.graalvm.compiler.replacements.SnippetCounterNode$SnippetCounterSnippets$Templates of org.graalvm.compiler.replacements.SnippetCounterNode$SnippetCounterSnippets