public class org.graalvm.compiler.hotspot.HotSpotGraalOptionValues implements org.graalvm.compiler.options.OptionValuesAccess
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.HotSpotGraalOptionValues
super_class: java.lang.Object
{
private static final java.lang.String GRAAL_OPTIONS_FILE_PROPERTY_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "graal.options.file"
private static final java.lang.String GRAAL_VERSION_PROPERTY_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "graal.version"
public static final java.lang.String GRAAL_OPTION_PROPERTY_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "graal."
public static final org.graalvm.compiler.options.OptionValues HOTSPOT_OPTIONS;
descriptor: Lorg/graalvm/compiler/options/OptionValues;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.hotspot.HotSpotGraalOptionValues.initializeOptions:()Lorg/graalvm/compiler/options/OptionValues;
putstatic org.graalvm.compiler.hotspot.HotSpotGraalOptionValues.HOTSPOT_OPTIONS:Lorg/graalvm/compiler/options/OptionValues;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalOptionValues;
public static java.lang.String asSystemPropertySetting(org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.options.OptionKey<?>);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/OptionKey;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "graal."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.graalvm.compiler.options.OptionKey.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;
aload 1
aload 0
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 options Lorg/graalvm/compiler/options/OptionValues;
0 1 1 value Lorg/graalvm/compiler/options/OptionKey<*>;
Signature: (Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/OptionKey<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
options
value
private static org.graalvm.compiler.options.OptionValues initializeOptions();
descriptor: ()Lorg/graalvm/compiler/options/OptionValues;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=15, args_size=0
0: invokestatic org.graalvm.compiler.options.OptionValues.newOptionMap:()Lorg/graalvm/util/EconomicMap;
astore 0
start local 0 1: aconst_null
astore 1
aconst_null
astore 2
2: ldc "InitializeOptions"
invokestatic jdk.vm.ci.common.InitTimer.timer:(Ljava/lang/String;)Ljdk/vm/ci/common/InitTimer;
astore 3
start local 3 3: invokestatic org.graalvm.compiler.options.OptionsParser.getOptionsLoader:()Ljava/lang/Iterable;
astore 4
start local 4 4: invokestatic jdk.vm.ci.services.Services.getSavedProperties:()Ljava/util/Map;
astore 5
start local 5 5: aload 5
ldc "graal.options.file"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 6: aload 6
ifnull 30
7: new java.io.File
dup
aload 6
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 7
start local 7 8: aload 7
invokevirtual java.io.File.exists:()Z
ifeq 30
9: aconst_null
astore 8
aconst_null
astore 9
10: new java.io.FileReader
dup
aload 7
invokespecial java.io.FileReader.<init>:(Ljava/io/File;)V
astore 10
start local 10 11: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 11
start local 11 12: aload 11
aload 10
invokevirtual java.util.Properties.load:(Ljava/io/Reader;)V
13: invokestatic org.graalvm.util.EconomicMap.create:()Lorg/graalvm/util/EconomicMap;
astore 12
start local 12 14: aload 11
invokevirtual java.util.Properties.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 14
goto 17
StackMap locals: org.graalvm.util.EconomicMap java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.lang.Iterable java.util.Map java.lang.String java.io.File java.lang.Throwable java.lang.Throwable java.io.FileReader java.util.Properties org.graalvm.util.EconomicMap top java.util.Iterator
StackMap stack:
15: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 13
start local 13 16: aload 12
aload 13
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 13
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokeinterface org.graalvm.util.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 17: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
18: aload 12
aload 0
aload 4
invokestatic org.graalvm.compiler.options.OptionsParser.parseOptions:(Lorg/graalvm/util/EconomicMap;Lorg/graalvm/util/EconomicMap;Ljava/lang/Iterable;)V
19: goto 22
StackMap locals: org.graalvm.util.EconomicMap java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.lang.Iterable java.util.Map java.lang.String java.io.File java.lang.Throwable java.lang.Throwable java.io.FileReader java.util.Properties org.graalvm.util.EconomicMap
StackMap stack: java.lang.Throwable
20: astore 13
start local 13 21: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Error parsing an option from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 13
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 13 end local 12 end local 11 22: StackMap locals:
StackMap stack:
aload 10
ifnull 30
aload 10
invokevirtual java.io.FileReader.close:()V
goto 30
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 8
aload 10
ifnull 24
aload 10
invokevirtual java.io.FileReader.close:()V
end local 10 StackMap locals:
StackMap stack:
24: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 9
aload 8
ifnonnull 26
aload 9
astore 8
goto 27
StackMap locals:
StackMap stack:
26: aload 8
aload 9
if_acmpeq 27
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
27: aload 8
athrow
StackMap locals: org.graalvm.util.EconomicMap java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.lang.Iterable java.util.Map java.lang.String java.io.File
StackMap stack: java.io.IOException
28: astore 8
start local 8 29: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Error reading "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 8
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 8 end local 7 30: StackMap locals:
StackMap stack:
invokestatic org.graalvm.util.EconomicMap.create:()Lorg/graalvm/util/EconomicMap;
astore 7
start local 7 31: aload 5
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 41
StackMap locals: org.graalvm.util.EconomicMap java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.lang.Iterable java.util.Map java.lang.String org.graalvm.util.EconomicMap top java.util.Iterator
StackMap stack:
32: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 8
start local 8 33: aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 34: aload 10
ldc "graal."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 41
35: aload 10
ldc "graal.PrintFlags"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 36
aload 10
ldc "graal.ShowFlags"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
36: StackMap locals: org.graalvm.util.EconomicMap java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.lang.Iterable java.util.Map java.lang.String org.graalvm.util.EconomicMap java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "The "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " option has been removed and will be ignored. Use -XX:+JVMCIPrintProperties instead."
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
37: goto 41
StackMap locals:
StackMap stack:
38: aload 10
ldc "graal.options.file"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 41
aload 10
ldc "graal.version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 41
39: aload 8
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 11
start local 11 40: aload 7
aload 10
ldc "graal."
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 11
invokeinterface org.graalvm.util.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 11 end local 10 end local 8 41: StackMap locals: org.graalvm.util.EconomicMap java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.lang.Iterable java.util.Map java.lang.String org.graalvm.util.EconomicMap top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 32
42: aload 7
aload 0
aload 4
invokestatic org.graalvm.compiler.options.OptionsParser.parseOptions:(Lorg/graalvm/util/EconomicMap;Lorg/graalvm/util/EconomicMap;Ljava/lang/Iterable;)V
43: new org.graalvm.compiler.options.OptionValues
dup
aload 0
invokespecial org.graalvm.compiler.options.OptionValues.<init>:(Lorg/graalvm/util/UnmodifiableEconomicMap;)V
44: aload 3
ifnull 45
aload 3
invokevirtual jdk.vm.ci.common.InitTimer.close:()V
45: StackMap locals: org.graalvm.util.EconomicMap java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.lang.Iterable java.util.Map java.lang.String org.graalvm.util.EconomicMap
StackMap stack: org.graalvm.compiler.options.OptionValues
areturn
end local 7 end local 6 end local 5 end local 4 StackMap locals: org.graalvm.util.EconomicMap java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer
StackMap stack: java.lang.Throwable
46: astore 1
47: aload 3
ifnull 48
aload 3
invokevirtual jdk.vm.ci.common.InitTimer.close:()V
end local 3 StackMap locals:
StackMap stack:
48: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
49: astore 2
aload 1
ifnonnull 50
aload 2
astore 1
goto 51
StackMap locals:
StackMap stack:
50: aload 1
aload 2
if_acmpeq 51
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
51: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 52 0 values Lorg/graalvm/util/EconomicMap<Lorg/graalvm/compiler/options/OptionKey<*>;Ljava/lang/Object;>;
3 48 3 t Ljdk/vm/ci/common/InitTimer;
4 46 4 loader Ljava/lang/Iterable<Lorg/graalvm/compiler/options/OptionDescriptors;>;
5 46 5 savedProps Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
6 46 6 optionsFile Ljava/lang/String;
8 30 7 graalOptions Ljava/io/File;
11 24 10 fr Ljava/io/FileReader;
12 22 11 props Ljava/util/Properties;
14 22 12 optionSettings Lorg/graalvm/util/EconomicMap<Ljava/lang/String;Ljava/lang/String;>;
16 17 13 e Ljava/util/Map$Entry<Ljava/lang/Object;Ljava/lang/Object;>;
21 22 13 e Ljava/lang/Throwable;
29 30 8 e Ljava/io/IOException;
31 46 7 optionSettings Lorg/graalvm/util/EconomicMap<Ljava/lang/String;Ljava/lang/String;>;
33 41 8 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
34 41 10 name Ljava/lang/String;
40 41 11 value Ljava/lang/String;
Exception table:
from to target type
18 19 20 Class java.lang.Throwable
11 22 23 any
10 25 25 any
9 28 28 Class java.io.IOException
3 44 46 any
2 45 49 any
46 49 49 any
public org.graalvm.compiler.options.OptionValues getOptions();
descriptor: ()Lorg/graalvm/compiler/options/OptionValues;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.HotSpotGraalOptionValues.HOTSPOT_OPTIONS:Lorg/graalvm/compiler/options/OptionValues;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalOptionValues;
}
SourceFile: "HotSpotGraalOptionValues.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeInvisibleAnnotations:
org.graalvm.compiler.serviceprovider.ServiceProvider(value = Lorg/graalvm/compiler/options/OptionValuesAccess;)