public class org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest 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.core.test.UncheckedInterfaceProviderTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
private java.lang.Runnable interfaceField;
descriptor: Ljava/lang/Runnable;
flags: (0x0002) ACC_PRIVATE
private java.lang.Runnable[] interfaceArrayField;
descriptor: [Ljava/lang/Runnable;
flags: (0x0002) ACC_PRIVATE
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/core/test/UncheckedInterfaceProviderTest;
public void snippet(java.lang.Runnable, java.lang.Runnable[]);
descriptor: (Ljava/lang/Runnable;[Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.blackhole:(Ljava/lang/Object;)V
1: aload 2
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.blackhole:(Ljava/lang/Object;)V
2: aload 0
getfield org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest.interfaceField:Ljava/lang/Runnable;
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.blackhole:(Ljava/lang/Object;)V
3: aload 0
getfield org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest.interfaceArrayField:[Ljava/lang/Runnable;
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.blackhole:(Ljava/lang/Object;)V
4: invokestatic org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest.interfaceReturn:()Ljava/lang/Runnable;
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.blackhole:(Ljava/lang/Object;)V
5: invokestatic org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest.interfaceArrayReturn:()[Ljava/lang/Runnable;
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.blackhole:(Ljava/lang/Object;)V
6: invokestatic org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest.interfaceReturnException:()Ljava/lang/Runnable;
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.blackhole:(Ljava/lang/Object;)V
7: invokestatic org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest.interfaceArrayReturnException:()[Ljava/lang/Runnable;
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.blackhole:(Ljava/lang/Object;)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/core/test/UncheckedInterfaceProviderTest;
0 9 1 interfaceParameter Ljava/lang/Runnable;
0 9 2 interfaceArrayParameter [Ljava/lang/Runnable;
MethodParameters:
Name Flags
interfaceParameter
interfaceArrayParameter
public static java.lang.Runnable interfaceReturn();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$A
dup
invokespecial org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$A.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.Runnable[] interfaceArrayReturn();
descriptor: ()[Ljava/lang/Runnable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: iconst_4
anewarray java.lang.Runnable
dup
iconst_0
new org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$A
dup
invokespecial org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$A.<init>:()V
aastore
dup
iconst_1
new org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$B
dup
invokespecial org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$B.<init>:()V
aastore
dup
iconst_2
new org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$C
dup
invokespecial org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$C.<init>:()V
aastore
dup
iconst_3
new org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$D
dup
invokespecial org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$D.<init>:()V
aastore
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.Runnable interfaceReturnException();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$A
dup
invokespecial org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$A.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.Runnable[] interfaceArrayReturnException();
descriptor: ()[Ljava/lang/Runnable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: iconst_4
anewarray java.lang.Runnable
dup
iconst_0
new org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$A
dup
invokespecial org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$A.<init>:()V
aastore
dup
iconst_1
new org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$B
dup
invokespecial org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$B.<init>:()V
aastore
dup
iconst_2
new org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$C
dup
invokespecial org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$C.<init>:()V
aastore
dup
iconst_3
new org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$D
dup
invokespecial org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$D.<init>:()V
aastore
areturn
LocalVariableTable:
Start End Slot Name Signature
protected org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin$InlineInfo bytecodeParserShouldInlineInvoke(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext, jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.ValueNode[]);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/graphbuilderconf/InlineInvokePlugin$InlineInfo;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
ldc "interfaceReturn"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 1
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
ldc "interfaceArrayReturn"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
1: StackMap locals:
StackMap stack:
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
ldc "Exception"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: getstatic org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin$InlineInfo.DO_NOT_INLINE_WITH_EXCEPTION:Lorg/graalvm/compiler/nodes/graphbuilderconf/InlineInvokePlugin$InlineInfo;
areturn
3: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin$InlineInfo.DO_NOT_INLINE_NO_EXCEPTION:Lorg/graalvm/compiler/nodes/graphbuilderconf/InlineInvokePlugin$InlineInfo;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.bytecodeParserShouldInlineInvoke:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/graphbuilderconf/InlineInvokePlugin$InlineInfo;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/core/test/UncheckedInterfaceProviderTest;
0 5 1 b Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
0 5 2 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 5 3 args [Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
b
method
args
public static void setup();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tBeforeClass cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
RuntimeInvisibleAnnotations:
BeforeClass()
public void test();
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 problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n\tThe method instanceOf(Class<UncheckedInterfaceProvider>) is undefined for the type UncheckedInterfaceProviderTest\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\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/core/test/UncheckedInterfaceProviderTest;
RuntimeInvisibleAnnotations:
Test()
private static int arrayDepth(jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
astore 2
start local 2 2: goto 5
3: StackMap locals: int jdk.vm.ci.meta.ResolvedJavaType
StackMap stack:
iinc 1 1
4: aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getComponentType:()Ljdk/vm/ci/meta/ResolvedJavaType;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
ifnull 6
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isArray:()Z
ifne 3
6: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 type Ljdk/vm/ci/meta/ResolvedJavaType;
1 7 1 depth I
2 7 2 t Ljdk/vm/ci/meta/ResolvedJavaType;
MethodParameters:
Name Flags
type
}
SourceFile: "UncheckedInterfaceProviderTest.java"
NestMembers:
org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$A org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$B org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$C org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$D
InnerClasses:
public A = org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$A of org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest
public B = org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$B of org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest
public C = org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$C of org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest
public D = org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest$D of org.graalvm.compiler.core.test.UncheckedInterfaceProviderTest
public final InlineInfo = org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin$InlineInfo of org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin