public class org.graalvm.compiler.jtt.jdk.UnsafeAllocateInstance01 extends org.graalvm.compiler.jtt.JTTTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.jtt.jdk.UnsafeAllocateInstance01
super_class: org.graalvm.compiler.jtt.JTTTest
{
int field01;
descriptor: I
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.jtt.JTTTest.<init>:()V
1: aload 0
bipush 42
putfield org.graalvm.compiler.jtt.jdk.UnsafeAllocateInstance01.field01:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/jtt/jdk/UnsafeAllocateInstance01;
public static int testInstance();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic org.graalvm.compiler.jtt.jdk.UnsafeAllocateInstance01.UNSAFE:Lsun/misc/Unsafe;
ldc Lorg/graalvm/compiler/jtt/jdk/UnsafeAllocateInstance01;
invokevirtual sun.misc.Unsafe.allocateInstance:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.graalvm.compiler.jtt.jdk.UnsafeAllocateInstance01
astore 0
start local 0 1: aload 0
getfield org.graalvm.compiler.jtt.jdk.UnsafeAllocateInstance01.field01:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 newObject Lorg/graalvm/compiler/jtt/jdk/UnsafeAllocateInstance01;
Exceptions:
throws java.lang.SecurityException, java.lang.InstantiationException
public static void testClassForException(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.jtt.jdk.UnsafeAllocateInstance01.UNSAFE:Lsun/misc/Unsafe;
aload 0
invokevirtual sun.misc.Unsafe.allocateInstance:(Ljava/lang/Class;)Ljava/lang/Object;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 clazz Ljava/lang/Class<*>;
Exceptions:
throws java.lang.SecurityException, java.lang.InstantiationException
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
clazz
protected org.graalvm.compiler.core.test.GraalCompilerTest$Result executeExpected(jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Object, java.lang.Object[]);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
arraylength
iconst_1
if_icmpne 4
1: aload 3
iconst_0
aaload
checkcast java.lang.Class
astore 4
start local 4 2: aload 4
invokevirtual java.lang.Class.isArray:()Z
ifeq 4
3: new org.graalvm.compiler.core.test.GraalCompilerTest$Result
dup
aconst_null
new java.lang.InstantiationException
dup
aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokespecial java.lang.InstantiationException.<init>:(Ljava/lang/String;)V
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest$Result.<init>:(Ljava/lang/Object;Ljava/lang/Throwable;)V
areturn
end local 4 4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.jtt.JTTTest.executeExpected:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;
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/jtt/jdk/UnsafeAllocateInstance01;
0 5 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 5 2 receiver Ljava/lang/Object;
0 5 3 args [Ljava/lang/Object;
2 4 4 cl Ljava/lang/Class<*>;
MethodParameters:
Name Flags
method
receiver
args
public void run0();
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/jtt/jdk/UnsafeAllocateInstance01;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
public void run1();
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/jtt/jdk/UnsafeAllocateInstance01;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
public void run7();
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/jtt/jdk/UnsafeAllocateInstance01;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
public void run2();
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/jtt/jdk/UnsafeAllocateInstance01;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
public void run3();
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/jtt/jdk/UnsafeAllocateInstance01;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
public void run4();
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/jtt/jdk/UnsafeAllocateInstance01;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
public void run5();
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\tIgnore cannot be resolved to a type\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/jtt/jdk/UnsafeAllocateInstance01;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
public void run6();
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\tIgnore cannot be resolved to a type\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/jtt/jdk/UnsafeAllocateInstance01;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "UnsafeAllocateInstance01.java"
InnerClasses:
protected Result = org.graalvm.compiler.core.test.GraalCompilerTest$Result of org.graalvm.compiler.core.test.GraalCompilerTest