public class org.graalvm.compiler.hotspot.test.PolymorphicInliningTest 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.PolymorphicInliningTest
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 0: aload 0
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/PolymorphicInliningTest;
public void initializeNotInlinableMethod();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tBefore cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/PolymorphicInliningTest;
RuntimeInvisibleAnnotations:
Before()
public int snippet(org.graalvm.compiler.hotspot.test.PolymorphicInliningTest$SuperClass);
descriptor: (Lorg/graalvm/compiler/hotspot/test/PolymorphicInliningTest$SuperClass;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.hotspot.test.PolymorphicInliningTest$SuperClass.foo:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/PolymorphicInliningTest;
0 1 1 receiver Lorg/graalvm/compiler/hotspot/test/PolymorphicInliningTest$SuperClass;
MethodParameters:
Name Flags
receiver
public void testBimorphicInlined();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/PolymorphicInliningTest;
RuntimeInvisibleAnnotations:
Test()
public void testBimorphicNotInlined();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/PolymorphicInliningTest;
RuntimeInvisibleAnnotations:
Test()
public void testMegamorphicInlined();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/PolymorphicInliningTest;
RuntimeInvisibleAnnotations:
Test()
public void testMegamorphicNotInlined();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/PolymorphicInliningTest;
RuntimeInvisibleAnnotations:
Test()
private static org.graalvm.compiler.options.OptionValues disableInlineDuringParsing();
descriptor: ()Lorg/graalvm/compiler/options/OptionValues;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=0, args_size=0
0: new org.graalvm.compiler.options.OptionValues
dup
invokestatic org.graalvm.compiler.hotspot.test.PolymorphicInliningTest.getInitialOptions:()Lorg/graalvm/compiler/options/OptionValues;
getstatic org.graalvm.compiler.java.BytecodeParserOptions.InlineDuringParsing:Lorg/graalvm/compiler/options/OptionKey;
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
iconst_2
anewarray java.lang.Object
dup
iconst_0
getstatic org.graalvm.compiler.java.BytecodeParserOptions.InlineIntrinsicsDuringParsing:Lorg/graalvm/compiler/options/OptionKey;
aastore
dup
iconst_1
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
invokespecial org.graalvm.compiler.options.OptionValues.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/OptionKey;Ljava/lang/Object;[Ljava/lang/Object;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void injectTypeProfile(org.graalvm.compiler.nodes.StructuredGraph, java.lang.String, jdk.vm.ci.meta.JavaTypeProfile);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/String;Ljdk/vm/ci/meta/JavaTypeProfile;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.graalvm.compiler.nodes.java.MethodCallTargetNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph java.lang.String jdk.vm.ci.meta.JavaTypeProfile top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.java.MethodCallTargetNode
astore 3
start local 3 2: aload 1
aload 3
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.targetName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 3
aload 2
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.setJavaTypeProfile:(Ljdk/vm/ci/meta/JavaTypeProfile;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 6 1 targetMethod Ljava/lang/String;
0 6 2 profile Ljdk/vm/ci/meta/JavaTypeProfile;
2 4 3 callTargetNode Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
MethodParameters:
Name Flags
graph
targetMethod
profile
private static int getNodeCount(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Class<? extends org.graalvm.compiler.graph.Node>);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
aload 1
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.count:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 1 1 nodeClass Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;
Signature: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class<+Lorg/graalvm/compiler/graph/Node;>;)I
MethodParameters:
Name Flags
graph
nodeClass
}
SourceFile: "PolymorphicInliningTest.java"
NestMembers:
org.graalvm.compiler.hotspot.test.PolymorphicInliningTest$A org.graalvm.compiler.hotspot.test.PolymorphicInliningTest$B org.graalvm.compiler.hotspot.test.PolymorphicInliningTest$NotInlinableSubClass org.graalvm.compiler.hotspot.test.PolymorphicInliningTest$SuperClass
InnerClasses:
private A = org.graalvm.compiler.hotspot.test.PolymorphicInliningTest$A of org.graalvm.compiler.hotspot.test.PolymorphicInliningTest
private B = org.graalvm.compiler.hotspot.test.PolymorphicInliningTest$B of org.graalvm.compiler.hotspot.test.PolymorphicInliningTest
private NotInlinableSubClass = org.graalvm.compiler.hotspot.test.PolymorphicInliningTest$NotInlinableSubClass of org.graalvm.compiler.hotspot.test.PolymorphicInliningTest
private abstract SuperClass = org.graalvm.compiler.hotspot.test.PolymorphicInliningTest$SuperClass of org.graalvm.compiler.hotspot.test.PolymorphicInliningTest