public class org.graalvm.compiler.replacements.SnippetCounter implements java.lang.Comparable<org.graalvm.compiler.replacements.SnippetCounter>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.SnippetCounter
super_class: java.lang.Object
{
private static final java.util.List<org.graalvm.compiler.replacements.SnippetCounter$Group> groups;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Lorg/graalvm/compiler/replacements/SnippetCounter$Group;>;
private final org.graalvm.compiler.replacements.SnippetCounter$Group group;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int index;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String description;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long value;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic org.graalvm.compiler.replacements.SnippetCounter.groups:Ljava/util/List;
return
LocalVariableTable:
Start End Slot Name Signature
public int compareTo(org.graalvm.compiler.replacements.SnippetCounter);
descriptor: (Lorg/graalvm/compiler/replacements/SnippetCounter;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.replacements.SnippetCounter.value:J
aload 1
getfield org.graalvm.compiler.replacements.SnippetCounter.value:J
lcmp
ifle 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.graalvm.compiler.replacements.SnippetCounter.value:J
aload 0
getfield org.graalvm.compiler.replacements.SnippetCounter.value:J
lcmp
ifge 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/replacements/SnippetCounter;
0 5 1 o Lorg/graalvm/compiler/replacements/SnippetCounter;
MethodParameters:
Name Flags
o
public void <init>(org.graalvm.compiler.replacements.SnippetCounter$Group, java.lang.String, java.lang.String);
descriptor: (Lorg/graalvm/compiler/replacements/SnippetCounter$Group;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.replacements.SnippetCounter.group:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
2: aload 0
aload 2
putfield org.graalvm.compiler.replacements.SnippetCounter.name:Ljava/lang/String;
3: aload 0
aload 3
putfield org.graalvm.compiler.replacements.SnippetCounter.description:Ljava/lang/String;
4: aload 1
ifnull 11
5: aload 1
getfield org.graalvm.compiler.replacements.SnippetCounter$Group.counters:Ljava/util/List;
astore 4
start local 4 6: aload 0
aload 4
invokeinterface java.util.List.size:()I
putfield org.graalvm.compiler.replacements.SnippetCounter.index:I
7: aload 4
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 0
getfield org.graalvm.compiler.replacements.SnippetCounter.index:I
ifne 12
9: getstatic org.graalvm.compiler.replacements.SnippetCounter.groups:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 10: goto 12
11: StackMap locals: org.graalvm.compiler.replacements.SnippetCounter org.graalvm.compiler.replacements.SnippetCounter$Group java.lang.String java.lang.String
StackMap stack:
aload 0
iconst_m1
putfield org.graalvm.compiler.replacements.SnippetCounter.index:I
12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/replacements/SnippetCounter;
0 13 1 group Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
0 13 2 name Ljava/lang/String;
0 13 3 description Ljava/lang/String;
6 10 4 counters Ljava/util/List<Lorg/graalvm/compiler/replacements/SnippetCounter;>;
MethodParameters:
Name Flags
group
name
description
public void inc();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.SnippetCounter.group:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ifnull 2
1: aload 0
invokestatic org.graalvm.compiler.replacements.SnippetCounterNode.increment:(Lorg/graalvm/compiler/replacements/SnippetCounter;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/SnippetCounter;
public void add(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.replacements.SnippetCounter.group:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ifnull 2
1: aload 0
iload 1
invokestatic org.graalvm.compiler.replacements.SnippetCounterNode.add:(Lorg/graalvm/compiler/replacements/SnippetCounter;I)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/SnippetCounter;
0 3 1 increment I
MethodParameters:
Name Flags
increment
public long value();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.SnippetCounter.value:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/SnippetCounter;
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: aload 0
getfield org.graalvm.compiler.replacements.SnippetCounter.group:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
ifnull 2
1: new java.lang.StringBuilder
dup
ldc "SnippetCounter-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.replacements.SnippetCounter.group:Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
getfield org.graalvm.compiler.replacements.SnippetCounter$Group.name: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;
aload 0
getfield org.graalvm.compiler.replacements.SnippetCounter.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokespecial java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/SnippetCounter;
public static void printGroups(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic org.graalvm.compiler.replacements.SnippetCounter.groups:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: java.io.PrintStream top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.replacements.SnippetCounter$Group
astore 1
start local 1 2: aload 0
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 out Ljava/io/PrintStream;
2 3 1 group Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
MethodParameters:
Name Flags
out
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.graalvm.compiler.replacements.SnippetCounter
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.compareTo:(Lorg/graalvm/compiler/replacements/SnippetCounter;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lorg/graalvm/compiler/replacements/SnippetCounter;>;
SourceFile: "SnippetCounter.java"
NestMembers:
org.graalvm.compiler.replacements.SnippetCounter$Group
InnerClasses:
public Group = org.graalvm.compiler.replacements.SnippetCounter$Group of org.graalvm.compiler.replacements.SnippetCounter