public class org.graalvm.compiler.hotspot.PrintStreamOption extends org.graalvm.compiler.options.OptionValue<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.PrintStreamOption
super_class: org.graalvm.compiler.options.OptionValue
{
private volatile java.io.PrintStream ps;
descriptor: Ljava/io/PrintStream;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial org.graalvm.compiler.options.OptionValue.<init>:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/PrintStreamOption;
private java.lang.String getFilename();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.hotspot.PrintStreamOption.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 1: aload 1
ldc "%t"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 3
2: aload 1
ldc "%t"
invokestatic org.graalvm.compiler.options.UniquePathUtilities.getGlobalTimeStamp:()J
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
ldc "%p"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 12
4: invokestatic java.lang.management.ManagementFactory.getRuntimeMXBean:()Ljava/lang/management/RuntimeMXBean;
invokeinterface java.lang.management.RuntimeMXBean.getName:()Ljava/lang/String;
astore 2
start local 2 5: aload 2
bipush 64
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 6: iload 3
iconst_m1
if_icmpeq 9
7: aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 4
start local 4 8: lload 4
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
astore 2
end local 4 9: StackMap locals: java.lang.String int
StackMap stack:
aload 1
ldc "%p"
aload 2
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
end local 3 10: goto 12
StackMap locals: org.graalvm.compiler.hotspot.PrintStreamOption java.lang.String java.lang.String
StackMap stack: java.lang.NumberFormatException
11: pop
end local 2 12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/hotspot/PrintStreamOption;
1 13 1 name Ljava/lang/String;
5 12 2 runtimeName Ljava/lang/String;
6 10 3 index I
8 9 4 pid J
Exception table:
from to target type
5 10 11 Class java.lang.NumberFormatException
public java.io.PrintStream getStream();
descriptor: ()Ljava/io/PrintStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.PrintStreamOption.ps:Ljava/io/PrintStream;
ifnonnull 18
1: aload 0
invokevirtual org.graalvm.compiler.hotspot.PrintStreamOption.getValue:()Ljava/lang/Object;
ifnull 17
2: aload 0
dup
astore 1
monitorenter
3: aload 0
getfield org.graalvm.compiler.hotspot.PrintStreamOption.ps:Ljava/io/PrintStream;
ifnonnull 13
4: aload 0
new java.io.PrintStream
dup
new java.io.FileOutputStream
dup
aload 0
invokevirtual org.graalvm.compiler.hotspot.PrintStreamOption.getFilename:()Ljava/lang/String;
invokespecial java.io.FileOutputStream.<init>:(Ljava/lang/String;)V
iconst_1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;Z)V
putfield org.graalvm.compiler.hotspot.PrintStreamOption.ps:Ljava/io/PrintStream;
5: 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;
astore 2
start local 2 6: aload 0
getfield org.graalvm.compiler.hotspot.PrintStreamOption.ps:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "VM Arguments: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
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
7: ldc "sun.java.command"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 8: aload 3
ifnull 13
9: aload 0
getfield org.graalvm.compiler.hotspot.PrintStreamOption.ps:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "sun.java.command="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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
end local 3 end local 2 10: goto 13
StackMap locals: org.graalvm.compiler.hotspot.PrintStreamOption org.graalvm.compiler.hotspot.PrintStreamOption
StackMap stack: java.io.FileNotFoundException
11: astore 2
start local 2 12: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "couldn't open file: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.graalvm.compiler.hotspot.PrintStreamOption.getValue:()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;
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 13: StackMap locals:
StackMap stack:
aload 1
monitorexit
14: goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 1
monitorexit
16: athrow
17: StackMap locals:
StackMap stack:
aload 0
new java.io.PrintStream
dup
new org.graalvm.compiler.hotspot.PrintStreamOption$DelayedOutputStream
dup
invokespecial org.graalvm.compiler.hotspot.PrintStreamOption$DelayedOutputStream.<init>:()V
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
putfield org.graalvm.compiler.hotspot.PrintStreamOption.ps:Ljava/io/PrintStream;
18: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.PrintStreamOption.ps:Ljava/io/PrintStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/graalvm/compiler/hotspot/PrintStreamOption;
6 10 2 inputArguments Ljava/lang/String;
8 10 3 cmd Ljava/lang/String;
12 13 2 e Ljava/io/FileNotFoundException;
Exception table:
from to target type
4 10 11 Class java.io.FileNotFoundException
3 14 15 any
15 16 15 any
public void setValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.PrintStreamOption.ps:Ljava/io/PrintStream;
ifnull 9
1: aload 0
dup
astore 2
monitorenter
2: aload 0
getfield org.graalvm.compiler.hotspot.PrintStreamOption.ps:Ljava/io/PrintStream;
ifnull 5
3: aload 0
getfield org.graalvm.compiler.hotspot.PrintStreamOption.ps:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.close:()V
4: aload 0
aconst_null
putfield org.graalvm.compiler.hotspot.PrintStreamOption.ps:Ljava/io/PrintStream;
5: StackMap locals: org.graalvm.compiler.hotspot.PrintStreamOption
StackMap stack:
aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.graalvm.compiler.options.OptionValue.setValue:(Ljava/lang/Object;)V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/hotspot/PrintStreamOption;
0 11 1 v Ljava/lang/Object;
Exception table:
from to target type
2 6 7 any
7 8 7 any
MethodParameters:
Name Flags
v
}
Signature: Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;
SourceFile: "PrintStreamOption.java"
NestMembers:
org.graalvm.compiler.hotspot.PrintStreamOption$DelayedOutputStream
InnerClasses:
DelayedOutputStream = org.graalvm.compiler.hotspot.PrintStreamOption$DelayedOutputStream of org.graalvm.compiler.hotspot.PrintStreamOption