public class org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest 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.api.directives.test.AllocationInstrumentationTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
private org.graalvm.compiler.api.directives.test.TinyInstrumentor instrumentor;
descriptor: Lorg/graalvm/compiler/api/directives/test/TinyInstrumentor;
flags: (0x0002) ACC_PRIVATE
public static boolean allocationWasExecuted;
descriptor: Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public void <init>();
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\tThe import org.junit cannot be resolved\n\tThe import org.junit cannot be resolved\n\tAssert cannot be resolved\n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n\tTest cannot be resolved to a type\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/api/directives/test/AllocationInstrumentationTest;
private static void resetFlag();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest.allocationWasExecuted:Z
1: return
LocalVariableTable:
Start End Slot Name Signature
static void instrumentation();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.instrumentationBeginForPredecessor:()V
1: iconst_1
putstatic org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest.allocationWasExecuted:Z
2: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.instrumentationEnd:()V
3: return
LocalVariableTable:
Start End Slot Name Signature
public static void notEscapeSnippet();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: new org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest$ClassA
invokespecial org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest$ClassA.<init>:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public void testNotEscape();
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/api/directives/test/AllocationInstrumentationTest;
RuntimeInvisibleAnnotations:
Test()
public static void mustEscapeSnippet();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest$ClassA
dup
invokespecial org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest$ClassA.<init>:()V
astore 0
start local 0 1: aload 0
invokevirtual org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest$ClassA.notInlinedMethod:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 a Lorg/graalvm/compiler/api/directives/test/AllocationInstrumentationTest$ClassA;
public void testMustEscape();
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/api/directives/test/AllocationInstrumentationTest;
RuntimeInvisibleAnnotations:
Test()
public static void partialEscapeSnippet(boolean);
descriptor: (Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest$ClassA
dup
invokespecial org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest$ClassA.<init>:()V
astore 1
start local 1 1: iload 0
ifeq 3
2: aload 1
invokevirtual org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest$ClassA.notInlinedMethod:()V
3: StackMap locals: org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest$ClassA
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 condition Z
1 4 1 a Lorg/graalvm/compiler/api/directives/test/AllocationInstrumentationTest$ClassA;
MethodParameters:
Name Flags
condition
public void testPartialEscape();
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\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/api/directives/test/AllocationInstrumentationTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "AllocationInstrumentationTest.java"
NestMembers:
org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest$ClassA
InnerClasses:
public ClassA = org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest$ClassA of org.graalvm.compiler.api.directives.test.AllocationInstrumentationTest