public class org.graalvm.compiler.api.directives.test.LockInstrumentationTest 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.LockInstrumentationTest
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 final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static boolean lockAfterCheckPoint;
descriptor: Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static boolean checkpoint;
descriptor: Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic org.graalvm.compiler.api.directives.test.LockInstrumentationTest.lock:Ljava/lang/Object;
1: return
LocalVariableTable:
Start End Slot Name Signature
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"
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/LockInstrumentationTest;
private static void resetFlags();
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.LockInstrumentationTest.lockAfterCheckPoint:Z
1: iconst_0
putstatic org.graalvm.compiler.api.directives.test.LockInstrumentationTest.checkpoint:Z
2: 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: getstatic org.graalvm.compiler.api.directives.test.LockInstrumentationTest.checkpoint:Z
putstatic org.graalvm.compiler.api.directives.test.LockInstrumentationTest.lockAfterCheckPoint:Z
2: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.instrumentationEnd:()V
3: return
LocalVariableTable:
Start End Slot Name Signature
public static void lockSnippet();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: getstatic org.graalvm.compiler.api.directives.test.LockInstrumentationTest.lock:Ljava/lang/Object;
dup
astore 0
monitorenter
1: iconst_1
putstatic org.graalvm.compiler.api.directives.test.LockInstrumentationTest.checkpoint:Z
2: new org.graalvm.compiler.api.directives.test.LockInstrumentationTest$ClassA
dup
invokespecial org.graalvm.compiler.api.directives.test.LockInstrumentationTest$ClassA.<init>:()V
astore 1
start local 1 3: aload 1
invokevirtual org.graalvm.compiler.api.directives.test.LockInstrumentationTest$ClassA.notInlinedMethod:()V
end local 1 4: aload 0
monitorexit
5: goto 8
StackMap locals: java.lang.Object
StackMap stack: java.lang.Throwable
6: aload 0
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 4 1 a Lorg/graalvm/compiler/api/directives/test/LockInstrumentationTest$ClassA;
Exception table:
from to target type
1 5 6 any
6 7 6 any
public void testLock();
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/LockInstrumentationTest;
RuntimeInvisibleAnnotations:
Test()
public static void postponeLockSnippet();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: new org.graalvm.compiler.api.directives.test.LockInstrumentationTest$ClassA
dup
invokespecial org.graalvm.compiler.api.directives.test.LockInstrumentationTest$ClassA.<init>:()V
astore 0
start local 0 1: aload 0
dup
astore 1
monitorenter
2: iconst_1
putstatic org.graalvm.compiler.api.directives.test.LockInstrumentationTest.checkpoint:Z
3: aload 0
invokevirtual org.graalvm.compiler.api.directives.test.LockInstrumentationTest$ClassA.notInlinedMethod:()V
4: aload 1
monitorexit
5: goto 8
StackMap locals: org.graalvm.compiler.api.directives.test.LockInstrumentationTest$ClassA org.graalvm.compiler.api.directives.test.LockInstrumentationTest$ClassA
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 9 0 a Lorg/graalvm/compiler/api/directives/test/LockInstrumentationTest$ClassA;
Exception table:
from to target type
2 5 6 any
6 7 6 any
public void testNonEscapeLock();
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/LockInstrumentationTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "LockInstrumentationTest.java"
NestMembers:
org.graalvm.compiler.api.directives.test.LockInstrumentationTest$ClassA
InnerClasses:
public ClassA = org.graalvm.compiler.api.directives.test.LockInstrumentationTest$ClassA of org.graalvm.compiler.api.directives.test.LockInstrumentationTest