public final class org.graalvm.compiler.core.common.alloc.TraceStatisticsPrinter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.core.common.alloc.TraceStatisticsPrinter
super_class: java.lang.Object
{
private static final java.lang.String SEP;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: ";"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/core/common/alloc/TraceStatisticsPrinter;
public static void printTraceStatistics(org.graalvm.compiler.core.common.alloc.TraceBuilderResult, java.lang.String);
descriptor: (Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: ldc "DumpTraceStatistics"
invokestatic org.graalvm.compiler.debug.Debug.scope:(Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Debug$Scope;
astore 4
start local 4 2: iconst_3
invokestatic org.graalvm.compiler.debug.Debug.isLogEnabled:(I)Z
ifeq 4
3: aload 0
aload 1
invokestatic org.graalvm.compiler.core.common.alloc.TraceStatisticsPrinter.print:(Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Ljava/lang/String;)V
4: StackMap locals: java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$Scope
StackMap stack:
aload 4
ifnull 12
aload 4
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 2
aload 4
ifnull 6
aload 4
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
end local 4 StackMap locals:
StackMap stack:
6: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 3
aload 2
ifnonnull 8
aload 3
astore 2
goto 9
StackMap locals:
StackMap stack:
8: aload 2
aload 3
if_acmpeq 9
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 2
athrow
StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult java.lang.String
StackMap stack: java.lang.Throwable
10: astore 2
start local 2 11: aload 2
invokestatic org.graalvm.compiler.debug.Debug.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
pop
end local 2 12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 result Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
0 13 1 compilationUnitName Ljava/lang/String;
2 6 4 s Lorg/graalvm/compiler/debug/Debug$Scope;
11 12 2 e Ljava/lang/Throwable;
Exception table:
from to target type
2 4 5 any
1 7 7 any
0 10 10 Class java.lang.Throwable
MethodParameters:
Name Flags
result
compilationUnitName
protected static void print(org.graalvm.compiler.core.common.alloc.TraceBuilderResult, java.lang.String);
descriptor: (Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Ljava/lang/String;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=8, locals=24, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.core.common.alloc.TraceBuilderResult.getTraces:()Ljava/util/ArrayList;
astore 2
start local 2 1: aload 2
invokeinterface java.util.List.size:()I
istore 3
start local 3 2: aconst_null
astore 4
aconst_null
astore 5
3: iconst_3
ldc "<tracestatistics>"
invokestatic org.graalvm.compiler.debug.Debug.logAndIndent:(ILjava/lang/String;)Lorg/graalvm/compiler/debug/Indent;
astore 6
start local 6 4: iconst_3
ldc "<name>%s</name>"
aload 1
ifnull 5
aload 1
goto 6
StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult java.lang.String java.util.List int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack: int java.lang.String
5: ldc "null"
StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult java.lang.String java.util.List int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack: int java.lang.String java.lang.String
6: invokestatic org.graalvm.compiler.debug.Debug.log:(ILjava/lang/String;Ljava/lang/Object;)V
7: aconst_null
astore 7
aconst_null
astore 8
8: iconst_3
ldc "<traces>"
invokestatic org.graalvm.compiler.debug.Debug.logAndIndent:(ILjava/lang/String;)Lorg/graalvm/compiler/debug/Indent;
astore 9
start local 9 9: ldc "tracenumber"
ldc "total"
ldc "min"
ldc "max"
ldc "numBlocks"
invokestatic org.graalvm.compiler.core.common.alloc.TraceStatisticsPrinter.printRawLine:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
10: iconst_0
istore 10
start local 10 11: goto 28
12: StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult java.lang.String java.util.List int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent int
StackMap stack:
aload 2
iload 10
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.alloc.Trace
invokevirtual org.graalvm.compiler.core.common.alloc.Trace.getBlocks:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
astore 11
start local 11 13: dconst_0
dstore 12
start local 12 14: ldc -Infinity
dstore 14
start local 14 15: ldc Infinity
dstore 16
start local 16 16: aload 11
dup
astore 21
arraylength
istore 20
iconst_0
istore 19
goto 25
StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult java.lang.String java.util.List int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] double double double top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
17: aload 21
iload 19
aaload
astore 18
start local 18 18: aload 18
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.probability:()D
dstore 22
start local 22 19: dload 12
dload 22
dadd
dstore 12
20: dload 22
dload 16
dcmpg
ifge 22
21: dload 22
dstore 16
22: StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult java.lang.String java.util.List int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] double double double org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] double
StackMap stack:
dload 22
dload 14
dcmpl
ifle 24
23: dload 22
dstore 14
end local 22 end local 18 24: StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult java.lang.String java.util.List int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] double double double top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
iinc 19 1
StackMap locals:
StackMap stack:
25: iload 19
iload 20
if_icmplt 17
26: iload 10
dload 12
dload 16
dload 14
aload 11
arraylength
invokestatic org.graalvm.compiler.core.common.alloc.TraceStatisticsPrinter.printLine:(IDDDI)V
end local 16 end local 14 end local 12 end local 11 27: iinc 10 1
StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult java.lang.String java.util.List int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent int
StackMap stack:
28: iload 10
iload 3
if_icmplt 12
end local 10 29: aload 9
ifnull 35
aload 9
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 35
StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult java.lang.String java.util.List int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack: java.lang.Throwable
30: astore 7
aload 9
ifnull 31
aload 9
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 9 StackMap locals:
StackMap stack:
31: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
32: astore 8
aload 7
ifnonnull 33
aload 8
astore 7
goto 34
StackMap locals:
StackMap stack:
33: aload 7
aload 8
if_acmpeq 34
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
34: aload 7
athrow
35: StackMap locals:
StackMap stack:
iconst_3
ldc "</traces>"
invokestatic org.graalvm.compiler.debug.Debug.log:(ILjava/lang/String;)V
36: aload 6
ifnull 42
aload 6
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 42
StackMap locals:
StackMap stack: java.lang.Throwable
37: astore 4
aload 6
ifnull 38
aload 6
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 6 StackMap locals:
StackMap stack:
38: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
39: astore 5
aload 4
ifnonnull 40
aload 5
astore 4
goto 41
StackMap locals:
StackMap stack:
40: aload 4
aload 5
if_acmpeq 41
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
41: aload 4
athrow
42: StackMap locals:
StackMap stack:
iconst_3
ldc "</tracestatistics>"
invokestatic org.graalvm.compiler.debug.Debug.log:(ILjava/lang/String;)V
43: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 result Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
0 44 1 compilationUnitName Ljava/lang/String;
1 44 2 traces Ljava/util/List<Lorg/graalvm/compiler/core/common/alloc/Trace;>;
2 44 3 numTraces I
4 38 6 indent0 Lorg/graalvm/compiler/debug/Indent;
9 31 9 indent1 Lorg/graalvm/compiler/debug/Indent;
11 29 10 i I
13 27 11 t [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
14 27 12 total D
15 27 14 max D
16 27 16 min D
18 24 18 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
19 24 22 probability D
Exception table:
from to target type
9 29 30 any
8 32 32 any
4 36 37 any
3 39 39 any
MethodParameters:
Name Flags
result
compilationUnitName
private static void printRawLine(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_3
ldc "%s"
ldc ";"
iconst_5
anewarray java.lang.CharSequence
dup
iconst_0
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
dup
iconst_2
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
dup
iconst_3
aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
dup
iconst_4
aload 4
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokestatic java.lang.String.join:(Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.Debug.log:(ILjava/lang/String;Ljava/lang/Object;)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 tracenr Ljava/lang/Object;
0 2 1 totalTime Ljava/lang/Object;
0 2 2 minProb Ljava/lang/Object;
0 2 3 maxProb Ljava/lang/Object;
0 2 4 numBlocks Ljava/lang/Object;
MethodParameters:
Name Flags
tracenr
totalTime
minProb
maxProb
numBlocks
private static void printLine(int, double, double, double, int);
descriptor: (IDDDI)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 7 0: iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
dload 3
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
dload 5
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
iload 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic org.graalvm.compiler.core.common.alloc.TraceStatisticsPrinter.printRawLine:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
1: return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 tracenr I
0 2 1 totalTime D
0 2 3 minProb D
0 2 5 maxProb D
0 2 7 numBlocks I
MethodParameters:
Name Flags
tracenr
totalTime
minProb
maxProb
numBlocks
}
SourceFile: "TraceStatisticsPrinter.java"
InnerClasses:
public abstract Scope = org.graalvm.compiler.debug.Debug$Scope of org.graalvm.compiler.debug.Debug