final class jdk.tools.jaotc.LogPrinter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.LogPrinter
super_class: java.lang.Object
{
private static java.io.FileWriter logFile;
descriptor: Ljava/io/FileWriter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final jdk.tools.jaotc.Options options;
descriptor: Ljdk/tools/jaotc/Options;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.PrintWriter log;
descriptor: Ljava/io/PrintWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic jdk.tools.jaotc.LogPrinter.logFile:Ljava/io/FileWriter;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.tools.jaotc.Main, java.io.PrintWriter);
descriptor: (Ljdk/tools/jaotc/Main;Ljava/io/PrintWriter;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
putfield jdk.tools.jaotc.LogPrinter.options:Ljdk/tools/jaotc/Options;
2: aload 0
aload 2
putfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jaotc/LogPrinter;
0 4 1 main Ljdk/tools/jaotc/Main;
0 4 2 log Ljava/io/PrintWriter;
MethodParameters:
Name Flags
main
log
void printInfo(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.LogPrinter.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.info:Z
ifeq 3
1: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
aload 1
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
2: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jaotc/LogPrinter;
0 4 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
void printlnInfo(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.LogPrinter.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.info:Z
ifeq 3
1: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
aload 1
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
2: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jaotc/LogPrinter;
0 4 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
void printVerbose(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.LogPrinter.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.verbose:Z
ifeq 3
1: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
aload 1
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
2: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jaotc/LogPrinter;
0 4 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
void printlnVerbose(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.LogPrinter.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.verbose:Z
ifeq 3
1: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
aload 1
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
2: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jaotc/LogPrinter;
0 4 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
void printDebug(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.LogPrinter.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.debug:Z
ifeq 3
1: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
aload 1
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
2: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jaotc/LogPrinter;
0 4 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
void printlnDebug(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.LogPrinter.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.debug:Z
ifeq 3
1: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
aload 1
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
2: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jaotc/LogPrinter;
0 4 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
void printError(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
ldc "Error: "
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 java.io.PrintWriter.println:(Ljava/lang/String;)V
1: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jaotc/LogPrinter;
0 3 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
void reportError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
ldc "Error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: aload 0
getfield jdk.tools.jaotc.LogPrinter.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.info:Z
ifeq 3
2: aload 1
aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintWriter;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.LogPrinter.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jaotc/LogPrinter;
0 5 1 e Ljava/lang/Throwable;
MethodParameters:
Name Flags
e
void reportError(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.tools.jaotc.LogPrinter.printError:(Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/LogPrinter;
0 2 1 key Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
private static java.lang.String humanReadableByteCount(long);
descriptor: (J)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=5, args_size=1
start local 0 0: sipush 1024
istore 2
start local 2 1: lload 0
iload 2
i2l
lcmp
ifge 3
2: new java.lang.StringBuilder
dup
lload 0
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " B"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
3: StackMap locals: int
StackMap stack:
lload 0
l2d
invokestatic java.lang.Math.log:(D)D
iload 2
i2d
invokestatic java.lang.Math.log:(D)D
ddiv
d2i
istore 3
start local 3 4: ldc "KMGTPE"
iload 3
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 5: ldc "%.1f %cB"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 0
l2d
iload 2
i2d
iload 3
i2d
invokestatic java.lang.Math.pow:(DD)D
ddiv
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_1
iload 4
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 bytes J
1 6 2 unit I
4 6 3 exp I
5 6 4 pre C
MethodParameters:
Name Flags
bytes
void printMemoryUsage();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tMemoryUsage cannot be resolved to a type\n\tManagementFactory cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/LogPrinter;
private void printContainerInfo(jdk.tools.jaotc.binformat.ByteContainer);
descriptor: (Ljdk/tools/jaotc/binformat/ByteContainer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.lang.StringBuilder
dup
aload 1
invokevirtual jdk.tools.jaotc.binformat.ByteContainer.getContainerName:()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 1
invokevirtual jdk.tools.jaotc.binformat.ByteContainer.getByteStreamSize:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.tools.jaotc.LogPrinter.printlnVerbose:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/LogPrinter;
0 2 1 container Ljdk/tools/jaotc/binformat/ByteContainer;
MethodParameters:
Name Flags
container
void containersInfo(jdk.tools.jaotc.binformat.BinaryContainer);
descriptor: (Ljdk/tools/jaotc/binformat/BinaryContainer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getHeaderContainer:()Ljdk/tools/jaotc/binformat/HeaderContainer;
invokevirtual jdk.tools.jaotc.binformat.HeaderContainer.getContainer:()Ljdk/tools/jaotc/binformat/ReadOnlyDataContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
1: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getConfigContainer:()Ljdk/tools/jaotc/binformat/ReadOnlyDataContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
2: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getKlassesOffsetsContainer:()Ljdk/tools/jaotc/binformat/ReadOnlyDataContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
3: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getMethodsOffsetsContainer:()Ljdk/tools/jaotc/binformat/ReadOnlyDataContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
4: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getKlassesDependenciesContainer:()Ljdk/tools/jaotc/binformat/ReadOnlyDataContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
5: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getStubsOffsetsContainer:()Ljdk/tools/jaotc/binformat/ReadOnlyDataContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
6: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getMethodMetadataContainer:()Ljdk/tools/jaotc/binformat/ReadOnlyDataContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
7: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getCodeContainer:()Ljdk/tools/jaotc/binformat/CodeContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
8: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getCodeSegmentsContainer:()Ljdk/tools/jaotc/binformat/ReadOnlyDataContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
9: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getConstantDataContainer:()Ljdk/tools/jaotc/binformat/ReadOnlyDataContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
10: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getKlassesGotContainer:()Ljdk/tools/jaotc/binformat/ByteContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
11: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getCountersGotContainer:()Ljdk/tools/jaotc/binformat/ByteContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
12: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getMetadataGotContainer:()Ljdk/tools/jaotc/binformat/ByteContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
13: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getMethodStateContainer:()Ljdk/tools/jaotc/binformat/ByteContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
14: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getOopGotContainer:()Ljdk/tools/jaotc/binformat/ByteContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
15: aload 0
aload 1
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getMetaspaceNamesContainer:()Ljdk/tools/jaotc/binformat/ReadOnlyDataContainer;
invokevirtual jdk.tools.jaotc.LogPrinter.printContainerInfo:(Ljdk/tools/jaotc/binformat/ByteContainer;)V
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/tools/jaotc/LogPrinter;
0 17 1 binaryContainer Ljdk/tools/jaotc/binformat/BinaryContainer;
MethodParameters:
Name Flags
binaryContainer
static void openLog();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=0
0: ldc "jdk.tools.jaotc.logCompilation"
iconst_0
invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 0
start local 0 1: iload 0
ifne 4
2: aconst_null
putstatic jdk.tools.jaotc.LogPrinter.logFile:Ljava/io/FileWriter;
3: return
4: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
ldc "aot_compilation"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
invokevirtual java.util.Date.getTime:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ".log"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 5: ldc "./"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 6: aload 2
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 3
start local 3 7: new java.io.FileWriter
dup
aload 3
iconst_0
invokespecial java.io.FileWriter.<init>:(Ljava/lang/String;Z)V
putstatic jdk.tools.jaotc.LogPrinter.logFile:Ljava/io/FileWriter;
8: goto 12
StackMap locals: int java.lang.String java.nio.file.Path java.lang.String
StackMap stack: java.io.IOException
9: pop
10: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Unable to open logfile :"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\nNo logs will be created"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: aconst_null
putstatic jdk.tools.jaotc.LogPrinter.logFile:Ljava/io/FileWriter;
12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 13 0 v I
5 13 1 fileName Ljava/lang/String;
6 13 2 logFilePath Ljava/nio/file/Path;
7 13 3 logFileName Ljava/lang/String;
Exception table:
from to target type
7 8 9 Class java.io.IOException
static void writeLog(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic jdk.tools.jaotc.LogPrinter.logFile:Ljava/io/FileWriter;
ifnull 6
1: getstatic jdk.tools.jaotc.LogPrinter.logFile:Ljava/io/FileWriter;
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.FileWriter.write:(Ljava/lang/String;)V
2: getstatic jdk.tools.jaotc.LogPrinter.logFile:Ljava/io/FileWriter;
invokevirtual java.io.FileWriter.flush:()V
3: goto 6
StackMap locals:
StackMap stack: java.io.IOException
4: pop
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 str Ljava/lang/String;
Exception table:
from to target type
1 3 4 Class java.io.IOException
MethodParameters:
Name Flags
str
static void closeLog();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.tools.jaotc.LogPrinter.logFile:Ljava/io/FileWriter;
ifnull 4
1: getstatic jdk.tools.jaotc.LogPrinter.logFile:Ljava/io/FileWriter;
invokevirtual java.io.FileWriter.close:()V
2: goto 4
StackMap locals:
StackMap stack: java.io.IOException
3: pop
4: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 2 3 Class java.io.IOException
}
SourceFile: "LogPrinter.java"