public class org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest extends org.graalvm.compiler.replacements.test.MethodSubstitutionTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest
super_class: org.graalvm.compiler.replacements.test.MethodSubstitutionTest
{
private static final int N;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
public static int[] intArrayCompare;
descriptor: [I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static int[] intArray;
descriptor: [I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static final int[] constantArray1;
descriptor: [I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int[] constantArray2;
descriptor: [I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int[] constantArray3;
descriptor: [I
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: bipush 9
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
dup
iconst_3
iconst_4
iastore
dup
iconst_4
iconst_5
iastore
dup
iconst_5
bipush 6
iastore
dup
bipush 6
bipush 7
iastore
dup
bipush 7
bipush 8
iastore
dup
bipush 8
bipush 9
iastore
putstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.intArrayCompare:[I
1: bipush 9
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
dup
iconst_3
iconst_4
iastore
dup
iconst_4
iconst_5
iastore
dup
iconst_5
bipush 6
iastore
dup
bipush 6
bipush 7
iastore
dup
bipush 7
bipush 8
iastore
dup
bipush 8
bipush 9
iastore
putstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.constantArray1:[I
2: bipush 9
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
dup
iconst_3
iconst_4
iastore
dup
iconst_4
iconst_5
iastore
dup
iconst_5
bipush 6
iastore
dup
bipush 6
bipush 7
iastore
dup
bipush 7
bipush 8
iastore
dup
bipush 8
bipush 9
iastore
putstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.constantArray2:[I
3: iconst_3
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
putstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.constantArray3:[I
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.replacements.test.MethodSubstitutionTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/ArraysSubstitutionsTest;
public void testEqualsBoolean();
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean arraysEqualsBoolean(boolean[], boolean[]);
descriptor: ([Z[Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.equals:([Z[Z)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [Z
0 1 1 b [Z
MethodParameters:
Name Flags
a
b
public void testEqualsByte();
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean arraysEqualsByte(byte[], byte[]);
descriptor: ([B[B)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.equals:([B[B)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [B
0 1 1 b [B
MethodParameters:
Name Flags
a
b
public void testEqualsChar();
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean arraysEqualsChar(char[], char[]);
descriptor: ([C[C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.equals:([C[C)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [C
0 1 1 b [C
MethodParameters:
Name Flags
a
b
public void testEqualsShort();
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean arraysEqualsShort(short[], short[]);
descriptor: ([S[S)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.equals:([S[S)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [S
0 1 1 b [S
MethodParameters:
Name Flags
a
b
public void testEqualsInt();
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean arraysEqualsInt(int[], int[]);
descriptor: ([I[I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.equals:([I[I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [I
0 1 1 b [I
MethodParameters:
Name Flags
a
b
public void testEqualsLong();
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean arraysEqualsLong(long[], long[]);
descriptor: ([J[J)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.equals:([J[J)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [J
0 1 1 b [J
MethodParameters:
Name Flags
a
b
public void testEqualsFloat();
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean arraysEqualsFloat(float[], float[]);
descriptor: ([F[F)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.equals:([F[F)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [F
0 1 1 b [F
MethodParameters:
Name Flags
a
b
public void testEqualsDouble();
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean arraysEqualsDouble(double[], double[]);
descriptor: ([D[D)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.equals:([D[D)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a [D
0 1 1 b [D
MethodParameters:
Name Flags
a
b
public void testEqualsNodeGVN();
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean testEqualsNodeGVNSnippet(boolean);
descriptor: (Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: bipush 9
newarray 10
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
dup
iconst_3
iconst_4
iastore
dup
iconst_4
iconst_5
iastore
dup
iconst_5
bipush 6
iastore
dup
bipush 6
bipush 7
iastore
dup
bipush 7
bipush 8
iastore
dup
bipush 8
bipush 9
iastore
astore 1
start local 1 1: aload 1
putstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.intArray:[I
2: iload 0
ifeq 5
3: aload 1
iconst_0
iconst_1
iastore
4: aload 1
getstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.intArrayCompare:[I
invokestatic java.util.Arrays.equals:([I[I)Z
ireturn
5: StackMap locals: int[]
StackMap stack:
aload 1
iconst_0
iconst_1
iastore
6: aload 1
getstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.intArrayCompare:[I
invokestatic java.util.Arrays.equals:([I[I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 b Z
1 7 1 newIntArray [I
MethodParameters:
Name Flags
b
public void testConstants();
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean testConstantsSnippet();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: getstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.constantArray2:[I
iconst_0
bipush 10
iastore
1: getstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.constantArray1:[I
getstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.constantArray2:[I
invokestatic java.util.Arrays.equals:([I[I)Z
istore 1
2: getstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.constantArray2:[I
iconst_0
iconst_1
iastore
3: iload 1
ireturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 0
5: getstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.constantArray2:[I
iconst_0
iconst_1
iastore
6: aload 0
athrow
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 2 4 any
public void testCanonicalLength();
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"
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean testCanonicalLengthSnippet();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.constantArray1:[I
getstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.constantArray3:[I
invokestatic java.util.Arrays.equals:([I[I)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void testCanonicalEqual();
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"
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean testCanonicalEqualSnippet();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.constantArray1:[I
getstatic org.graalvm.compiler.replacements.test.ArraysSubstitutionsTest.constantArray1:[I
invokestatic java.util.Arrays.equals:([I[I)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void testVirtualEqual();
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"
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean testVirtualEqualSnippet();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: iconst_4
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
dup
iconst_3
iconst_4
iastore
astore 0
start local 0 1: iconst_4
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
dup
iconst_3
iconst_4
iastore
astore 1
start local 1 2: aload 0
aload 1
invokestatic java.util.Arrays.equals:([I[I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 array1 [I
2 3 1 array2 [I
public void testVirtualNotEqual();
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"
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/replacements/test/ArraysSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean testVirtualNotEqualSnippet(int);
descriptor: (I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: iconst_4
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
bipush 100
iastore
dup
iconst_3
iload 0
iastore
astore 1
start local 1 1: iconst_4
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
dup
iconst_3
iconst_4
iastore
astore 2
start local 2 2: aload 1
aload 2
invokestatic java.util.Arrays.equals:([I[I)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x I
1 3 1 array1 [I
2 3 2 array2 [I
MethodParameters:
Name Flags
x
}
SourceFile: "ArraysSubstitutionsTest.java"