public class org.graalvm.compiler.printer.CompilationPrinter implements java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.printer.CompilationPrinter
super_class: java.lang.Object
{
public static final java.lang.String COLUMN_END;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: " <|@"
public static final java.lang.String HOVER_START;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "<@"
public static final java.lang.String HOVER_SEP;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "|@"
public static final java.lang.String HOVER_END;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: ">@"
private static java.io.OutputStream globalOut;
descriptor: Ljava/io/OutputStream;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected final org.graalvm.compiler.debug.LogStream out;
descriptor: Lorg/graalvm/compiler/debug/LogStream;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public static synchronized java.io.OutputStream globalOut();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=1, args_size=0
0: getstatic org.graalvm.compiler.printer.CompilationPrinter.globalOut:Ljava/io/OutputStream;
ifnonnull 6
1: new java.io.File
dup
new java.lang.StringBuilder
dup
ldc "compilations-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic java.lang.System.currentTimeMillis:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ".cfg"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 0
start local 0 2: new java.io.FileOutputStream
dup
aload 0
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
putstatic org.graalvm.compiler.printer.CompilationPrinter.globalOut:Ljava/io/OutputStream;
3: goto 6
StackMap locals: java.io.File
StackMap stack: java.io.FileNotFoundException
4: pop
5: new java.lang.StringBuilder
dup
ldc "WARNING: Could not open "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
end local 0 6: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.printer.CompilationPrinter.globalOut:Ljava/io/OutputStream;
areturn
LocalVariableTable:
Start End Slot Name Signature
2 6 0 file Ljava/io/File;
Exception table:
from to target type
2 3 4 Class java.io.FileNotFoundException
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.graalvm.compiler.debug.LogStream
dup
aload 1
invokespecial org.graalvm.compiler.debug.LogStream.<init>:(Ljava/io/OutputStream;)V
putfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/printer/CompilationPrinter;
0 3 1 os Ljava/io/OutputStream;
MethodParameters:
Name Flags
os
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
invokevirtual org.graalvm.compiler.debug.LogStream.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/printer/CompilationPrinter;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
invokevirtual org.graalvm.compiler.debug.LogStream.out:()Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/printer/CompilationPrinter;
protected void begin(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
new java.lang.StringBuilder
dup
ldc "begin_"
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;
invokevirtual org.graalvm.compiler.debug.LogStream.println:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
pop
1: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
iconst_2
invokevirtual org.graalvm.compiler.debug.LogStream.adjustIndentation:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/printer/CompilationPrinter;
0 3 1 string Ljava/lang/String;
MethodParameters:
Name Flags
string
protected void end(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
bipush -2
invokevirtual org.graalvm.compiler.debug.LogStream.adjustIndentation:(I)V
1: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
new java.lang.StringBuilder
dup
ldc "end_"
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;
invokevirtual org.graalvm.compiler.debug.LogStream.println:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/printer/CompilationPrinter;
0 3 1 string Ljava/lang/String;
MethodParameters:
Name Flags
string
public void printCompilation(jdk.vm.ci.meta.JavaMethod);
descriptor: (Ljdk/vm/ci/meta/JavaMethod;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "compilation"
invokevirtual org.graalvm.compiler.printer.CompilationPrinter.begin:(Ljava/lang/String;)V
1: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
ldc "name \" "
invokevirtual org.graalvm.compiler.debug.LogStream.print:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
aload 1
ldc "%H::%n"
invokeinterface jdk.vm.ci.meta.JavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.graalvm.compiler.debug.LogStream.print:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
bipush 34
invokevirtual org.graalvm.compiler.debug.LogStream.println:(C)Lorg/graalvm/compiler/debug/LogStream;
pop
2: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
ldc "method \""
invokevirtual org.graalvm.compiler.debug.LogStream.print:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
aload 1
ldc "%f %r %H.%n(%p)"
invokeinterface jdk.vm.ci.meta.JavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.graalvm.compiler.debug.LogStream.print:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
bipush 34
invokevirtual org.graalvm.compiler.debug.LogStream.println:(C)Lorg/graalvm/compiler/debug/LogStream;
pop
3: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
ldc "date "
invokevirtual org.graalvm.compiler.debug.LogStream.print:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
invokestatic java.lang.System.currentTimeMillis:()J
invokevirtual org.graalvm.compiler.debug.LogStream.println:(J)Lorg/graalvm/compiler/debug/LogStream;
pop
4: aload 0
ldc "compilation"
invokevirtual org.graalvm.compiler.printer.CompilationPrinter.end:(Ljava/lang/String;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/printer/CompilationPrinter;
0 6 1 method Ljdk/vm/ci/meta/JavaMethod;
MethodParameters:
Name Flags
method
protected java.lang.String debugInfoToString(jdk.vm.ci.code.BytecodePosition, jdk.vm.ci.code.ReferenceMap, org.graalvm.compiler.lir.util.IndexedValueMap, jdk.vm.ci.code.RegisterSaveLayout);
descriptor: (Ljdk/vm/ci/code/BytecodePosition;Ljdk/vm/ci/code/ReferenceMap;Lorg/graalvm/compiler/lir/util/IndexedValueMap;Ljdk/vm/ci/code/RegisterSaveLayout;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 1: aload 2
ifnull 5
2: aload 5
ldc "reference-map: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 5
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 5
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 3
ifnull 9
6: aload 5
ldc "live-base-pointers: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 5
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
8: aload 5
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 4
ifnull 16
10: aload 5
ldc "callee-save-info:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 4
iconst_1
invokevirtual jdk.vm.ci.code.RegisterSaveLayout.registersToSlots:(Z)Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 14
StackMap locals: org.graalvm.compiler.printer.CompilationPrinter jdk.vm.ci.code.BytecodePosition jdk.vm.ci.code.ReferenceMap org.graalvm.compiler.lir.util.IndexedValueMap jdk.vm.ci.code.RegisterSaveLayout java.lang.StringBuilder top java.util.Iterator
StackMap stack:
12: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 13: aload 5
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " -> s"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 14: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: aload 5
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: StackMap locals: org.graalvm.compiler.printer.CompilationPrinter jdk.vm.ci.code.BytecodePosition jdk.vm.ci.code.ReferenceMap org.graalvm.compiler.lir.util.IndexedValueMap jdk.vm.ci.code.RegisterSaveLayout java.lang.StringBuilder
StackMap stack:
aload 1
ifnull 60
17: aload 1
astore 6
start local 6 18: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 19: StackMap locals: jdk.vm.ci.code.BytecodePosition java.util.List
StackMap stack:
aload 5
aload 6
invokevirtual jdk.vm.ci.code.BytecodePosition.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 6
invokevirtual jdk.vm.ci.code.BytecodePosition.getBCI:()I
invokestatic jdk.vm.ci.meta.MetaUtil.toLocation:(Ljdk/vm/ci/meta/ResolvedJavaMethod;I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: aload 5
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
21: aload 6
instanceof jdk.vm.ci.code.BytecodeFrame
ifeq 46
22: aload 6
checkcast jdk.vm.ci.code.BytecodeFrame
astore 8
start local 8 23: aload 8
getfield jdk.vm.ci.code.BytecodeFrame.numStack:I
ifle 31
24: aload 5
ldc "stack: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
25: iconst_0
istore 9
start local 9 26: goto 29
27: StackMap locals: jdk.vm.ci.code.BytecodeFrame int
StackMap stack:
aload 5
aload 0
aload 8
iload 9
invokevirtual jdk.vm.ci.code.BytecodeFrame.getStackValue:(I)Ljdk/vm/ci/meta/JavaValue;
aload 7
invokevirtual org.graalvm.compiler.printer.CompilationPrinter.valueToString:(Ljdk/vm/ci/meta/JavaValue;Ljava/util/List;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
28: iinc 9 1
StackMap locals:
StackMap stack:
29: iload 9
aload 8
getfield jdk.vm.ci.code.BytecodeFrame.numStack:I
if_icmplt 27
end local 9 30: aload 5
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
31: StackMap locals:
StackMap stack:
aload 5
ldc "locals: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
32: iconst_0
istore 9
start local 9 33: goto 36
34: StackMap locals: int
StackMap stack:
aload 5
aload 0
aload 8
iload 9
invokevirtual jdk.vm.ci.code.BytecodeFrame.getLocalValue:(I)Ljdk/vm/ci/meta/JavaValue;
aload 7
invokevirtual org.graalvm.compiler.printer.CompilationPrinter.valueToString:(Ljdk/vm/ci/meta/JavaValue;Ljava/util/List;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
35: iinc 9 1
StackMap locals:
StackMap stack:
36: iload 9
aload 8
getfield jdk.vm.ci.code.BytecodeFrame.numLocals:I
if_icmplt 34
end local 9 37: aload 5
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
38: aload 8
getfield jdk.vm.ci.code.BytecodeFrame.numLocks:I
ifle 46
39: aload 5
ldc "locks: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
40: iconst_0
istore 9
start local 9 41: goto 44
42: StackMap locals:
StackMap stack:
aload 5
aload 0
aload 8
iload 9
invokevirtual jdk.vm.ci.code.BytecodeFrame.getLockValue:(I)Ljdk/vm/ci/meta/JavaValue;
aload 7
invokevirtual org.graalvm.compiler.printer.CompilationPrinter.valueToString:(Ljdk/vm/ci/meta/JavaValue;Ljava/util/List;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
43: iinc 9 1
StackMap locals:
StackMap stack:
44: iload 9
aload 8
getfield jdk.vm.ci.code.BytecodeFrame.numLocks:I
if_icmplt 42
end local 9 45: aload 5
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 46: StackMap locals:
StackMap stack:
aload 6
invokevirtual jdk.vm.ci.code.BytecodePosition.getCaller:()Ljdk/vm/ci/code/BytecodePosition;
astore 6
47: aload 6
ifnonnull 19
48: iconst_0
istore 8
start local 8 49: goto 59
50: StackMap locals: int
StackMap stack:
aload 7
iload 8
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.vm.ci.code.VirtualObject
astore 9
start local 9 51: aload 5
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual jdk.vm.ci.code.VirtualObject.getType:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()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;
pop
52: iconst_0
istore 10
start local 10 53: goto 56
54: StackMap locals: jdk.vm.ci.code.VirtualObject int
StackMap stack:
aload 5
aload 0
aload 9
invokevirtual jdk.vm.ci.code.VirtualObject.getValues:()[Ljdk/vm/ci/meta/JavaValue;
iload 10
aaload
aload 7
invokevirtual org.graalvm.compiler.printer.CompilationPrinter.valueToString:(Ljdk/vm/ci/meta/JavaValue;Ljava/util/List;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
55: iinc 10 1
StackMap locals:
StackMap stack:
56: iload 10
aload 9
invokevirtual jdk.vm.ci.code.VirtualObject.getValues:()[Ljdk/vm/ci/meta/JavaValue;
arraylength
if_icmplt 54
end local 10 57: aload 5
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 9 58: iinc 8 1
StackMap locals:
StackMap stack:
59: iload 8
aload 7
invokeinterface java.util.List.size:()I
if_icmplt 50
end local 8 end local 7 end local 6 60: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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 61 0 this Lorg/graalvm/compiler/printer/CompilationPrinter;
0 61 1 codePos Ljdk/vm/ci/code/BytecodePosition;
0 61 2 refMap Ljdk/vm/ci/code/ReferenceMap;
0 61 3 liveBasePointers Lorg/graalvm/compiler/lir/util/IndexedValueMap;
0 61 4 calleeSaveInfo Ljdk/vm/ci/code/RegisterSaveLayout;
1 61 5 sb Ljava/lang/StringBuilder;
13 14 6 e Ljava/util/Map$Entry<Ljdk/vm/ci/code/Register;Ljava/lang/Integer;>;
18 60 6 curCodePos Ljdk/vm/ci/code/BytecodePosition;
19 60 7 virtualObjects Ljava/util/List<Ljdk/vm/ci/code/VirtualObject;>;
23 46 8 frame Ljdk/vm/ci/code/BytecodeFrame;
26 30 9 i I
33 37 9 i I
41 45 9 i I
49 60 8 i I
51 58 9 obj Ljdk/vm/ci/code/VirtualObject;
53 57 10 j I
MethodParameters:
Name Flags
codePos
refMap
liveBasePointers
calleeSaveInfo
protected java.lang.String valueToString(jdk.vm.ci.meta.JavaValue, java.util.List<jdk.vm.ci.code.VirtualObject>);
descriptor: (Ljdk/vm/ci/meta/JavaValue;Ljava/util/List;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: ldc "-"
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof jdk.vm.ci.code.VirtualObject
ifeq 4
aload 2
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 4
3: aload 2
aload 1
checkcast jdk.vm.ci.code.VirtualObject
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/printer/CompilationPrinter;
0 5 1 value Ljdk/vm/ci/meta/JavaValue;
0 5 2 virtualObjects Ljava/util/List<Ljdk/vm/ci/code/VirtualObject;>;
Signature: (Ljdk/vm/ci/meta/JavaValue;Ljava/util/List<Ljdk/vm/ci/code/VirtualObject;>;)Ljava/lang/String;
MethodParameters:
Name Flags
value
virtualObjects
public void printMachineCode(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 2
ifnull 6
3: aload 0
ldc "cfg"
invokevirtual org.graalvm.compiler.printer.CompilationPrinter.begin:(Ljava/lang/String;)V
4: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
ldc "name \""
invokevirtual org.graalvm.compiler.debug.LogStream.print:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
aload 2
invokevirtual org.graalvm.compiler.debug.LogStream.print:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
bipush 34
invokevirtual org.graalvm.compiler.debug.LogStream.println:(C)Lorg/graalvm/compiler/debug/LogStream;
pop
5: aload 0
ldc "cfg"
invokevirtual org.graalvm.compiler.printer.CompilationPrinter.end:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
ldc "nmethod"
invokevirtual org.graalvm.compiler.printer.CompilationPrinter.begin:(Ljava/lang/String;)V
7: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
aload 1
invokevirtual org.graalvm.compiler.debug.LogStream.print:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
pop
8: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
ldc " <|@"
invokevirtual org.graalvm.compiler.debug.LogStream.println:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
pop
9: aload 0
ldc "nmethod"
invokevirtual org.graalvm.compiler.printer.CompilationPrinter.end:(Ljava/lang/String;)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/printer/CompilationPrinter;
0 11 1 code Ljava/lang/String;
0 11 2 label Ljava/lang/String;
MethodParameters:
Name Flags
code
label
public void printBytecodes(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
ldc "bytecodes"
invokevirtual org.graalvm.compiler.printer.CompilationPrinter.begin:(Ljava/lang/String;)V
3: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
aload 1
invokevirtual org.graalvm.compiler.debug.LogStream.print:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
pop
4: aload 0
getfield org.graalvm.compiler.printer.CompilationPrinter.out:Lorg/graalvm/compiler/debug/LogStream;
ldc " <|@"
invokevirtual org.graalvm.compiler.debug.LogStream.println:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/LogStream;
pop
5: aload 0
ldc "bytecodes"
invokevirtual org.graalvm.compiler.printer.CompilationPrinter.end:(Ljava/lang/String;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/printer/CompilationPrinter;
0 7 1 code Ljava/lang/String;
MethodParameters:
Name Flags
code
}
SourceFile: "CompilationPrinter.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map