public abstract class com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder
super_class: java.lang.Object
{
protected final org.graalvm.compiler.options.OptionValues options;
descriptor: Lorg/graalvm/compiler/options/OptionValues;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final com.oracle.svm.hosted.SVMHost hostVM;
descriptor: Lcom/oracle/svm/hosted/SVMHost;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final jdk.vm.ci.meta.MetaAccessProvider metaAccess;
descriptor: Ljdk/vm/ci/meta/MetaAccessProvider;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected com.oracle.svm.core.graal.meta.RuntimeConfiguration runtimeConfig;
descriptor: Lcom/oracle/svm/core/graal/meta/RuntimeConfiguration;
flags: (0x0004) ACC_PROTECTED
protected org.graalvm.compiler.word.WordTypes wordTypes;
descriptor: Lorg/graalvm/compiler/word/WordTypes;
flags: (0x0004) ACC_PROTECTED
protected final java.util.function.Function<org.graalvm.compiler.phases.util.Providers, com.oracle.svm.core.graal.code.SubstrateBackend> backendProvider;
descriptor: Ljava/util/function/Function;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/function/Function<Lorg/graalvm/compiler/phases/util/Providers;Lcom/oracle/svm/core/graal/code/SubstrateBackend;>;
protected final com.oracle.svm.hosted.c.NativeLibraries nativeLibraries;
descriptor: Lcom/oracle/svm/hosted/c/NativeLibraries;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(org.graalvm.compiler.options.OptionValues, com.oracle.svm.hosted.SVMHost, jdk.vm.ci.meta.MetaAccessProvider, java.util.function.Function<org.graalvm.compiler.phases.util.Providers, com.oracle.svm.core.graal.code.SubstrateBackend>, com.oracle.svm.hosted.c.NativeLibraries);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Lcom/oracle/svm/hosted/SVMHost;Ljdk/vm/ci/meta/MetaAccessProvider;Ljava/util/function/Function;Lcom/oracle/svm/hosted/c/NativeLibraries;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.options:Lorg/graalvm/compiler/options/OptionValues;
2: aload 0
aload 2
putfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.hostVM:Lcom/oracle/svm/hosted/SVMHost;
3: aload 0
aload 3
putfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
4: aload 0
aload 4
putfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.backendProvider:Ljava/util/function/Function;
5: aload 0
aload 5
putfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.nativeLibraries:Lcom/oracle/svm/hosted/c/NativeLibraries;
6: return
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 7 0 this Lcom/oracle/svm/hosted/code/SharedRuntimeConfigurationBuilder;
0 7 1 options Lorg/graalvm/compiler/options/OptionValues;
0 7 2 hostVM Lcom/oracle/svm/hosted/SVMHost;
0 7 3 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
0 7 4 backendProvider Ljava/util/function/Function<Lorg/graalvm/compiler/phases/util/Providers;Lcom/oracle/svm/core/graal/code/SubstrateBackend;>;
0 7 5 nativeLibraries Lcom/oracle/svm/hosted/c/NativeLibraries;
Signature: (Lorg/graalvm/compiler/options/OptionValues;Lcom/oracle/svm/hosted/SVMHost;Ljdk/vm/ci/meta/MetaAccessProvider;Ljava/util/function/Function<Lorg/graalvm/compiler/phases/util/Providers;Lcom/oracle/svm/core/graal/code/SubstrateBackend;>;Lcom/oracle/svm/hosted/c/NativeLibraries;)V
MethodParameters:
Name Flags
options
hostVM
metaAccess
backendProvider
nativeLibraries
public com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder build();
descriptor: ()Lcom/oracle/svm/hosted/code/SharedRuntimeConfigurationBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=20, args_size=1
start local 0 0: aload 0
new com.oracle.svm.core.graal.word.SubstrateWordTypes
dup
aload 0
getfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic com.oracle.svm.core.FrameAccess.getWordKind:()Ljdk/vm/ci/meta/JavaKind;
invokespecial com.oracle.svm.core.graal.word.SubstrateWordTypes.<init>:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/JavaKind;)V
putfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.wordTypes:Lorg/graalvm/compiler/word/WordTypes;
1: aload 0
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createProviders:(Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;Lorg/graalvm/compiler/nodes/spi/LoweringProvider;Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/nodes/spi/StampProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;)Lorg/graalvm/compiler/phases/util/Providers;
astore 1
start local 1 2: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createStampProvider:(Lorg/graalvm/compiler/phases/util/Providers;)Lorg/graalvm/compiler/nodes/spi/StampProvider;
astore 2
start local 2 3: aload 0
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aload 2
aconst_null
aconst_null
aconst_null
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createProviders:(Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;Lorg/graalvm/compiler/nodes/spi/LoweringProvider;Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/nodes/spi/StampProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;)Lorg/graalvm/compiler/phases/util/Providers;
astore 1
4: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createConstantReflectionProvider:(Lorg/graalvm/compiler/phases/util/Providers;)Ljdk/vm/ci/meta/ConstantReflectionProvider;
astore 3
start local 3 5: aload 0
aconst_null
aload 3
aconst_null
aconst_null
aconst_null
aconst_null
aload 2
aconst_null
aconst_null
aconst_null
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createProviders:(Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;Lorg/graalvm/compiler/nodes/spi/LoweringProvider;Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/nodes/spi/StampProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;)Lorg/graalvm/compiler/phases/util/Providers;
astore 1
6: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createConstantFieldProvider:(Lorg/graalvm/compiler/phases/util/Providers;)Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
astore 4
start local 4 7: aload 0
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createSnippetReflectionProvider:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
astore 5
start local 5 8: aload 0
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createForeignCallsProvider:()Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;
astore 6
start local 6 9: aload 0
aconst_null
aload 3
aload 4
aload 6
aconst_null
aconst_null
aload 2
aload 5
aconst_null
aconst_null
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createProviders:(Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;Lorg/graalvm/compiler/nodes/spi/LoweringProvider;Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/nodes/spi/StampProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;)Lorg/graalvm/compiler/phases/util/Providers;
astore 1
10: ldc Lcom/oracle/svm/core/heap/Heap;
invokestatic org.graalvm.nativeimage.ImageSingletons.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.oracle.svm.core.heap.Heap
aload 0
getfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
invokevirtual com.oracle.svm.core.heap.Heap.createBarrierSet:(Ljdk/vm/ci/meta/MetaAccessProvider;)Lorg/graalvm/compiler/nodes/gc/BarrierSet;
astore 7
start local 7 11: new com.oracle.svm.core.graal.code.SubstratePlatformConfigurationProvider
dup
aload 7
invokespecial com.oracle.svm.core.graal.code.SubstratePlatformConfigurationProvider.<init>:(Lorg/graalvm/compiler/nodes/gc/BarrierSet;)V
astore 8
start local 8 12: new com.oracle.svm.core.graal.code.SubstrateMetaAccessExtensionProvider
dup
invokespecial com.oracle.svm.core.graal.code.SubstrateMetaAccessExtensionProvider.<init>:()V
astore 9
start local 9 13: aload 0
aconst_null
aload 3
aload 4
aload 6
aconst_null
aconst_null
aload 2
aload 5
aload 8
aload 9
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createProviders:(Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;Lorg/graalvm/compiler/nodes/spi/LoweringProvider;Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/nodes/spi/StampProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;)Lorg/graalvm/compiler/phases/util/Providers;
astore 1
14: aload 0
aload 1
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createLoweringProvider:(Lorg/graalvm/compiler/phases/util/Providers;)Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
astore 10
start local 10 15: aload 0
aconst_null
aload 3
aload 4
aload 6
aload 10
aconst_null
aload 2
aload 5
aload 8
aload 9
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createProviders:(Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;Lorg/graalvm/compiler/nodes/spi/LoweringProvider;Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/nodes/spi/StampProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;)Lorg/graalvm/compiler/phases/util/Providers;
astore 1
16: aload 0
aload 1
aload 5
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createReplacements:(Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;)Lorg/graalvm/compiler/nodes/spi/Replacements;
astore 11
start local 11 17: aload 0
aconst_null
aload 3
aload 4
aload 6
aload 10
aload 11
aload 2
aload 5
aload 8
aload 9
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createProviders:(Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;Lorg/graalvm/compiler/nodes/spi/LoweringProvider;Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/nodes/spi/StampProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;)Lorg/graalvm/compiler/phases/util/Providers;
astore 1
18: new java.util.EnumMap
dup
ldc Lcom/oracle/svm/core/graal/meta/SubstrateRegisterConfig$ConfigKind;
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
astore 12
start local 12 19: invokestatic com.oracle.svm.core.graal.meta.SubstrateRegisterConfig$ConfigKind.values:()[Lcom/oracle/svm/core/graal/meta/SubstrateRegisterConfig$ConfigKind;
dup
astore 16
arraylength
istore 15
iconst_0
istore 14
goto 30
StackMap locals: com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder org.graalvm.compiler.phases.util.Providers org.graalvm.compiler.nodes.spi.StampProvider jdk.vm.ci.meta.ConstantReflectionProvider org.graalvm.compiler.core.common.spi.ConstantFieldProvider org.graalvm.compiler.api.replacements.SnippetReflectionProvider org.graalvm.compiler.core.common.spi.ForeignCallsProvider org.graalvm.compiler.nodes.gc.BarrierSet org.graalvm.compiler.nodes.spi.PlatformConfigurationProvider org.graalvm.compiler.core.common.spi.MetaAccessExtensionProvider org.graalvm.compiler.nodes.spi.LoweringProvider org.graalvm.compiler.nodes.spi.Replacements java.util.EnumMap top int int com.oracle.svm.core.graal.meta.SubstrateRegisterConfig$ConfigKind[]
StackMap stack:
20: aload 16
iload 14
aaload
astore 13
start local 13 21: ldc Lcom/oracle/svm/core/graal/code/SubstrateRegisterConfigFactory;
invokestatic org.graalvm.nativeimage.ImageSingletons.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.oracle.svm.core.graal.code.SubstrateRegisterConfigFactory
aload 13
aload 0
getfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic com.oracle.svm.core.config.ConfigurationValues.getTarget:()Lcom/oracle/svm/core/SubstrateTargetDescription;
22: getstatic com.oracle.svm.core.SubstrateOptions.PreserveFramePointer:Lcom/oracle/svm/core/option/HostedOptionKey;
invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
23: invokeinterface com.oracle.svm.core.graal.code.SubstrateRegisterConfigFactory.newRegisterFactory:(Lcom/oracle/svm/core/graal/meta/SubstrateRegisterConfig$ConfigKind;Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/code/TargetDescription;Ljava/lang/Boolean;)Ljdk/vm/ci/code/RegisterConfig;
astore 17
start local 17 24: aload 0
aload 17
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createCodeCacheProvider:(Ljdk/vm/ci/code/RegisterConfig;)Ljdk/vm/ci/code/CodeCacheProvider;
astore 18
start local 18 25: aload 0
aload 18
aload 3
aload 4
aload 6
aload 10
aload 11
aload 2
26: aload 5
aload 8
aload 9
27: invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.createProviders:(Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;Lorg/graalvm/compiler/nodes/spi/LoweringProvider;Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/nodes/spi/StampProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;)Lorg/graalvm/compiler/phases/util/Providers;
astore 19
start local 19 28: aload 12
aload 13
invokestatic com.oracle.svm.core.graal.GraalConfiguration.instance:()Lcom/oracle/svm/core/graal/GraalConfiguration;
aload 19
invokevirtual com.oracle.svm.core.graal.GraalConfiguration.createBackend:(Lorg/graalvm/compiler/phases/util/Providers;)Lcom/oracle/svm/core/graal/code/SubstrateBackend;
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 19 end local 18 end local 17 end local 13 29: iinc 14 1
StackMap locals:
StackMap stack:
30: iload 14
iload 15
if_icmplt 20
31: aload 0
new com.oracle.svm.core.graal.meta.RuntimeConfiguration
dup
aload 1
aload 5
aload 12
aload 0
getfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.wordTypes:Lorg/graalvm/compiler/word/WordTypes;
invokespecial com.oracle.svm.core.graal.meta.RuntimeConfiguration.<init>:(Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Ljava/util/EnumMap;Lorg/graalvm/compiler/word/WordTypes;)V
putfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.runtimeConfig:Lcom/oracle/svm/core/graal/meta/RuntimeConfiguration;
32: aload 0
areturn
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 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 33 0 this Lcom/oracle/svm/hosted/code/SharedRuntimeConfigurationBuilder;
2 33 1 p Lorg/graalvm/compiler/phases/util/Providers;
3 33 2 stampProvider Lorg/graalvm/compiler/nodes/spi/StampProvider;
5 33 3 constantReflection Ljdk/vm/ci/meta/ConstantReflectionProvider;
7 33 4 constantFieldProvider Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
8 33 5 snippetReflection Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
9 33 6 foreignCalls Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;
11 33 7 barrierSet Lorg/graalvm/compiler/nodes/gc/BarrierSet;
12 33 8 platformConfig Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;
13 33 9 metaAccessExtensionProvider Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;
15 33 10 lowerer Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
17 33 11 replacements Lorg/graalvm/compiler/nodes/spi/Replacements;
19 33 12 backends Ljava/util/EnumMap<Lcom/oracle/svm/core/graal/meta/SubstrateRegisterConfig$ConfigKind;Lcom/oracle/svm/core/graal/code/SubstrateBackend;>;
21 29 13 config Lcom/oracle/svm/core/graal/meta/SubstrateRegisterConfig$ConfigKind;
24 29 17 registerConfig Ljdk/vm/ci/code/RegisterConfig;
25 29 18 codeCacheProvider Ljdk/vm/ci/code/CodeCacheProvider;
28 29 19 newProviders Lorg/graalvm/compiler/phases/util/Providers;
public org.graalvm.compiler.word.WordTypes getWordTypes();
descriptor: ()Lorg/graalvm/compiler/word/WordTypes;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.wordTypes:Lorg/graalvm/compiler/word/WordTypes;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/hosted/code/SharedRuntimeConfigurationBuilder;
protected org.graalvm.compiler.phases.util.Providers createProviders(jdk.vm.ci.code.CodeCacheProvider, jdk.vm.ci.meta.ConstantReflectionProvider, org.graalvm.compiler.core.common.spi.ConstantFieldProvider, org.graalvm.compiler.core.common.spi.ForeignCallsProvider, org.graalvm.compiler.nodes.spi.LoweringProvider, org.graalvm.compiler.nodes.spi.Replacements, org.graalvm.compiler.nodes.spi.StampProvider, org.graalvm.compiler.api.replacements.SnippetReflectionProvider, org.graalvm.compiler.nodes.spi.PlatformConfigurationProvider, org.graalvm.compiler.core.common.spi.MetaAccessExtensionProvider);
descriptor: (Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;Lorg/graalvm/compiler/nodes/spi/LoweringProvider;Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/nodes/spi/StampProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;)Lorg/graalvm/compiler/phases/util/Providers;
flags: (0x0004) ACC_PROTECTED
Code:
stack=14, locals=11, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 0: new org.graalvm.compiler.phases.util.Providers
dup
aload 0
getfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
aload 7
aload 9
1: aload 10
aload 8
aload 0
getfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.wordTypes:Lorg/graalvm/compiler/word/WordTypes;
2: invokespecial org.graalvm.compiler.phases.util.Providers.<init>:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;Lorg/graalvm/compiler/nodes/spi/LoweringProvider;Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/nodes/spi/StampProvider;Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/word/WordTypes;)V
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 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 3 0 this Lcom/oracle/svm/hosted/code/SharedRuntimeConfigurationBuilder;
0 3 1 codeCache Ljdk/vm/ci/code/CodeCacheProvider;
0 3 2 constantReflection Ljdk/vm/ci/meta/ConstantReflectionProvider;
0 3 3 constantFieldProvider Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
0 3 4 foreignCalls Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;
0 3 5 lowerer Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
0 3 6 replacements Lorg/graalvm/compiler/nodes/spi/Replacements;
0 3 7 stampProvider Lorg/graalvm/compiler/nodes/spi/StampProvider;
0 3 8 snippetReflection Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
0 3 9 platformConfigurationProvider Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;
0 3 10 metaAccessExtensionProvider Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;
MethodParameters:
Name Flags
codeCache
constantReflection
constantFieldProvider
foreignCalls
lowerer
replacements
stampProvider
snippetReflection
platformConfigurationProvider
metaAccessExtensionProvider
public com.oracle.svm.core.graal.meta.RuntimeConfiguration getRuntimeConfig();
descriptor: ()Lcom/oracle/svm/core/graal/meta/RuntimeConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.runtimeConfig:Lcom/oracle/svm/core/graal/meta/RuntimeConfiguration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/hosted/code/SharedRuntimeConfigurationBuilder;
protected org.graalvm.compiler.nodes.spi.StampProvider createStampProvider(org.graalvm.compiler.phases.util.Providers);
descriptor: (Lorg/graalvm/compiler/phases/util/Providers;)Lorg/graalvm/compiler/nodes/spi/StampProvider;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new com.oracle.svm.core.graal.meta.SubstrateStampProvider
dup
aload 1
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
invokespecial com.oracle.svm.core.graal.meta.SubstrateStampProvider.<init>:(Ljdk/vm/ci/meta/MetaAccessProvider;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/hosted/code/SharedRuntimeConfigurationBuilder;
0 1 1 p Lorg/graalvm/compiler/phases/util/Providers;
MethodParameters:
Name Flags
p
protected abstract jdk.vm.ci.meta.ConstantReflectionProvider createConstantReflectionProvider(org.graalvm.compiler.phases.util.Providers);
descriptor: (Lorg/graalvm/compiler/phases/util/Providers;)Ljdk/vm/ci/meta/ConstantReflectionProvider;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
p
protected abstract org.graalvm.compiler.core.common.spi.ConstantFieldProvider createConstantFieldProvider(org.graalvm.compiler.phases.util.Providers);
descriptor: (Lorg/graalvm/compiler/phases/util/Providers;)Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
p
protected org.graalvm.compiler.api.replacements.SnippetReflectionProvider createSnippetReflectionProvider();
descriptor: ()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.svm.core.graal.meta.SubstrateSnippetReflectionProvider
dup
aload 0
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.getWordTypes:()Lorg/graalvm/compiler/word/WordTypes;
invokespecial com.oracle.svm.core.graal.meta.SubstrateSnippetReflectionProvider.<init>:(Lorg/graalvm/compiler/word/WordTypes;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/hosted/code/SharedRuntimeConfigurationBuilder;
protected org.graalvm.compiler.core.common.spi.ForeignCallsProvider createForeignCallsProvider();
descriptor: ()Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new com.oracle.svm.core.graal.meta.SubstrateForeignCallsProvider
dup
invokespecial com.oracle.svm.core.graal.meta.SubstrateForeignCallsProvider.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/hosted/code/SharedRuntimeConfigurationBuilder;
protected org.graalvm.compiler.nodes.spi.LoweringProvider createLoweringProvider(org.graalvm.compiler.phases.util.Providers);
descriptor: (Lorg/graalvm/compiler/phases/util/Providers;)Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
invokevirtual org.graalvm.compiler.phases.util.Providers.getForeignCalls:()Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;
aload 1
invokevirtual org.graalvm.compiler.phases.util.Providers.getPlatformConfigurationProvider:()Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;
aload 1
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccessExtensionProvider:()Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;
invokestatic com.oracle.svm.core.graal.meta.SubstrateLoweringProvider.create:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallsProvider;Lorg/graalvm/compiler/nodes/spi/PlatformConfigurationProvider;Lorg/graalvm/compiler/core/common/spi/MetaAccessExtensionProvider;)Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/hosted/code/SharedRuntimeConfigurationBuilder;
0 1 1 p Lorg/graalvm/compiler/phases/util/Providers;
MethodParameters:
Name Flags
p
protected abstract org.graalvm.compiler.nodes.spi.Replacements createReplacements(org.graalvm.compiler.phases.util.Providers, org.graalvm.compiler.api.replacements.SnippetReflectionProvider);
descriptor: (Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;)Lorg/graalvm/compiler/nodes/spi/Replacements;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
p
snippetReflection
protected abstract jdk.vm.ci.code.CodeCacheProvider createCodeCacheProvider(jdk.vm.ci.code.RegisterConfig);
descriptor: (Ljdk/vm/ci/code/RegisterConfig;)Ljdk/vm/ci/code/CodeCacheProvider;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
registerConfig
public void updateLazyState(com.oracle.svm.hosted.meta.HostedMetaAccess);
descriptor: (Lcom/oracle/svm/hosted/meta/HostedMetaAccess;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=11, args_size=2
start local 0 start local 1 0: new com.oracle.svm.hosted.config.HybridLayout
dup
ldc Lcom/oracle/svm/core/hub/DynamicHub;
invokestatic com.oracle.svm.core.config.ConfigurationValues.getObjectLayout:()Lcom/oracle/svm/core/config/ObjectLayout;
aload 1
invokespecial com.oracle.svm.hosted.config.HybridLayout.<init>:(Ljava/lang/Class;Lcom/oracle/svm/core/config/ObjectLayout;Lcom/oracle/svm/hosted/meta/HostedMetaAccess;)V
astore 2
start local 2 1: aload 2
invokevirtual com.oracle.svm.hosted.config.HybridLayout.getArrayBaseOffset:()I
istore 3
start local 3 2: invokestatic com.oracle.svm.core.config.ConfigurationValues.getObjectLayout:()Lcom/oracle/svm/core/config/ObjectLayout;
aload 2
invokevirtual com.oracle.svm.hosted.config.HybridLayout.getArrayElementStorageKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual com.oracle.svm.core.config.ObjectLayout.sizeInBytes:(Ljdk/vm/ci/meta/JavaKind;)I
istore 4
start local 4 3: invokestatic com.oracle.svm.core.config.ConfigurationValues.getObjectLayout:()Lcom/oracle/svm/core/config/ObjectLayout;
invokestatic com.oracle.svm.hosted.config.HybridLayout.getTypeIDSlotsFieldOffset:(Lcom/oracle/svm/core/config/ObjectLayout;)I
istore 5
start local 5 4: aload 1
ldc Lcom/oracle/svm/core/hub/DynamicHub;
ldc "componentHub"
invokestatic com.oracle.svm.util.ReflectionUtil.lookupField:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual com.oracle.svm.hosted.meta.HostedMetaAccess.lookupJavaField:(Ljava/lang/reflect/Field;)Lcom/oracle/svm/hosted/meta/HostedField;
invokevirtual com.oracle.svm.hosted.meta.HostedField.getLocation:()I
istore 6
start local 6 5: aload 0
ldc Lcom/oracle/svm/core/stack/JavaFrameAnchor;
ldc "getLastJavaSP"
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.findStructOffset:(Ljava/lang/Class;Ljava/lang/String;)I
istore 7
start local 7 6: aload 0
ldc Lcom/oracle/svm/core/stack/JavaFrameAnchor;
ldc "getLastJavaIP"
invokevirtual com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.findStructOffset:(Ljava/lang/Class;Ljava/lang/String;)I
istore 8
start local 8 7: iconst_m1
istore 9
start local 9 8: getstatic com.oracle.svm.core.SubstrateOptions.MultiThreaded:Lcom/oracle/svm/core/option/HostedOptionKey;
invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 10
9: ldc Lcom/oracle/svm/hosted/thread/VMThreadMTFeature;
invokestatic org.graalvm.nativeimage.ImageSingletons.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.oracle.svm.hosted.thread.VMThreadMTFeature
getstatic com.oracle.svm.core.thread.VMThreads$StatusSupport.statusTL:Lcom/oracle/svm/core/threadlocal/FastThreadLocalInt;
invokevirtual com.oracle.svm.hosted.thread.VMThreadMTFeature.offsetOf:(Lcom/oracle/svm/core/threadlocal/FastThreadLocal;)I
istore 9
10: StackMap locals: com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder com.oracle.svm.hosted.meta.HostedMetaAccess com.oracle.svm.hosted.config.HybridLayout int int int int int int int
StackMap stack:
aload 1
ldc Lcom/oracle/svm/core/code/ImageCodeInfo;
ldc "codeStart"
invokestatic com.oracle.svm.util.ReflectionUtil.lookupField:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual com.oracle.svm.hosted.meta.HostedMetaAccess.lookupJavaField:(Ljava/lang/reflect/Field;)Lcom/oracle/svm/hosted/meta/HostedField;
invokevirtual com.oracle.svm.hosted.meta.HostedField.getLocation:()I
istore 10
start local 10 11: aload 0
getfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.runtimeConfig:Lcom/oracle/svm/core/graal/meta/RuntimeConfiguration;
iload 3
iload 4
iload 5
iload 6
12: iload 7
iload 8
iload 9
iload 10
13: invokevirtual com.oracle.svm.core.graal.meta.RuntimeConfiguration.setLazyState:(IIIIIIII)V
14: return
end local 10 end local 9 end local 8 end local 7 end local 6 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 15 0 this Lcom/oracle/svm/hosted/code/SharedRuntimeConfigurationBuilder;
0 15 1 hMetaAccess Lcom/oracle/svm/hosted/meta/HostedMetaAccess;
1 15 2 hubLayout Lcom/oracle/svm/hosted/config/HybridLayout<Lcom/oracle/svm/core/hub/DynamicHub;>;
2 15 3 vtableBaseOffset I
3 15 4 vtableEntrySize I
4 15 5 typeIDSlotsOffset I
5 15 6 componentHubOffset I
6 15 7 javaFrameAnchorLastSPOffset I
7 15 8 javaFrameAnchorLastIPOffset I
8 15 9 vmThreadStatusOffset I
11 15 10 imageCodeInfoCodeStartOffset I
MethodParameters:
Name Flags
hMetaAccess
private int findStructOffset(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.nativeLibraries:Lcom/oracle/svm/hosted/c/NativeLibraries;
aload 0
getfield com.oracle.svm.hosted.code.SharedRuntimeConfigurationBuilder.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
aload 2
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokevirtual com.oracle.svm.hosted.c.NativeLibraries.findElementInfo:(Ljava/lang/reflect/AnnotatedElement;)Lcom/oracle/svm/hosted/c/info/ElementInfo;
checkcast com.oracle.svm.hosted.c.info.AccessorInfo
astore 3
start local 3 1: aload 3
invokevirtual com.oracle.svm.hosted.c.info.AccessorInfo.getParent:()Lcom/oracle/svm/hosted/c/info/ElementInfo;
checkcast com.oracle.svm.hosted.c.info.StructFieldInfo
astore 4
start local 4 2: aload 4
invokevirtual com.oracle.svm.hosted.c.info.StructFieldInfo.getOffsetInfo:()Lcom/oracle/svm/hosted/c/info/PropertyInfo;
invokevirtual com.oracle.svm.hosted.c.info.PropertyInfo.getProperty:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
3: ireturn
end local 4 end local 3 4: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 3
start local 3 5: aload 3
invokestatic com.oracle.svm.core.util.VMError.shouldNotReachHere:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/svm/hosted/code/SharedRuntimeConfigurationBuilder;
0 6 1 clazz Ljava/lang/Class<*>;
0 6 2 accessorName Ljava/lang/String;
1 4 3 accessorInfo Lcom/oracle/svm/hosted/c/info/AccessorInfo;
2 4 4 structFieldInfo Lcom/oracle/svm/hosted/c/info/StructFieldInfo;
5 6 3 ex Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 3 4 Class java.lang.ReflectiveOperationException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)I
MethodParameters:
Name Flags
clazz
accessorName
}
SourceFile: "SharedRuntimeConfigurationBuilder.java"
InnerClasses:
public final ConfigKind = com.oracle.svm.core.graal.meta.SubstrateRegisterConfig$ConfigKind of com.oracle.svm.core.graal.meta.SubstrateRegisterConfig
public StatusSupport = com.oracle.svm.core.thread.VMThreads$StatusSupport of com.oracle.svm.core.thread.VMThreads