public class org.graalvm.compiler.replacements.test.NewInstanceTest 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.replacements.test.NewInstanceTest
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/replacements/test/NewInstanceTest;
protected void assertDeepEquals(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \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/replacements/test/NewInstanceTest;
MethodParameters:
Name Flags
expected
actual
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/replacements/test/NewInstanceTest;
RuntimeInvisibleAnnotations:
Test()
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/replacements/test/NewInstanceTest;
RuntimeInvisibleAnnotations:
Test()
public static java.lang.Object newObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public void test3();
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/NewInstanceTest;
RuntimeInvisibleAnnotations:
Test()
public void test4();
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/NewInstanceTest;
RuntimeInvisibleAnnotations:
Test()
public void test5();
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/NewInstanceTest;
RuntimeInvisibleAnnotations:
Test()
public void test6();
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/NewInstanceTest;
RuntimeInvisibleAnnotations:
Test()
public void test7();
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/NewInstanceTest;
RuntimeInvisibleAnnotations:
Test()
public void test8();
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/NewInstanceTest;
RuntimeInvisibleAnnotations:
Test()
public void test9();
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/NewInstanceTest;
RuntimeInvisibleAnnotations:
Test()
public static java.lang.Object[] newObjectTwice();
descriptor: ()[Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: iconst_2
anewarray java.lang.Object
dup
iconst_0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
aastore
dup
iconst_1
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
aastore
astore 0
start local 0 1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 res [Ljava/lang/Object;
public static java.lang.Object[] newObjectLoop(int);
descriptor: (I)[Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: iload 0
anewarray java.lang.Object
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 1
iload 2
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 0
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 n I
1 7 1 res [Ljava/lang/Object;
2 6 2 i I
MethodParameters:
Name Flags
n
public static org.graalvm.compiler.replacements.test.NewInstanceTest$BigObject newBigObject();
descriptor: ()Lorg/graalvm/compiler/replacements/test/NewInstanceTest$BigObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.graalvm.compiler.replacements.test.NewInstanceTest$BigObject
dup
invokespecial org.graalvm.compiler.replacements.test.NewInstanceTest$BigObject.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject newSomeObject();
descriptor: ()Lorg/graalvm/compiler/replacements/test/NewInstanceTest$SomeObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject
dup
invokespecial org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String newEmptyString();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.String
dup
invokespecial java.lang.String.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String newString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.String
dup
aload 0
invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public static java.util.HashMap<?, ?> newHashMap(int);
descriptor: (I)Ljava/util/HashMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.HashMap
dup
iload 0
invokespecial java.util.HashMap.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 initialCapacity I
Signature: (I)Ljava/util/HashMap<**>;
MethodParameters:
Name Flags
initialCapacity
public static java.lang.Object newRegression(boolean);
descriptor: (Z)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: iload 0
ifeq 10
1: bipush 6
anewarray java.lang.Object
dup
iconst_0
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
iconst_5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
astore 2
start local 2 2: new org.graalvm.compiler.replacements.test.NewInstanceTest$B
dup
invokespecial org.graalvm.compiler.replacements.test.NewInstanceTest$B.<init>:()V
astore 1
start local 1 3: iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: java.lang.Object java.lang.Object[] int
StackMap stack:
aload 2
iload 3
aaload
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 2
arraylength
if_icmplt 5
end local 3 end local 2 9: goto 11
end local 1 10: StackMap locals:
StackMap stack:
new org.graalvm.compiler.replacements.test.NewInstanceTest$B
dup
invokespecial org.graalvm.compiler.replacements.test.NewInstanceTest$B.<init>:()V
astore 1
start local 1 11: StackMap locals: java.lang.Object
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 condition Z
3 10 1 result Ljava/lang/Object;
11 12 1 result Ljava/lang/Object;
2 9 2 arr [Ljava/lang/Object;
4 9 3 i I
MethodParameters:
Name Flags
condition
}
SourceFile: "NewInstanceTest.java"
NestMembers:
org.graalvm.compiler.replacements.test.NewInstanceTest$B org.graalvm.compiler.replacements.test.NewInstanceTest$BigObject org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject
InnerClasses:
B = org.graalvm.compiler.replacements.test.NewInstanceTest$B of org.graalvm.compiler.replacements.test.NewInstanceTest
BigObject = org.graalvm.compiler.replacements.test.NewInstanceTest$BigObject of org.graalvm.compiler.replacements.test.NewInstanceTest
SomeObject = org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject of org.graalvm.compiler.replacements.test.NewInstanceTest