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 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=3, 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
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;
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 void ensureInitialized();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 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_icmple 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 0
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printerSupplier:Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler$GraphPrinterSupplier;
invokeinterface org.graalvm.compiler.printer.GraphPrinterDumpHandler$GraphPrinterSupplier.get:()Lorg/graalvm/compiler/printer/GraphPrinter;
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
6: goto 10
StackMap locals:
StackMap stack: java.io.IOException
7: astore 1
start local 1 8: aload 1
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
9: aload 0
dup
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.failuresCount:I
iconst_1
iadd
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.failuresCount:I
end local 1 10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler;
8 10 1 e Ljava/io/IOException;
Exception table:
from to target type
5 6 7 Class java.io.IOException
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(java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.graalvm.compiler.graph.Graph
ifeq 59
getstatic org.graalvm.compiler.debug.GraalDebugConfig$Options.PrintIdealGraph:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 59
1: aload 0
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.ensureInitialized:()V
2: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
ifnonnull 4
3: return
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.graalvm.compiler.graph.Graph
astore 3
start local 3 5: aload 0
aload 3
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.getInlineContext:(Lorg/graalvm/compiler/graph/Graph;)Ljava/util/List;
astore 4
start local 4 6: aload 4
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
if_acmpeq 40
7: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 8: aload 5
ldc "graph"
aload 3
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
9: aload 5
aload 3
invokestatic org.graalvm.compiler.printer.GraphPrinterDumpHandler.addCompilationId:(Ljava/util/Map;Lorg/graalvm/compiler/graph/Graph;)V
10: aload 5
invokestatic org.graalvm.compiler.printer.GraphPrinterDumpHandler.addCFGFileName:(Ljava/util/Map;)V
11: aload 4
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 6
start local 6 13: aload 0
iload 6
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.closeScope:(I)V
14: aload 0
aload 4
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
iload 6
aload 5
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.openScope:(Ljava/lang/String;ILjava/util/Map;)V
end local 6 15: goto 40
16: StackMap locals: org.graalvm.compiler.graph.Graph java.util.List java.util.Map
StackMap stack:
iconst_0
istore 6
start local 6 17: goto 26
18: StackMap locals: int
StackMap stack:
iload 6
aload 4
invokeinterface java.util.List.size:()I
if_icmpge 19
aload 4
iload 6
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 6
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 7
start local 7 20: goto 23
21: StackMap locals: int
StackMap stack:
aload 0
iload 7
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.closeScope:(I)V
22: iinc 7 -1
StackMap locals:
StackMap stack:
23: iload 7
iload 6
if_icmpge 21
end local 7 24: goto 27
25: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
26: iload 6
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 18
end local 6 27: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 28: goto 39
29: StackMap locals: int
StackMap stack:
iload 6
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 30
aload 4
iload 6
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 6
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 6
istore 7
start local 7 31: goto 36
32: StackMap locals: int
StackMap stack:
aload 0
aload 4
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
iload 7
iload 7
aload 4
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmpne 33
aload 5
goto 34
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler java.lang.Object java.lang.String org.graalvm.compiler.graph.Graph java.util.List java.util.Map int int
StackMap stack: org.graalvm.compiler.printer.GraphPrinterDumpHandler java.lang.String int
33: aconst_null
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler java.lang.Object java.lang.String org.graalvm.compiler.graph.Graph java.util.List java.util.Map int int
StackMap stack: org.graalvm.compiler.printer.GraphPrinterDumpHandler java.lang.String int java.util.Map
34: invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.openScope:(Ljava/lang/String;ILjava/util/Map;)V
35: iinc 7 1
StackMap locals:
StackMap stack:
36: iload 7
aload 4
invokeinterface java.util.List.size:()I
if_icmplt 32
end local 7 37: goto 40
38: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
39: iload 6
aload 4
invokeinterface java.util.List.size:()I
if_icmplt 29
end local 6 end local 5 40: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.previousInlineContext:Ljava/util/List;
41: aconst_null
astore 5
aconst_null
astore 6
42: ldc "PrintingGraph"
aconst_null
iconst_0
anewarray java.lang.Object
invokestatic org.graalvm.compiler.debug.Debug.sandbox:(Ljava/lang/CharSequence;Lorg/graalvm/compiler/debug/DebugConfig;[Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Debug$Scope;
astore 7
start local 7 43: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 8
start local 8 44: aload 8
ldc "graph"
aload 3
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
45: aload 8
ldc "scope"
invokestatic org.graalvm.compiler.debug.Debug.currentScope:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
46: aload 8
invokestatic org.graalvm.compiler.printer.GraphPrinterDumpHandler.addCFGFileName:(Ljava/util/Map;)V
47: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
aload 3
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.nextDumpId:()I
invokestatic java.lang.String.valueOf:(I)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
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 8
invokeinterface org.graalvm.compiler.printer.GraphPrinter.print:(Lorg/graalvm/compiler/graph/Graph;Ljava/lang/String;Ljava/util/Map;)V
end local 8 48: aload 7
ifnull 59
aload 7
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
goto 59
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler java.lang.Object java.lang.String org.graalvm.compiler.graph.Graph java.util.List java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$Scope
StackMap stack: java.lang.Throwable
49: astore 5
aload 7
ifnull 50
aload 7
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
end local 7 StackMap locals:
StackMap stack:
50: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
51: astore 6
aload 5
ifnonnull 52
aload 6
astore 5
goto 53
StackMap locals:
StackMap stack:
52: aload 5
aload 6
if_acmpeq 53
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
53: aload 5
athrow
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler java.lang.Object java.lang.String org.graalvm.compiler.graph.Graph java.util.List
StackMap stack: java.io.IOException
54: pop
55: aload 0
dup
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.failuresCount:I
iconst_1
iadd
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.failuresCount:I
56: aload 0
aconst_null
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
goto 59
57: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 58: aload 5
invokestatic org.graalvm.compiler.debug.Debug.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 5 end local 4 end local 3 59: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 60 0 this Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler;
0 60 1 object Ljava/lang/Object;
0 60 2 message Ljava/lang/String;
5 59 3 graph Lorg/graalvm/compiler/graph/Graph;
6 59 4 inlineContext Ljava/util/List<Ljava/lang/String;>;
8 40 5 properties Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
13 15 6 inlineDepth I
17 27 6 i I
20 24 7 inlineDepth I
28 40 6 i I
31 37 7 inlineDepth I
43 50 7 s Lorg/graalvm/compiler/debug/Debug$Scope;
44 48 8 properties Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
58 59 5 e Ljava/lang/Throwable;
Exception table:
from to target type
43 48 49 any
42 51 51 any
41 54 54 Class java.io.IOException
41 54 57 Class java.lang.Throwable
MethodParameters:
Name Flags
object
message final
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 static void addCFGFileName(java.util.Map<java.lang.Object, java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.debug.GraalDebugConfig$Options.PrintCFG:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 1
getstatic org.graalvm.compiler.debug.GraalDebugConfig$Options.PrintBackendCFG:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
ldc "PrintCFGFileName"
invokestatic org.graalvm.compiler.printer.CFGPrinterObserver.getCFGPath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 properties Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
Signature: (Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
properties
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=8, 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 30
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: invokestatic org.graalvm.compiler.debug.Debug.context:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 19
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.graph.Graph java.util.List java.lang.Object int top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 5
start local 5 7: aload 5
aload 1
if_acmpne 9
8: iconst_1
istore 4
9: StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.graph.Graph java.util.List java.lang.Object int java.lang.Object java.util.Iterator
StackMap stack:
aload 5
instanceof org.graalvm.compiler.debug.DebugDumpScope
ifeq 16
10: aload 5
checkcast org.graalvm.compiler.debug.DebugDumpScope
astore 7
start local 7 11: aload 7
getfield org.graalvm.compiler.debug.DebugDumpScope.decorator:Z
ifeq 14
aload 2
invokeinterface java.util.List.isEmpty:()Z
ifne 14
12: aload 2
aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
new java.lang.StringBuilder
dup
aload 7
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
13: goto 17
14: StackMap locals: org.graalvm.compiler.debug.DebugDumpScope
StackMap stack:
aload 2
aload 7
getfield org.graalvm.compiler.debug.DebugDumpScope.name:Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 15: goto 17
16: StackMap locals:
StackMap stack:
aload 2
aload 5
aload 3
invokestatic org.graalvm.compiler.printer.GraphPrinterDumpHandler.addMethodContext:(Ljava/util/List;Ljava/lang/Object;Ljava/lang/Object;)V
17: StackMap locals:
StackMap stack:
aload 5
instanceof jdk.vm.ci.meta.JavaMethod
ifne 18
aload 5
instanceof org.graalvm.compiler.graph.Graph
ifeq 19
18: StackMap locals:
StackMap stack:
aload 5
astore 3
end local 5 19: StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.graph.Graph java.util.List java.lang.Object int top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
20: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 23
21: aload 2
aload 1
invokevirtual org.graalvm.compiler.graph.Graph.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: iconst_1
istore 4
23: StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler org.graalvm.compiler.graph.Graph java.util.List java.lang.Object int
StackMap stack:
aload 2
invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
24: iload 4
ifne 29
25: aload 1
invokestatic org.graalvm.compiler.debug.GraalDebugConfig.asJavaMethod:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaMethod;
ifnull 28
26: aload 2
aload 1
aload 3
invokestatic org.graalvm.compiler.printer.GraphPrinterDumpHandler.addMethodContext:(Ljava/util/List;Ljava/lang/Object;Ljava/lang/Object;)V
27: goto 29
28: 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
29: 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 4 end local 3 30: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler;
0 31 1 graph Lorg/graalvm/compiler/graph/Graph;
1 31 2 result Ljava/util/List<Ljava/lang/String;>;
4 30 3 lastMethodOrGraph Ljava/lang/Object;
5 30 4 graphSeen Z
7 19 5 o Ljava/lang/Object;
11 15 7 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.GraalDebugConfig.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.GraalDebugConfig.asJavaMethod:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaMethod;
ifnull 4
aload 2
invokestatic org.graalvm.compiler.debug.GraalDebugConfig.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(java.lang.String, int, java.util.Map<java.lang.Object, java.lang.Object>);
descriptor: (Ljava/lang/String;ILjava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
ifne 1
new java.lang.StringBuilder
dup
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getName:()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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: ldc ""
StackMap locals:
StackMap stack: java.lang.String
2: astore 4
start local 4 3: aload 3
astore 5
start local 5 4: iload 2
ifne 11
5: aload 5
ifnonnull 7
6: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
7: StackMap locals: java.lang.String 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
8: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.sunJavaCommand:Ljava/lang/String;
ifnull 10
9: 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
10: 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
11: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
ldc Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokestatic org.graalvm.compiler.debug.Debug.contextLookup:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast jdk.vm.ci.meta.ResolvedJavaMethod
iconst_m1
aload 5
invokeinterface org.graalvm.compiler.printer.GraphPrinter.beginGroup:(Ljava/lang/String;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;ILjava/util/Map;)V
end local 5 12: goto 16
StackMap locals: org.graalvm.compiler.printer.GraphPrinterDumpHandler java.lang.String int java.util.Map java.lang.String
StackMap stack: java.io.IOException
13: pop
14: aload 0
dup
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.failuresCount:I
iconst_1
iadd
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.failuresCount:I
15: aload 0
aconst_null
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
16: 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 17 0 this Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler;
0 17 1 name Ljava/lang/String;
0 17 2 inlineDepth I
0 17 3 properties Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
3 17 4 prefix Ljava/lang/String;
4 12 5 props Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
Exception table:
from to target type
3 12 13 Class java.io.IOException
Signature: (Ljava/lang/String;ILjava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
name
inlineDepth
properties
private void closeScope(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.dumpIds:[I
iload 1
iconst_0
iastore
1: aload 0
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
invokeinterface org.graalvm.compiler.printer.GraphPrinter.endGroup:()V
2: goto 6
StackMap locals:
StackMap stack: java.io.IOException
3: pop
4: aload 0
dup
getfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.failuresCount:I
iconst_1
iadd
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.failuresCount:I
5: aload 0
aconst_null
putfield org.graalvm.compiler.printer.GraphPrinterDumpHandler.printer:Lorg/graalvm/compiler/printer/GraphPrinter;
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/printer/GraphPrinterDumpHandler;
0 7 1 inlineDepth I
Exception table:
from to target type
1 2 3 Class java.io.IOException
MethodParameters:
Name Flags
inlineDepth
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
iload 1
invokevirtual org.graalvm.compiler.printer.GraphPrinterDumpHandler.closeScope:(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.Debug$Scope of org.graalvm.compiler.debug.Debug
public Options = org.graalvm.compiler.debug.GraalDebugConfig$Options of org.graalvm.compiler.debug.GraalDebugConfig
public abstract GraphPrinterSupplier = org.graalvm.compiler.printer.GraphPrinterDumpHandler$GraphPrinterSupplier of org.graalvm.compiler.printer.GraphPrinterDumpHandler