public final class org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory extends jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory
super_class: jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory
{
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."
private static org.graalvm.compiler.debug.MethodFilter[] graalCompileOnlyFilter;
descriptor: [Lorg/graalvm/compiler/debug/MethodFilter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final org.graalvm.compiler.hotspot.HotSpotGraalJVMCIServiceLocator locator;
descriptor: Lorg/graalvm/compiler/hotspot/HotSpotGraalJVMCIServiceLocator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static java.util.Map<java.lang.String, java.lang.String> allOptionsSettings;
descriptor: Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public static java.lang.String asSystemPropertySetting(org.graalvm.compiler.options.OptionValue<?>);
descriptor: (Lorg/graalvm/compiler/options/OptionValue;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "graal."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.graalvm.compiler.options.OptionValue.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 0
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()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 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Lorg/graalvm/compiler/options/OptionValue<*>;
Signature: (Lorg/graalvm/compiler/options/OptionValue<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
value
void <init>(org.graalvm.compiler.hotspot.HotSpotGraalJVMCIServiceLocator);
descriptor: (Lorg/graalvm/compiler/hotspot/HotSpotGraalJVMCIServiceLocator;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.locator:Lorg/graalvm/compiler/hotspot/HotSpotGraalJVMCIServiceLocator;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompilerFactory;
0 3 1 locator Lorg/graalvm/compiler/hotspot/HotSpotGraalJVMCIServiceLocator;
MethodParameters:
Name Flags
locator
public java.lang.String getCompilerName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "graal"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompilerFactory;
public void onSelection();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.initializeOptions:()V
1: iconst_0
invokestatic org.graalvm.compiler.hotspot.JVMCIVersionCheck.check:(Z)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompilerFactory;
public void printProperties(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: ldc Lorg/graalvm/compiler/options/OptionDescriptors;
ldc Lorg/graalvm/compiler/options/OptionDescriptors;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
astore 2
start local 2 1: aload 1
ldc "[Graal properties]"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: aload 2
aload 1
getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.allOptionsSettings:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
ldc "graal."
invokestatic org.graalvm.compiler.options.OptionsParser.printFlags:(Ljava/util/ServiceLoader;Ljava/io/PrintStream;Ljava/util/Set;Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompilerFactory;
0 4 1 out Ljava/io/PrintStream;
1 4 2 loader Ljava/util/ServiceLoader<Lorg/graalvm/compiler/options/OptionDescriptors;>;
MethodParameters:
Name Flags
out
private static synchronized void initializeOptions();
descriptor: ()V
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=14, args_size=0
0: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.allOptionsSettings:Ljava/util/Map;
ifnonnull 64
1: aconst_null
astore 0
aconst_null
astore 1
2: ldc "InitializeOptions"
invokestatic jdk.vm.ci.common.InitTimer.timer:(Ljava/lang/String;)Ljdk/vm/ci/common/InitTimer;
astore 2
start local 2 3: ldc Lorg/graalvm/compiler/options/OptionDescriptors;
ldc Lorg/graalvm/compiler/options/OptionDescriptors;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
astore 3
start local 3 4: invokestatic jdk.vm.ci.services.Services.getSavedProperties:()Ljava/util/Map;
astore 4
start local 4 5: aload 4
ldc "graal.options.file"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 6: aload 5
ifnull 34
7: new java.io.File
dup
aload 5
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 6
start local 6 8: aload 6
invokevirtual java.io.File.exists:()Z
ifeq 34
9: aconst_null
astore 7
aconst_null
astore 8
10: new java.io.FileReader
dup
aload 6
invokespecial java.io.FileReader.<init>:(Ljava/io/File;)V
astore 9
start local 9 11: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 10
start local 10 12: aload 10
aload 9
invokevirtual java.util.Properties.load:(Ljava/io/Reader;)V
13: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 11
start local 11 14: aload 10
invokevirtual java.util.Properties.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 13
goto 17
StackMap locals: java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.util.ServiceLoader java.util.Map java.lang.String java.io.File java.lang.Throwable java.lang.Throwable java.io.FileReader java.util.Properties java.util.Map top java.util.Iterator
StackMap stack:
15: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 12
start local 12 16: aload 11
aload 12
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 12
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 12 17: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
18: aload 11
aconst_null
aload 3
invokestatic org.graalvm.compiler.options.OptionsParser.parseOptions:(Ljava/util/Map;Lorg/graalvm/compiler/options/OptionsParser$OptionConsumer;Ljava/util/ServiceLoader;)V
19: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.allOptionsSettings:Ljava/util/Map;
ifnonnull 22
20: new java.util.HashMap
dup
aload 11
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
putstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.allOptionsSettings:Ljava/util/Map;
21: goto 26
22: StackMap locals: java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.util.ServiceLoader java.util.Map java.lang.String java.io.File java.lang.Throwable java.lang.Throwable java.io.FileReader java.util.Properties java.util.Map
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.allOptionsSettings:Ljava/util/Map;
aload 11
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
23: goto 26
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 12
start local 12 25: 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 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 12
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 12 end local 11 end local 10 26: StackMap locals:
StackMap stack:
aload 9
ifnull 34
aload 9
invokevirtual java.io.FileReader.close:()V
goto 34
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 7
aload 9
ifnull 28
aload 9
invokevirtual java.io.FileReader.close:()V
end local 9 StackMap locals:
StackMap stack:
28: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
29: astore 8
aload 7
ifnonnull 30
aload 8
astore 7
goto 31
StackMap locals:
StackMap stack:
30: aload 7
aload 8
if_acmpeq 31
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
31: aload 7
athrow
StackMap locals: java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.util.ServiceLoader java.util.Map java.lang.String java.io.File
StackMap stack: java.io.IOException
32: astore 7
start local 7 33: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Error reading "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 7
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 7 end local 6 34: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 6
start local 6 35: aload 4
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 45
StackMap locals: java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.util.ServiceLoader java.util.Map java.lang.String java.util.Map top java.util.Iterator
StackMap stack:
36: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 7
start local 7 37: aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 38: aload 9
ldc "graal."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 45
39: aload 9
ldc "graal.PrintFlags"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 40
aload 9
ldc "graal.ShowFlags"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 42
40: StackMap locals: java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.util.ServiceLoader java.util.Map java.lang.String java.util.Map 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 9
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
41: goto 45
StackMap locals:
StackMap stack:
42: aload 9
ldc "graal.options.file"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
aload 9
ldc "graal.version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
aload 9
ldc "graal.profileOptionValue"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
43: aload 7
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 44: aload 6
aload 9
ldc "graal."
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 10
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 end local 9 end local 7 45: StackMap locals: java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.util.ServiceLoader java.util.Map java.lang.String java.util.Map top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 36
46: aload 6
aconst_null
aload 3
invokestatic org.graalvm.compiler.options.OptionsParser.parseOptions:(Ljava/util/Map;Lorg/graalvm/compiler/options/OptionsParser$OptionConsumer;Ljava/util/ServiceLoader;)V
47: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.allOptionsSettings:Ljava/util/Map;
ifnonnull 50
48: aload 6
putstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.allOptionsSettings:Ljava/util/Map;
49: goto 51
50: StackMap locals: java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer java.util.ServiceLoader java.util.Map java.lang.String java.util.Map
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.allOptionsSettings:Ljava/util/Map;
aload 6
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
51: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory$Options.GraalCompileOnly:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
ifnull 55
52: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory$Options.GraalCompileOnly:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.graalvm.compiler.debug.MethodFilter.parse:(Ljava/lang/String;)[Lorg/graalvm/compiler/debug/MethodFilter;
putstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.graalCompileOnlyFilter:[Lorg/graalvm/compiler/debug/MethodFilter;
53: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.graalCompileOnlyFilter:[Lorg/graalvm/compiler/debug/MethodFilter;
arraylength
ifne 55
54: aconst_null
putstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.graalCompileOnlyFilter:[Lorg/graalvm/compiler/debug/MethodFilter;
55: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.graalCompileOnlyFilter:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnonnull 56
getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory$Options.UseTrivialPrefixes:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 58
56: StackMap locals:
StackMap stack:
ldc Ljava/lang/Object;
ldc "hashCode"
ldc "()I"
getstatic jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel.FullOptimization:Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
invokestatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.adjustCompilationLevelInternal:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;)Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
pop
57: ldc Ljava/lang/Object;
ldc "hashCode"
ldc "()I"
getstatic jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel.Simple:Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
invokestatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.adjustCompilationLevelInternal:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;)Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
pop
end local 6 end local 5 end local 4 end local 3 58: StackMap locals: java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer
StackMap stack:
aload 2
ifnull 64
aload 2
invokevirtual jdk.vm.ci.common.InitTimer.close:()V
goto 64
StackMap locals:
StackMap stack: java.lang.Throwable
59: astore 0
aload 2
ifnull 60
aload 2
invokevirtual jdk.vm.ci.common.InitTimer.close:()V
end local 2 StackMap locals:
StackMap stack:
60: aload 0
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
61: astore 1
aload 0
ifnonnull 62
aload 1
astore 0
goto 63
StackMap locals:
StackMap stack:
62: aload 0
aload 1
if_acmpeq 63
aload 0
aload 1
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
63: aload 0
athrow
64: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 60 2 t Ljdk/vm/ci/common/InitTimer;
4 58 3 loader Ljava/util/ServiceLoader<Lorg/graalvm/compiler/options/OptionDescriptors;>;
5 58 4 savedProps Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
6 58 5 optionsFile Ljava/lang/String;
8 34 6 graalOptions Ljava/io/File;
11 28 9 fr Ljava/io/FileReader;
12 26 10 props Ljava/util/Properties;
14 26 11 optionSettings Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
16 17 12 e Ljava/util/Map$Entry<Ljava/lang/Object;Ljava/lang/Object;>;
25 26 12 e Ljava/lang/Throwable;
33 34 7 e Ljava/io/IOException;
35 58 6 optionSettings Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
37 45 7 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
38 45 9 name Ljava/lang/String;
44 45 10 value Ljava/lang/String;
Exception table:
from to target type
18 23 24 Class java.lang.Throwable
11 26 27 any
10 29 29 any
9 32 32 Class java.io.IOException
3 58 59 any
2 61 61 any
public org.graalvm.compiler.hotspot.HotSpotGraalCompiler createCompiler(jdk.vm.ci.runtime.JVMCIRuntime);
descriptor: (Ljdk/vm/ci/runtime/JVMCIRuntime;)Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aconst_null
invokestatic org.graalvm.compiler.hotspot.CompilerConfigurationFactory.selectFactory:(Ljava/lang/String;)Lorg/graalvm/compiler/hotspot/CompilerConfigurationFactory;
invokestatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.createCompiler:(Ljdk/vm/ci/runtime/JVMCIRuntime;Lorg/graalvm/compiler/hotspot/CompilerConfigurationFactory;)Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
astore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.locator:Lorg/graalvm/compiler/hotspot/HotSpotGraalJVMCIServiceLocator;
aload 2
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalJVMCIServiceLocator.onCompilerCreation:(Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompilerFactory;
0 3 1 runtime Ljdk/vm/ci/runtime/JVMCIRuntime;
1 3 2 compiler Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
MethodParameters:
Name Flags
runtime
public static org.graalvm.compiler.hotspot.HotSpotGraalCompiler createCompiler(jdk.vm.ci.runtime.JVMCIRuntime, org.graalvm.compiler.hotspot.CompilerConfigurationFactory);
descriptor: (Ljdk/vm/ci/runtime/JVMCIRuntime;Lorg/graalvm/compiler/hotspot/CompilerConfigurationFactory;)Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
checkcast jdk.vm.ci.hotspot.HotSpotJVMCIRuntime
astore 2
start local 2 1: aconst_null
astore 3
aconst_null
astore 4
2: ldc "HotSpotGraalRuntime.<init>"
invokestatic jdk.vm.ci.common.InitTimer.timer:(Ljava/lang/String;)Ljdk/vm/ci/common/InitTimer;
astore 5
start local 5 3: new org.graalvm.compiler.hotspot.HotSpotGraalRuntime
dup
aload 2
aload 1
invokespecial org.graalvm.compiler.hotspot.HotSpotGraalRuntime.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/hotspot/CompilerConfigurationFactory;)V
astore 6
start local 6 4: new org.graalvm.compiler.hotspot.HotSpotGraalCompiler
dup
aload 2
aload 6
invokespecial org.graalvm.compiler.hotspot.HotSpotGraalCompiler.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;)V
5: aload 5
ifnull 6
aload 5
invokevirtual jdk.vm.ci.common.InitTimer.close:()V
6: StackMap locals: jdk.vm.ci.runtime.JVMCIRuntime org.graalvm.compiler.hotspot.CompilerConfigurationFactory jdk.vm.ci.hotspot.HotSpotJVMCIRuntime java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer org.graalvm.compiler.hotspot.HotSpotGraalRuntime
StackMap stack: org.graalvm.compiler.hotspot.HotSpotGraalCompiler
areturn
end local 6 StackMap locals: jdk.vm.ci.runtime.JVMCIRuntime org.graalvm.compiler.hotspot.CompilerConfigurationFactory jdk.vm.ci.hotspot.HotSpotJVMCIRuntime java.lang.Throwable java.lang.Throwable jdk.vm.ci.common.InitTimer
StackMap stack: java.lang.Throwable
7: astore 3
8: aload 5
ifnull 9
aload 5
invokevirtual jdk.vm.ci.common.InitTimer.close:()V
end local 5 StackMap locals:
StackMap stack:
9: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 4
aload 3
ifnonnull 11
aload 4
astore 3
goto 12
StackMap locals:
StackMap stack:
11: aload 3
aload 4
if_acmpeq 12
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 runtime Ljdk/vm/ci/runtime/JVMCIRuntime;
0 13 1 compilerConfigurationFactory Lorg/graalvm/compiler/hotspot/CompilerConfigurationFactory;
1 13 2 jvmciRuntime Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
3 9 5 t Ljdk/vm/ci/common/InitTimer;
4 7 6 graalRuntime Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
Exception table:
from to target type
3 5 7 any
2 6 10 any
7 10 10 any
MethodParameters:
Name Flags
runtime
compilerConfigurationFactory
public java.lang.String[] getTrivialPrefixes();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory$Options.UseTrivialPrefixes:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 3
1: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory$Options.CompileGraalWithC1Only:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 3
2: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "jdk/vm/ci"
aastore
dup
iconst_1
ldc "org/graalvm/compiler"
aastore
dup
iconst_2
ldc "com/oracle/graal"
aastore
areturn
3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompilerFactory;
public jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevelAdjustment getCompilationLevelAdjustment();
descriptor: ()Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevelAdjustment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.graalCompileOnlyFilter:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 2
1: getstatic jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevelAdjustment.ByFullSignature:Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevelAdjustment;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory$Options.UseTrivialPrefixes:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 5
3: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory$Options.CompileGraalWithC1Only:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 5
4: getstatic jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevelAdjustment.ByHolder:Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevelAdjustment;
areturn
5: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevelAdjustment.None:Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevelAdjustment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompilerFactory;
public jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel adjustCompilationLevel(java.lang.Class<?>, java.lang.String, java.lang.String, boolean, jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;ZLjdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;)Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
aload 2
aload 3
aload 5
invokestatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.adjustCompilationLevelInternal:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;)Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
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 1 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompilerFactory;
0 1 1 declaringClass Ljava/lang/Class<*>;
0 1 2 name Ljava/lang/String;
0 1 3 signature Ljava/lang/String;
0 1 4 isOsr Z
0 1 5 level Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/String;ZLjdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;)Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
MethodParameters:
Name Flags
declaringClass
name
signature
isOsr
level
private static jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel adjustCompilationLevelInternal(java.lang.Class<?>, java.lang.String, java.lang.String, jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;)Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.graalCompileOnlyFilter:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 13
1: aload 3
getstatic jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel.FullOptimization:Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
if_acmpne 13
2: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 4
start local 4 3: aconst_null
astore 5
start local 5 4: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.graalCompileOnlyFilter:[Lorg/graalvm/compiler/debug/MethodFilter;
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 11
StackMap locals: java.lang.Class java.lang.String java.lang.String jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel java.lang.String jdk.vm.ci.hotspot.HotSpotSignature top int int org.graalvm.compiler.debug.MethodFilter[]
StackMap stack:
5: aload 9
iload 7
aaload
astore 6
start local 6 6: aload 6
invokevirtual org.graalvm.compiler.debug.MethodFilter.hasSignature:()Z
ifeq 8
aload 5
ifnonnull 8
7: new jdk.vm.ci.hotspot.HotSpotSignature
dup
invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
aload 2
invokespecial jdk.vm.ci.hotspot.HotSpotSignature.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;Ljava/lang/String;)V
astore 5
8: StackMap locals: java.lang.Class java.lang.String java.lang.String jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel java.lang.String jdk.vm.ci.hotspot.HotSpotSignature org.graalvm.compiler.debug.MethodFilter int int org.graalvm.compiler.debug.MethodFilter[]
StackMap stack:
aload 6
aload 4
aload 1
aload 5
invokevirtual org.graalvm.compiler.debug.MethodFilter.matches:(Ljava/lang/String;Ljava/lang/String;Ljdk/vm/ci/meta/Signature;)Z
ifeq 10
9: aload 3
areturn
end local 6 10: StackMap locals: java.lang.Class java.lang.String java.lang.String jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel java.lang.String jdk.vm.ci.hotspot.HotSpotSignature top int int org.graalvm.compiler.debug.MethodFilter[]
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
11: iload 7
iload 8
if_icmplt 5
12: getstatic jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel.Simple:Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
areturn
end local 5 end local 4 13: StackMap locals: java.lang.Class java.lang.String java.lang.String jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel
StackMap stack:
aload 3
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel.ordinal:()I
getstatic jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel.Simple:Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel.ordinal:()I
if_icmple 17
14: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 4
start local 4 15: aload 4
ldc "jdk.vm.ci"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 16
aload 4
ldc "org.graalvm.compiler"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 16
aload 4
ldc "com.oracle.graal"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 17
16: StackMap locals: java.lang.String
StackMap stack:
getstatic jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel.Simple:Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
areturn
end local 4 17: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 declaringClass Ljava/lang/Class<*>;
0 18 1 name Ljava/lang/String;
0 18 2 signature Ljava/lang/String;
0 18 3 level Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
3 13 4 declaringClassName Ljava/lang/String;
4 13 5 sig Ljdk/vm/ci/hotspot/HotSpotSignature;
6 10 6 filter Lorg/graalvm/compiler/debug/MethodFilter;
15 17 4 declaringClassName Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/String;Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;)Ljdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory$CompilationLevel;
MethodParameters:
Name Flags
declaringClass
name
signature
level
public jdk.vm.ci.runtime.JVMCICompiler createCompiler(jdk.vm.ci.runtime.JVMCIRuntime);
descriptor: (Ljdk/vm/ci/runtime/JVMCIRuntime;)Ljdk/vm/ci/runtime/JVMCICompiler;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.createCompiler:(Ljdk/vm/ci/runtime/JVMCIRuntime;)Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "HotSpotGraalCompilerFactory.java"
NestMembers:
org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory$Options
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public final CompilationLevel = jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevel of jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory
public final CompilationLevelAdjustment = jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory$CompilationLevelAdjustment of jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory
Options = org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory$Options of org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory
public abstract OptionConsumer = org.graalvm.compiler.options.OptionsParser$OptionConsumer of org.graalvm.compiler.options.OptionsParser