public class org.graalvm.compiler.hotspot.test.TestIntrinsicCompiles extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.test.TestIntrinsicCompiles
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.graalvm.compiler.hotspot.test.TestIntrinsicCompiles this
0: .line 55
aload 0 /* this */
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
return
end local 0 // org.graalvm.compiler.hotspot.test.TestIntrinsicCompiles this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/TestIntrinsicCompiles;
public void test();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=15, args_size=1
start local 0 // org.graalvm.compiler.hotspot.test.TestIntrinsicCompiles this
0: .line 60
ldc Lorg/graalvm/compiler/runtime/RuntimeProvider;
invokestatic org.graalvm.compiler.api.test.Graal.getRequiredCapability:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider
astore 1 /* rt */
start local 1 // org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider rt
1: .line 61
aload 1 /* rt */
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getHostBackend:()Lorg/graalvm/compiler/hotspot/HotSpotBackend;
invokevirtual org.graalvm.compiler.hotspot.HotSpotBackend.getProviders:()Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
astore 2 /* providers */
start local 2 // org.graalvm.compiler.hotspot.meta.HotSpotProviders providers
2: .line 62
aload 2 /* providers */
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getGraphBuilderPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
astore 3 /* graphBuilderPlugins */
start local 3 // org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins graphBuilderPlugins
3: .line 63
aload 3 /* graphBuilderPlugins */
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.getInvocationPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;
astore 4 /* invocationPlugins */
start local 4 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins invocationPlugins
4: .line 65
aload 4 /* invocationPlugins */
iconst_1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.getBindings:(Z)Lorg/graalvm/collections/EconomicMap;
astore 5 /* bindings */
start local 5 // org.graalvm.collections.EconomicMap bindings
5: .line 66
aload 1 /* rt */
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getVMConfig:()Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokevirtual org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.getStore:()Ljdk/vm/ci/hotspot/HotSpotVMConfigStore;
astore 6 /* store */
start local 6 // jdk.vm.ci.hotspot.HotSpotVMConfigStore store
6: .line 67
aload 6 /* store */
invokevirtual jdk.vm.ci.hotspot.HotSpotVMConfigStore.getIntrinsics:()Ljava/util/List;
astore 7 /* intrinsics */
start local 7 // java.util.List intrinsics
7: .line 68
invokestatic org.graalvm.compiler.hotspot.test.TestIntrinsicCompiles.getInitialOptions:()Lorg/graalvm/compiler/options/OptionValues;
astore 8 /* options */
start local 8 // org.graalvm.compiler.options.OptionValues options
8: .line 69
aload 0 /* this */
aload 8 /* options */
invokevirtual org.graalvm.compiler.hotspot.test.TestIntrinsicCompiles.getDebugContext:(Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/debug/DebugContext;
astore 9 /* debug */
start local 9 // org.graalvm.compiler.debug.DebugContext debug
9: .line 70
aload 7 /* intrinsics */
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 18
StackMap locals: org.graalvm.compiler.hotspot.test.TestIntrinsicCompiles org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.hotspot.meta.HotSpotProviders org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins org.graalvm.collections.EconomicMap jdk.vm.ci.hotspot.HotSpotVMConfigStore java.util.List org.graalvm.compiler.options.OptionValues org.graalvm.compiler.debug.DebugContext top java.util.Iterator
StackMap stack:
10: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.hotspot.VMIntrinsicMethod
astore 10 /* intrinsic */
start local 10 // jdk.vm.ci.hotspot.VMIntrinsicMethod intrinsic
11: .line 71
aload 5 /* bindings */
aload 10 /* intrinsic */
invokestatic org.graalvm.compiler.hotspot.test.CheckGraalIntrinsics.findPlugin:(Lorg/graalvm/collections/EconomicMap;Ljdk/vm/ci/hotspot/VMIntrinsicMethod;)Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin;
astore 12 /* plugin */
start local 12 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin plugin
12: .line 72
aload 12 /* plugin */
ifnull 18
13: .line 73
aload 12 /* plugin */
instanceof org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin
ifeq 18
14: .line 74
aload 0 /* this */
invokevirtual org.graalvm.compiler.hotspot.test.TestIntrinsicCompiles.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 10 /* intrinsic */
invokestatic org.graalvm.compiler.hotspot.test.CheckGraalIntrinsics.resolveIntrinsic:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/hotspot/VMIntrinsicMethod;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 13 /* method */
start local 13 // jdk.vm.ci.meta.ResolvedJavaMethod method
15: .line 75
aload 13 /* method */
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isNative:()Z
ifne 18
16: .line 76
aload 2 /* providers */
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
aload 13 /* method */
getstatic org.graalvm.compiler.core.common.CompilationIdentifier.INVALID_COMPILATION_ID:Lorg/graalvm/compiler/core/common/CompilationRequestIdentifier;
aload 9 /* debug */
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
aconst_null
invokeinterface org.graalvm.compiler.nodes.spi.Replacements.getIntrinsicGraph:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/core/common/CompilationIdentifier;Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/nodes/Cancellable;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 14 /* graph */
start local 14 // org.graalvm.compiler.nodes.StructuredGraph graph
17: .line 77
aload 0 /* this */
aload 13 /* method */
aload 14 /* graph */
invokevirtual org.graalvm.compiler.hotspot.test.TestIntrinsicCompiles.getCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;)Ljdk/vm/ci/code/InstalledCode;
pop
end local 14 // org.graalvm.compiler.nodes.StructuredGraph graph
end local 13 // jdk.vm.ci.meta.ResolvedJavaMethod method
end local 12 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin plugin
end local 10 // jdk.vm.ci.hotspot.VMIntrinsicMethod intrinsic
18: .line 70
StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
19: .line 82
return
end local 9 // org.graalvm.compiler.debug.DebugContext debug
end local 8 // org.graalvm.compiler.options.OptionValues options
end local 7 // java.util.List intrinsics
end local 6 // jdk.vm.ci.hotspot.HotSpotVMConfigStore store
end local 5 // org.graalvm.collections.EconomicMap bindings
end local 4 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins invocationPlugins
end local 3 // org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins graphBuilderPlugins
end local 2 // org.graalvm.compiler.hotspot.meta.HotSpotProviders providers
end local 1 // org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider rt
end local 0 // org.graalvm.compiler.hotspot.test.TestIntrinsicCompiles this
LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/graalvm/compiler/hotspot/test/TestIntrinsicCompiles;
1 20 1 rt Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
2 20 2 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
3 20 3 graphBuilderPlugins Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
4 20 4 invocationPlugins Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;
5 20 5 bindings Lorg/graalvm/collections/EconomicMap<Ljava/lang/String;Ljava/util/List<Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Binding;>;>;
6 20 6 store Ljdk/vm/ci/hotspot/HotSpotVMConfigStore;
7 20 7 intrinsics Ljava/util/List<Ljdk/vm/ci/hotspot/VMIntrinsicMethod;>;
8 20 8 options Lorg/graalvm/compiler/options/OptionValues;
9 20 9 debug Lorg/graalvm/compiler/debug/DebugContext;
11 18 10 intrinsic Ljdk/vm/ci/hotspot/VMIntrinsicMethod;
12 18 12 plugin Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin;
15 18 13 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
17 18 14 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
Exceptions:
throws java.lang.ClassNotFoundException
RuntimeVisibleAnnotations:
org.junit.Test()
}
SourceFile: "TestIntrinsicCompiles.java"
InnerClasses:
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph
public Plugins = org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins of org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration
public Binding = org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Binding of org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins