public class org.graalvm.compiler.core.test.CommonedConstantsTest 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.CommonedConstantsTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
public static final java.lang.String[] array;
descriptor: [Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final char[] alphabet;
descriptor: [C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "1"
aastore
dup
iconst_1
ldc "2"
aastore
putstatic org.graalvm.compiler.core.test.CommonedConstantsTest.array:[Ljava/lang/String;
1: ldc "abcdefghijklmnopqrstuvwxyz"
invokevirtual java.lang.String.toCharArray:()[C
putstatic org.graalvm.compiler.core.test.CommonedConstantsTest.alphabet:[C
return
LocalVariableTable:
Start End Slot Name Signature
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/CommonedConstantsTest;
public static java.lang.Object test0Snippet(java.lang.String[], int);
descriptor: ([Ljava/lang/String;I)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
iload 1
invokestatic java.lang.reflect.Array.get:(Ljava/lang/Object;I)Ljava/lang/Object;
astore 2
2: goto 5
StackMap locals: java.lang.String[] int java.lang.Object
StackMap stack: java.lang.ArrayIndexOutOfBoundsException
3: pop
4: getstatic org.graalvm.compiler.core.test.CommonedConstantsTest.array:[Ljava/lang/String;
iconst_0
aaload
astore 2
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 7
6: getstatic org.graalvm.compiler.core.test.CommonedConstantsTest.array:[Ljava/lang/String;
iconst_2
aaload
astore 2
7: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 arr [Ljava/lang/String;
0 8 1 i I
1 8 2 result Ljava/lang/Object;
Exception table:
from to target type
1 2 3 Class java.lang.ArrayIndexOutOfBoundsException
MethodParameters:
Name Flags
arr
i
public void test0();
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/core/test/CommonedConstantsTest;
RuntimeInvisibleAnnotations:
Test()
static int noninlineLength(char[]);
descriptor: ([C)I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s [C
MethodParameters:
Name Flags
s
public static int test1Snippet(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: getstatic org.graalvm.compiler.core.test.CommonedConstantsTest.alphabet:[C
invokestatic org.graalvm.compiler.core.test.CommonedConstantsTest.noninlineLength:([C)I
iconst_1
iadd
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.toCharArray:()[C
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 9
6: StackMap locals: char[] int int
StackMap stack:
getstatic org.graalvm.compiler.core.test.CommonedConstantsTest.alphabet:[C
iload 3
caload
aload 1
iload 3
caload
if_icmpne 8
7: iinc 2 1
8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
getstatic org.graalvm.compiler.core.test.CommonedConstantsTest.alphabet:[C
arraylength
if_icmpge 10
iload 3
aload 1
arraylength
if_icmplt 6
end local 3 10: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 s Ljava/lang/String;
3 11 1 sChars [C
4 11 2 count I
5 10 3 i I
MethodParameters:
Name Flags
s
public void test1();
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/core/test/CommonedConstantsTest;
RuntimeInvisibleAnnotations:
Test()
public static int test2Snippet(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.toCharArray:()[C
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: char[] int int
StackMap stack:
getstatic org.graalvm.compiler.core.test.CommonedConstantsTest.alphabet:[C
iload 3
caload
aload 1
iload 3
caload
if_icmpne 6
5: iinc 2 1
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
getstatic org.graalvm.compiler.core.test.CommonedConstantsTest.alphabet:[C
arraylength
if_icmpge 8
iload 3
aload 1
arraylength
if_icmplt 4
end local 3 8: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 s Ljava/lang/String;
1 9 1 sChars [C
2 9 2 count I
3 8 3 i I
MethodParameters:
Name Flags
s
public void test2();
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/core/test/CommonedConstantsTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "CommonedConstantsTest.java"