public class org.graalvm.compiler.printer.GraphPrinterDumpHandler implements org.graalvm.compiler.debug.DebugDumpHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.printer.GraphPrinterDumpHandler
super_class: java.lang.Object
{
private static final int FAILURE_LIMIT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private final org.graalvm.compiler.printer.GraphPrinterDumpHandler$GraphPrinterSupplier printerSupplier;
descriptor: Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler$GraphPrinterSupplier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected org.graalvm.compiler.printer.GraphPrinter printer;
descriptor: Lorg/graalvm/compiler/printer/GraphPrinter;
flags: (0x0004) ACC_PROTECTED
private java.util.List<java.lang.String> previousInlineContext;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
private int[] dumpIds;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private int failuresCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.Map<org.graalvm.compiler.graph.Graph, java.util.List<java.lang.String>> inlineContextMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Lorg/graalvm/compiler/graph/Graph;Ljava/util/List<Ljava/lang/String;>;>;
private final java.lang.String jvmArguments;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String sunJavaCommand;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.graalvm.compiler.printer.GraphPrinterDumpHandler$GraphPrinterSupplier);
descriptor: (Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler$GraphPrinterSupplier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
newarray 10
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.dumpIds:[I
2: aload 0
aload 1
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printerSupplier:Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler$GraphPrinterSupplier;
3: aload 0
invokestatic org.graalvm.compiler.printer.GraphPrinterDumpHandler.jvmArguments:()Ljava/lang/String;
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.jvmArguments:Ljava/lang/String;
4: aload 0
ldc "sun.java.command"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.sunJavaCommand:Ljava/lang/String;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler;
0 6 1 printerSupplier Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler$GraphPrinterSupplier;
MethodParameters:
Name Flags
printerSupplier
private static java.lang.String jvmArguments();
descriptor: ()Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc " "
invokestatic java.lang.management.ManagementFactory.getRuntimeMXBean:()Ljava/lang/management/RuntimeMXBean;
invokeinterface java.lang.management.RuntimeMXBean.getInputArguments:()Ljava/util/List;
invokestatic java.lang.String.join:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.LinkageError
pop
3: ldc "unknown"
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.LinkageError
private void ensureInitialized(org.graalvm.compiler.debug.DebugContext, org.graalvm.compiler.graph.Graph);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/graph/Graph;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
ifnonnull 10
1: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.failuresCount:I
bipush 8
if_icmplt 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
4: aload 0
new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.inlineContextMap:Ljava/util/Map;
5: aload 2
invokevirtual org.graalvm.compiler.graph.Graph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 3
start local 3 6: aload 0
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printerSupplier:Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler$GraphPrinterSupplier;
aload 1
aload 2
invokeinterface org.graalvm.compiler.printer.GraphPrinterDumpHandler$GraphPrinterSupplier.get:(Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/graph/Graph;)Lorg/graalvm/compiler/printer/GraphPrinter;
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
7: goto 10
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.graph.Graph org.graalvm.compiler.debug.DebugContext
StackMap stack: java.io.IOException
8: astore 4
start local 4 9: aload 0
aload 3
aload 4
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.handleException:(Lorg/graalvm/compiler/debug/DebugContext;Ljava/io/IOException;)V
end local 4 end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler;
0 11 1 ctx Lorg/graalvm/compiler/debug/DebugContext;
0 11 2 graph Lorg/graalvm/compiler/graph/Graph;
6 10 3 debug Lorg/graalvm/compiler/debug/DebugContext;
9 10 4 e Ljava/io/IOException;
Exception table:
from to target type
6 7 8 Class java.io.IOException
MethodParameters:
Name Flags
ctx
graph
private int nextDumpId();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 1
start local 1 1: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.dumpIds:[I
arraylength
iload 1
if_icmpge 3
2: aload 0
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.dumpIds:[I
iload 1
invokestatic java.util.Arrays.copyOf:([II)[I
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.dumpIds:[I
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.dumpIds:[I
iload 1
iconst_1
isub
dup2
iaload
dup_x2
iconst_1
iadd
iastore
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler;
1 4 1 depth I
public void dump(org.graalvm.compiler.debug.DebugContext, java.lang.Object, java.lang.String, java.lang.Object[]);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=7, locals=14, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
astore 5
start local 5 1: aload 2
instanceof org.graalvm.compiler.graph.Graph
ifeq 66
getstatic org.graalvm.compiler.debug.DebugOptions.PrintGraph:Lorg/graalvm/compiler/options/OptionKey;
aload 5
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 66
2: aload 2
checkcast org.graalvm.compiler.graph.Graph
astore 6
start local 6 3: aload 0
aload 1
aload 6
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.ensureInitialized:(Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/graph/Graph;)V
4: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
ifnonnull 6
5: return
6: StackMap locals: org.graalvm.compiler.options.OptionValues org.graalvm.compiler.graph.Graph
StackMap stack:
aload 0
aload 6
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.getInlineContext:(Lorg/graalvm/compiler/graph/Graph;)Ljava/util/List;
astore 7
start local 7 7: aload 7
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
if_acmpeq 40
8: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 8
start local 8 9: aload 8
ldc "graph"
aload 6
invokevirtual org.graalvm.compiler.graph.Graph.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 8
aload 6
invokestatic org.graalvm.compiler.printer.GraphPrinterDumpHandler.addCompilationId:(Ljava/util/Map;Lorg/graalvm/compiler/graph/Graph;)V
11: aload 7
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifeq 16
12: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 9
start local 9 13: aload 0
aload 1
iload 9
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.closeScope:(Lorg/graalvm/compiler/debug/DebugContext;I)V
14: aload 0
aload 1
aload 7
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
iload 9
aload 8
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.openScope:(Lorg/graalvm/compiler/debug/DebugContext;Ljava/lang/String;ILjava/util/Map;)V
end local 9 15: goto 40
16: StackMap locals: java.util.List java.util.Map
StackMap stack:
iconst_0
istore 9
start local 9 17: goto 26
18: StackMap locals: int
StackMap stack:
iload 9
aload 7
invokeinterface java.util.List.size:()I
if_icmpge 19
aload 7
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
19: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 10
start local 10 20: goto 23
21: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 10
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.closeScope:(Lorg/graalvm/compiler/debug/DebugContext;I)V
22: iinc 10 -1
StackMap locals:
StackMap stack:
23: iload 10
iload 9
if_icmpge 21
end local 10 24: goto 27
25: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
26: iload 9
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 18
end local 9 27: StackMap locals:
StackMap stack:
iconst_0
istore 9
start local 9 28: goto 39
29: StackMap locals: int
StackMap stack:
iload 9
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 30
aload 7
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
30: StackMap locals:
StackMap stack:
iload 9
istore 10
start local 10 31: goto 36
32: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 7
iload 10
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
iload 10
iload 10
aload 7
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmpne 33
aload 8
goto 34
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.debug.DebugContext java.lang.Object java.lang.String java.lang.Object[] org.graalvm.compiler.options.OptionValues org.graalvm.compiler.graph.Graph java.util.List java.util.Map int int
StackMap stack: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.debug.DebugContext java.lang.String int
33: aconst_null
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.debug.DebugContext java.lang.Object java.lang.String java.lang.Object[] org.graalvm.compiler.options.OptionValues org.graalvm.compiler.graph.Graph java.util.List java.util.Map int int
StackMap stack: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.debug.DebugContext java.lang.String int java.util.Map
34: invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.openScope:(Lorg/graalvm/compiler/debug/DebugContext;Ljava/lang/String;ILjava/util/Map;)V
35: iinc 10 1
StackMap locals:
StackMap stack:
36: iload 10
aload 7
invokeinterface java.util.List.size:()I
if_icmplt 32
end local 10 37: goto 40
38: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
39: iload 9
aload 7
invokeinterface java.util.List.size:()I
if_icmplt 29
end local 9 end local 8 40: StackMap locals:
StackMap stack:
aload 0
aload 7
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
41: aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.getCurrentScopeName:()Ljava/lang/String;
astore 8
start local 8 42: aconst_null
astore 9
aconst_null
astore 10
43: aload 1
ldc "PrintingGraph"
aconst_null
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.compiler.debug.DebugContext.sandbox:(Ljava/lang/CharSequence;Lorg/graalvm/compiler/debug/DebugConfig;[Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 11
start local 11 44: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 12
start local 12 45: aload 12
ldc "graph"
aload 6
invokevirtual org.graalvm.compiler.graph.Graph.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
46: aload 12
ldc "scope"
aload 8
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
47: aload 6
instanceof org.graalvm.compiler.nodes.StructuredGraph
ifeq 54
48: aload 12
ldc "compilationIdentifier"
aload 6
checkcast org.graalvm.compiler.nodes.StructuredGraph
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.compilationId:()Lorg/graalvm/compiler/core/common/CompilationIdentifier;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
49: aload 6
checkcast org.graalvm.compiler.nodes.StructuredGraph
invokestatic org.graalvm.compiler.phases.contract.NodeCostUtil.computeGraphSize:(Lorg/graalvm/compiler/nodes/StructuredGraph;)I
istore 13
start local 13 50: aload 12
ldc "node-cost graph size"
iload 13
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 51: goto 54
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.debug.DebugContext java.lang.Object java.lang.String java.lang.Object[] org.graalvm.compiler.options.OptionValues org.graalvm.compiler.graph.Graph java.util.List java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope java.util.Map
StackMap stack: java.lang.Throwable
52: astore 13
start local 13 53: aload 12
ldc "node-cost-exception"
aload 13
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 54: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
aload 1
aload 6
aload 12
aload 0
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.nextDumpId:()I
aload 3
aload 4
invokeinterface org.graalvm.compiler.printer.GraphPrinter.print:(Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/graph/Graph;Ljava/util/Map;ILjava/lang/String;[Ljava/lang/Object;)V
end local 12 55: aload 11
ifnull 66
aload 11
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 66
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.debug.DebugContext java.lang.Object java.lang.String java.lang.Object[] org.graalvm.compiler.options.OptionValues org.graalvm.compiler.graph.Graph java.util.List java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
56: astore 9
aload 11
ifnull 57
aload 11
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 11 StackMap locals:
StackMap stack:
57: aload 9
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
58: astore 10
aload 9
ifnonnull 59
aload 10
astore 9
goto 60
StackMap locals:
StackMap stack:
59: aload 9
aload 10
if_acmpeq 60
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
60: aload 9
athrow
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.debug.DebugContext java.lang.Object java.lang.String java.lang.Object[] org.graalvm.compiler.options.OptionValues org.graalvm.compiler.graph.Graph java.util.List java.lang.String
StackMap stack: java.io.IOException
61: astore 9
start local 9 62: aload 0
aload 1
aload 9
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.handleException:(Lorg/graalvm/compiler/debug/DebugContext;Ljava/io/IOException;)V
end local 9 63: goto 66
64: StackMap locals:
StackMap stack: java.lang.Throwable
astore 9
start local 9 65: aload 1
aload 9
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 9 end local 8 end local 7 end local 6 66: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 67 0 this Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler;
0 67 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 67 2 object Ljava/lang/Object;
0 67 3 format Ljava/lang/String;
0 67 4 arguments [Ljava/lang/Object;
1 67 5 options Lorg/graalvm/compiler/options/OptionValues;
3 66 6 graph Lorg/graalvm/compiler/graph/Graph;
7 66 7 inlineContext Ljava/util/List<Ljava/lang/String;>;
9 40 8 properties Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
13 15 9 inlineDepth I
17 27 9 i I
20 24 10 inlineDepth I
28 40 9 i I
31 37 10 inlineDepth I
42 66 8 currentScopeName Ljava/lang/String;
44 57 11 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
45 55 12 properties Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
50 51 13 size I
53 54 13 t Ljava/lang/Throwable;
62 63 9 e Ljava/io/IOException;
65 66 9 e Ljava/lang/Throwable;
Exception table:
from to target type
49 51 52 Class java.lang.Throwable
44 55 56 any
43 58 58 any
42 61 61 Class java.io.IOException
42 61 64 Class java.lang.Throwable
MethodParameters:
Name Flags
debug
object
format final
arguments
void handleException(org.graalvm.compiler.debug.DebugContext, java.io.IOException);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Ljava/io/IOException;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 2
getstatic org.graalvm.compiler.debug.DebugOptions.DumpingErrorsAreFatal:Lorg/graalvm/compiler/options/OptionKey;
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 2
1: new org.graalvm.compiler.debug.GraalError
dup
aload 2
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/Throwable;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
instanceof java.nio.channels.ClosedByInterruptException
ifeq 5
3: aload 0
iconst_0
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.failuresCount:I
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.failuresCount:I
iconst_1
iadd
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.failuresCount:I
6: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
7: aload 2
getstatic org.graalvm.compiler.debug.TTY.out:Ljava/io/PrintStream;
invokevirtual java.io.IOException.printStackTrace:(Ljava/io/PrintStream;)V
8: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.failuresCount:I
bipush 8
if_icmple 10
9: new java.lang.StringBuilder
dup
ldc "Too many failures with dumping. Disabling dump in thread "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler;
0 11 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 11 2 e Ljava/io/IOException;
MethodParameters:
Name Flags
debug
e
private static void addCompilationId(java.util.Map<java.lang.Object, java.lang.Object>, org.graalvm.compiler.graph.Graph);
descriptor: (Ljava/util/Map;Lorg/graalvm/compiler/graph/Graph;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.graalvm.compiler.nodes.StructuredGraph
ifeq 2
1: aload 0
ldc "compilationId"
aload 1
checkcast org.graalvm.compiler.nodes.StructuredGraph
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.compilationId:()Lorg/graalvm/compiler/core/common/CompilationIdentifier;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 properties Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
0 3 1 graph Lorg/graalvm/compiler/graph/Graph;
Signature: (Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;Lorg/graalvm/compiler/graph/Graph;)V
MethodParameters:
Name Flags
properties
graph final
private java.util.List<java.lang.String> getInlineContext(org.graalvm.compiler.graph.Graph);
descriptor: (Lorg/graalvm/compiler/graph/Graph;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.inlineContextMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 1: aload 2
ifnonnull 31
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
3: aconst_null
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: aload 1
invokevirtual org.graalvm.compiler.graph.Graph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 5
start local 5 6: aload 5
invokevirtual org.graalvm.compiler.debug.DebugContext.context:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 20
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.graph.Graph java.util.List java.lang.Object int org.graalvm.compiler.debug.DebugContext top java.util.Iterator
StackMap stack:
7: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 6
start local 6 8: aload 6
aload 1
if_acmpne 10
9: iconst_1
istore 4
10: StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.graph.Graph java.util.List java.lang.Object int org.graalvm.compiler.debug.DebugContext java.lang.Object java.util.Iterator
StackMap stack:
aload 6
instanceof org.graalvm.compiler.debug.DebugDumpScope
ifeq 17
11: aload 6
checkcast org.graalvm.compiler.debug.DebugDumpScope
astore 8
start local 8 12: aload 8
getfield org.graalvm.compiler.debug.DebugDumpScope.decorator:Z
ifeq 15
aload 2
invokeinterface java.util.List.isEmpty:()Z
ifne 15
13: aload 2
aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
new java.lang.StringBuilder
dup
aload 8
getfield org.graalvm.compiler.debug.DebugDumpScope.name: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 2
aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
14: goto 18
15: StackMap locals: org.graalvm.compiler.debug.DebugDumpScope
StackMap stack:
aload 2
aload 8
getfield org.graalvm.compiler.debug.DebugDumpScope.name:Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 16: goto 18
17: StackMap locals:
StackMap stack:
aload 2
aload 6
aload 3
invokestatic org.graalvm.compiler.printer.GraphPrinterDumpHandler.addMethodContext:(Ljava/util/List;Ljava/lang/Object;Ljava/lang/Object;)V
18: StackMap locals:
StackMap stack:
aload 6
instanceof jdk.vm.ci.meta.JavaMethod
ifne 19
aload 6
instanceof org.graalvm.compiler.graph.Graph
ifeq 20
19: StackMap locals:
StackMap stack:
aload 6
astore 3
end local 6 20: StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.graph.Graph java.util.List java.lang.Object int org.graalvm.compiler.debug.DebugContext top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
21: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 24
22: aload 2
aload 1
invokevirtual org.graalvm.compiler.graph.Graph.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: iconst_1
istore 4
24: StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.graph.Graph java.util.List java.lang.Object int org.graalvm.compiler.debug.DebugContext
StackMap stack:
aload 2
invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
25: iload 4
ifne 30
26: aload 1
invokestatic org.graalvm.compiler.debug.DebugConfig.asJavaMethod:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaMethod;
ifnull 29
27: aload 2
aload 1
aload 3
invokestatic org.graalvm.compiler.printer.GraphPrinterDumpHandler.addMethodContext:(Ljava/util/List;Ljava/lang/Object;Ljava/lang/Object;)V
28: goto 30
29: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual org.graalvm.compiler.graph.Graph.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
30: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.inlineContextMap:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 end local 3 31: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler;
0 32 1 graph Lorg/graalvm/compiler/graph/Graph;
1 32 2 result Ljava/util/List<Ljava/lang/String;>;
4 31 3 lastMethodOrGraph Ljava/lang/Object;
5 31 4 graphSeen Z
6 31 5 debug Lorg/graalvm/compiler/debug/DebugContext;
8 20 6 o Ljava/lang/Object;
12 16 8 debugDumpScope Lorg/graalvm/compiler/debug/DebugDumpScope;
Signature: (Lorg/graalvm/compiler/graph/Graph;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
graph
private static void addMethodContext(java.util.List<java.lang.String>, , );
descriptor: (Ljava/util/List;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.graalvm.compiler.debug.DebugConfig.asJavaMethod:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaMethod;
astore 3
start local 3 1: aload 3
ifnull 5
2: aload 2
ifnull 4
aload 2
invokestatic org.graalvm.compiler.debug.DebugConfig.asJavaMethod:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaMethod;
ifnull 4
aload 2
invokestatic org.graalvm.compiler.debug.DebugConfig.asJavaMethod:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaMethod;
aload 3
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
aload 1
if_acmpeq 5
aload 2
instanceof org.graalvm.compiler.graph.Graph
ifeq 5
aload 1
instanceof org.graalvm.compiler.graph.Graph
ifeq 5
4: StackMap locals: jdk.vm.ci.meta.JavaMethod
StackMap stack:
aload 0
aload 3
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.JavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 result Ljava/util/List<Ljava/lang/String;>;
0 6 1 o Ljava/lang/Object;
0 6 2 lastMethodOrGraph Ljava/lang/Object;
1 6 3 method Ljdk/vm/ci/meta/JavaMethod;
Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/lang/Object;Ljava/lang/Object;)V
MethodParameters:
Name Flags
result
o
lastMethodOrGraph
private void openScope(org.graalvm.compiler.debug.DebugContext, java.lang.String, int, java.util.Map<java.lang.Object, java.lang.Object>);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Ljava/lang/String;ILjava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
astore 5
start local 5 1: iload 3
ifne 8
2: aload 5
ifnonnull 4
3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
4: StackMap locals: java.util.Map
StackMap stack:
aload 5
ldc "jvmArguments"
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.jvmArguments:Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.sunJavaCommand:Ljava/lang/String;
ifnull 7
6: aload 5
ldc "sun.java.command"
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.sunJavaCommand:Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
aload 5
ldc "date"
new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
invokevirtual java.util.Date.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
aload 1
aload 2
aload 2
aload 1
ldc Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokevirtual org.graalvm.compiler.debug.DebugContext.contextLookup:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast jdk.vm.ci.meta.ResolvedJavaMethod
iconst_m1
aload 5
invokeinterface org.graalvm.compiler.printer.GraphPrinter.beginGroup:(Lorg/graalvm/compiler/debug/DebugContext;Ljava/lang/String;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILjava/util/Map;)V
end local 5 9: goto 12
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.debug.DebugContext java.lang.String int java.util.Map
StackMap stack: java.io.IOException
10: astore 5
start local 5 11: aload 0
aload 1
aload 5
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.handleException:(Lorg/graalvm/compiler/debug/DebugContext;Ljava/io/IOException;)V
end local 5 12: StackMap locals:
StackMap stack:
return
end local 4 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/printer/GraphPrinterDumpHandler;
0 13 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 13 2 name Ljava/lang/String;
0 13 3 inlineDepth I
0 13 4 properties Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
1 9 5 props Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
11 12 5 e Ljava/io/IOException;
Exception table:
from to target type
0 9 10 Class java.io.IOException
Signature: (Lorg/graalvm/compiler/debug/DebugContext;Ljava/lang/String;ILjava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
debug
name
inlineDepth
properties
private void closeScope(org.graalvm.compiler.debug.DebugContext, int);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.dumpIds:[I
iload 2
iconst_0
iastore
1: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
ifnull 6
2: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
invokeinterface org.graalvm.compiler.printer.GraphPrinter.endGroup:()V
3: goto 6
StackMap locals:
StackMap stack: java.io.IOException
4: astore 3
start local 3 5: aload 0
aload 1
aload 3
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.handleException:(Lorg/graalvm/compiler/debug/DebugContext;Ljava/io/IOException;)V
end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler;
0 7 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 7 2 inlineDepth I
5 6 3 e Ljava/io/IOException;
Exception table:
from to target type
1 3 4 Class java.io.IOException
MethodParameters:
Name Flags
debug
inlineDepth
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
ifnull 6
1: iconst_0
istore 1
start local 1 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
aconst_null
iload 1
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.closeScope:(Lorg/graalvm/compiler/debug/DebugContext;I)V
4: iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 3
end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
ifnull 9
7: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
invokeinterface org.graalvm.compiler.printer.GraphPrinter.close:()V
8: aload 0
aconst_null
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler;
2 6 1 inlineDepth I
}
SourceFile: "GraphPrinterDumpHandler.java"
NestMembers:
org.graalvm.compiler.printer.GraphPrinterDumpHandler$GraphPrinterSupplier
InnerClasses:
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public abstract GraphPrinterSupplier = org.graalvm.compiler.printer.GraphPrinterDumpHandler$GraphPrinterSupplier of org.graalvm.compiler.printer.GraphPrinterDumpHandler