class org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey extends org.graalvm.compiler.options.OptionKey<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey
super_class: org.graalvm.compiler.options.OptionKey
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey this
0: .line 74
aload 0 /* this */
aconst_null
invokespecial org.graalvm.compiler.options.OptionKey.<init>:(Ljava/lang/Object;)V
1: .line 75
return
end local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey;
private static java.lang.String makeFilename(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 // java.lang.String nameTemplate
0: .line 83
aload 0 /* nameTemplate */
astore 1 /* name */
start local 1 // java.lang.String name
1: .line 84
aload 1 /* name */
ldc "%p"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 3
2: .line 85
aload 1 /* name */
ldc "%p"
invokestatic org.graalvm.compiler.serviceprovider.GraalServices.getExecutionID:()Ljava/lang/String;
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1 /* name */
3: .line 87
StackMap locals: java.lang.String
StackMap stack:
aload 1 /* name */
ldc "%t"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 5
4: .line 88
aload 1 /* name */
ldc "%t"
invokestatic java.lang.System.currentTimeMillis:()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 /* name */
5: .line 90
StackMap locals:
StackMap stack:
aload 1 /* name */
areturn
end local 1 // java.lang.String name
end local 0 // java.lang.String nameTemplate
LocalVariableTable:
Start End Slot Name Signature
0 6 0 nameTemplate Ljava/lang/String;
1 6 1 name Ljava/lang/String;
MethodParameters:
Name Flags
nameTemplate
public java.io.PrintStream getStream(org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;)Ljava/io/PrintStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey this
start local 1 // org.graalvm.compiler.options.OptionValues options
0: .line 142
aload 0 /* this */
aload 1 /* options */
invokevirtual org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.String
astore 2 /* nameTemplate */
start local 2 // java.lang.String nameTemplate
1: .line 143
aload 2 /* nameTemplate */
ifnull 14
2: .line 144
aload 2 /* nameTemplate */
invokestatic org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey.makeFilename:(Ljava/lang/String;)Ljava/lang/String;
astore 3 /* name */
start local 3 // java.lang.String name
3: .line 147
new java.io.PrintStream
dup
new java.io.FileOutputStream
dup
aload 3 /* name */
invokespecial java.io.FileOutputStream.<init>:(Ljava/lang/String;)V
iconst_1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;Z)V
astore 4 /* ps */
start local 4 // java.io.PrintStream ps
4: .line 151
invokestatic org.graalvm.compiler.serviceprovider.GraalServices.getInputArguments:()Ljava/util/List;
astore 5 /* inputArguments */
start local 5 // java.util.List inputArguments
5: .line 152
aload 5 /* inputArguments */
ifnull 7
6: .line 153
aload 4 /* ps */
new java.lang.StringBuilder
dup
ldc "VM Arguments: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
aload 5 /* inputArguments */
invokestatic java.lang.String.join:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)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.PrintStream.println:(Ljava/lang/String;)V
7: .line 155
StackMap locals: org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey org.graalvm.compiler.options.OptionValues java.lang.String java.lang.String java.io.PrintStream java.util.List
StackMap stack:
invokestatic jdk.vm.ci.services.Services.getSavedProperties:()Ljava/util/Map;
ldc "sun.java.command"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 6 /* cmd */
start local 6 // java.lang.String cmd
8: .line 156
aload 6 /* cmd */
ifnull 10
9: .line 157
aload 4 /* ps */
new java.lang.StringBuilder
dup
ldc "sun.java.command="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6 /* cmd */
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
10: .line 159
StackMap locals: java.lang.String
StackMap stack:
aload 4 /* ps */
11: areturn
end local 6 // java.lang.String cmd
end local 5 // java.util.List inputArguments
end local 4 // java.io.PrintStream ps
12: .line 160
StackMap locals: org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey org.graalvm.compiler.options.OptionValues java.lang.String java.lang.String
StackMap stack: java.io.FileNotFoundException
astore 4 /* e */
start local 4 // java.io.FileNotFoundException e
13: .line 161
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 3 /* name */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4 /* e */
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 // java.io.FileNotFoundException e
end local 3 // java.lang.String name
14: .line 164
StackMap locals:
StackMap stack:
new java.io.PrintStream
dup
new org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream
dup
invokespecial org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream.<init>:()V
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
areturn
end local 2 // java.lang.String nameTemplate
end local 1 // org.graalvm.compiler.options.OptionValues options
end local 0 // org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/compiler/hotspot/HotSpotTTYStreamProvider$LogStreamOptionKey;
0 15 1 options Lorg/graalvm/compiler/options/OptionValues;
1 15 2 nameTemplate Ljava/lang/String;
3 14 3 name Ljava/lang/String;
4 12 4 ps Ljava/io/PrintStream;
5 12 5 inputArguments Ljava/util/List<Ljava/lang/String;>;
8 12 6 cmd Ljava/lang/String;
13 14 4 e Ljava/io/FileNotFoundException;
Exception table:
from to target type
3 11 12 Class java.io.FileNotFoundException
RuntimeInvisibleAnnotations:
org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"DLS_DEAD_LOCAL_STORE"}, justification = "false positive on dead store to `ps`")
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"DLS_DEAD_LOCAL_STORE"}, justification = "false positive on dead store to `ps`")
MethodParameters:
Name Flags
options
}
Signature: Lorg/graalvm/compiler/options/OptionKey<Ljava/lang/String;>;
SourceFile: "HotSpotTTYStreamProvider.java"
NestHost: org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider
InnerClasses:
private LogStreamOptionKey = org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey of org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider
DelayedOutputStream = org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey$DelayedOutputStream of org.graalvm.compiler.hotspot.HotSpotTTYStreamProvider$LogStreamOptionKey