public class org.graalvm.compiler.replacements.SnippetCounter$Group
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.SnippetCounter$Group
super_class: java.lang.Object
{
public static final org.graalvm.compiler.replacements.SnippetCounter$Group$Factory NullFactory;
descriptor: Lorg/graalvm/compiler/replacements/SnippetCounter$Group$Factory;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.util.List<org.graalvm.compiler.replacements.SnippetCounter> counters;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lorg/graalvm/compiler/replacements/SnippetCounter;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.graalvm.compiler.replacements.SnippetCounter$Group$1
dup
invokespecial org.graalvm.compiler.replacements.SnippetCounter$Group$1.<init>:()V
putstatic org.graalvm.compiler.replacements.SnippetCounter$Group.NullFactory:Lorg/graalvm/compiler/replacements/SnippetCounter$Group$Factory;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.replacements.SnippetCounter$Group.name:Ljava/lang/String;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.graalvm.compiler.replacements.SnippetCounter$Group.counters:Ljava/util/List;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public synchronized java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=10, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.SnippetCounter$Group.counters:Ljava/util/List;
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
1: lconst_0
lstore 1
start local 1 2: iconst_0
istore 3
start local 3 3: aload 0
getfield org.graalvm.compiler.replacements.SnippetCounter$Group.counters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: org.graalvm.compiler.replacements.SnippetCounter$Group long int top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.replacements.SnippetCounter
astore 4
start local 4 5: lload 1
aload 4
getfield org.graalvm.compiler.replacements.SnippetCounter.value:J
ladd
lstore 1
6: aload 4
getfield org.graalvm.compiler.replacements.SnippetCounter.name:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iload 3
invokestatic java.lang.Math.max:(II)I
istore 3
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: new java.lang.StringBuilder
dup
ldc "Counters: %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.replacements.SnippetCounter$Group.name:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 4
start local 4 9: new java.lang.StringBuilder
dup
ldc " %"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "s: %6.2f%%%,"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "%,d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_2
iadd
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "d // %s%n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 10: aload 0
getfield org.graalvm.compiler.replacements.SnippetCounter$Group.counters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 16
StackMap locals: org.graalvm.compiler.replacements.SnippetCounter$Group long int java.lang.StringBuilder java.lang.String top java.util.Iterator
StackMap stack:
11: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.replacements.SnippetCounter
astore 6
start local 6 12: lload 1
l2d
dconst_0
dcmpl
ifne 13
dconst_0
goto 14
StackMap locals: org.graalvm.compiler.replacements.SnippetCounter$Group long int java.lang.StringBuilder java.lang.String org.graalvm.compiler.replacements.SnippetCounter java.util.Iterator
StackMap stack:
13: aload 6
getfield org.graalvm.compiler.replacements.SnippetCounter.value:J
ldc 100
lmul
l2d
lload 1
l2d
ddiv
StackMap locals:
StackMap stack: double
14: dstore 8
start local 8 15: aload 4
aload 5
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 6
getfield org.graalvm.compiler.replacements.SnippetCounter.name:Ljava/lang/String;
aastore
dup
iconst_1
dload 8
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_2
aload 6
getfield org.graalvm.compiler.replacements.SnippetCounter.value:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
aload 6
getfield org.graalvm.compiler.replacements.SnippetCounter.description:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 end local 6 16: StackMap locals: org.graalvm.compiler.replacements.SnippetCounter$Group long int java.lang.StringBuilder java.lang.String top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
17: aload 4
aload 5
iconst_4
anewarray java.lang.Object
dup
iconst_0
ldc "TOTAL"
aastore
dup
iconst_1
ldc 100.0
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_2
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
ldc ""
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/graalvm/compiler/replacements/SnippetCounter$Group;
2 19 1 total J
3 19 3 maxNameLen I
5 7 4 c Lorg/graalvm/compiler/replacements/SnippetCounter;
9 19 4 buf Ljava/lang/StringBuilder;
10 19 5 formatString Ljava/lang/String;
12 16 6 c Lorg/graalvm/compiler/replacements/SnippetCounter;
15 16 8 percent D
}
SourceFile: "SnippetCounter.java"
NestHost: org.graalvm.compiler.replacements.SnippetCounter
InnerClasses:
public Group = org.graalvm.compiler.replacements.SnippetCounter$Group of org.graalvm.compiler.replacements.SnippetCounter
org.graalvm.compiler.replacements.SnippetCounter$Group$1
public abstract Factory = org.graalvm.compiler.replacements.SnippetCounter$Group$Factory of org.graalvm.compiler.replacements.SnippetCounter$Group