public final class org.graalvm.compiler.jtt.threads.Thread_holdsLock01 extends org.graalvm.compiler.jtt.JTTTest
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.jtt.threads.Thread_holdsLock01
super_class: org.graalvm.compiler.jtt.JTTTest
{
static final java.lang.Object monitor;
descriptor: Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
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.jtt.threads.Thread_holdsLock01.monitor:Ljava/lang/Object;
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.jtt.JTTTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/jtt/threads/Thread_holdsLock01;
public static boolean test(int);
descriptor: (I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
ifne 6
1: getstatic org.graalvm.compiler.jtt.threads.Thread_holdsLock01.monitor:Ljava/lang/Object;
dup
astore 1
monitorenter
2: getstatic org.graalvm.compiler.jtt.threads.Thread_holdsLock01.monitor:Ljava/lang/Object;
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
aload 1
monitorexit
3: ireturn
4: StackMap locals: int java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
iload 0
iconst_1
if_icmpne 9
7: getstatic org.graalvm.compiler.jtt.threads.Thread_holdsLock01.monitor:Ljava/lang/Object;
dup
monitorenter
monitorexit
8: getstatic org.graalvm.compiler.jtt.threads.Thread_holdsLock01.monitor:Ljava/lang/Object;
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ireturn
9: StackMap locals:
StackMap stack:
iload 0
iconst_2
if_icmpne 11
10: aconst_null
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ireturn
11: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.jtt.threads.Thread_holdsLock01.monitor:Ljava/lang/Object;
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 i I
Exception table:
from to target type
2 3 4 any
4 5 4 any
MethodParameters:
Name Flags
i
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/threads/Thread_holdsLock01;
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/threads/Thread_holdsLock01;
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/threads/Thread_holdsLock01;
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/threads/Thread_holdsLock01;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "Thread_holdsLock01.java"