public class org.graalvm.compiler.replacements.test.MonitorTest 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.MonitorTest
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/MonitorTest;
public void test0();
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/MonitorTest;
RuntimeInvisibleAnnotations:
Test()
public void test01();
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/MonitorTest;
RuntimeInvisibleAnnotations:
Test()
public void test02();
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/MonitorTest;
RuntimeInvisibleAnnotations:
Test()
public void test101();
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/MonitorTest;
RuntimeInvisibleAnnotations:
Test()
public void test102();
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/MonitorTest;
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/MonitorTest;
RuntimeInvisibleAnnotations:
Test()
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/MonitorTest;
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/MonitorTest;
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/MonitorTest;
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/MonitorTest;
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/MonitorTest;
RuntimeInvisibleAnnotations:
Test()
private static java.lang.String setAndGet(java.lang.String[], java.lang.String);
descriptor: ([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
iconst_0
aconst_null
aastore
2: aload 2
monitorexit
3: goto 6
StackMap locals: java.lang.String[] java.lang.String java.lang.String[]
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
invokestatic java.lang.System.gc:()V
7: aload 0
dup
astore 2
monitorenter
8: aload 0
iconst_0
aload 1
aastore
9: aload 2
monitorexit
10: goto 13
StackMap locals: java.lang.String[] java.lang.String java.lang.String[]
StackMap stack: java.lang.Throwable
11: aload 2
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
aload 0
iconst_0
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 box [Ljava/lang/String;
0 14 1 value Ljava/lang/String;
Exception table:
from to target type
1 3 4 any
4 5 4 any
8 10 11 any
11 12 11 any
MethodParameters:
Name Flags
box
value
public static java.lang.Object lockObjectSimple(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 1
invokevirtual java.lang.Object.hashCode:()I
pop
2: aload 1
aload 2
monitorexit
3: areturn
4: StackMap locals: java.lang.Object java.lang.Object java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
5: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 o Ljava/lang/Object;
0 6 1 value Ljava/lang/Object;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
o
value
public java.lang.String lockThisSimple(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
astore 3
monitorenter
1: aload 1
dup
astore 4
monitorenter
2: aload 2
invokevirtual java.lang.Object.hashCode:()I
pop
3: aload 1
aload 4
monitorexit
4: aload 3
monitorexit
5: areturn
6: StackMap locals: org.graalvm.compiler.replacements.test.MonitorTest java.lang.String java.lang.Object org.graalvm.compiler.replacements.test.MonitorTest java.lang.String
StackMap stack: java.lang.Throwable
aload 4
monitorexit
7: athrow
8: StackMap locals: org.graalvm.compiler.replacements.test.MonitorTest java.lang.String java.lang.Object org.graalvm.compiler.replacements.test.MonitorTest
StackMap stack: java.lang.Throwable
aload 3
monitorexit
9: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/replacements/test/MonitorTest;
0 10 1 value Ljava/lang/String;
0 10 2 o Ljava/lang/Object;
Exception table:
from to target type
2 4 6 any
6 7 6 any
1 5 8 any
6 9 8 any
MethodParameters:
Name Flags
value
o
public static java.lang.String lockObject(java.lang.Object, java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
astore 3
monitorenter
1: aload 2
aload 1
invokestatic org.graalvm.compiler.replacements.test.MonitorTest.setAndGet:([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aload 3
monitorexit
2: areturn
3: StackMap locals: java.lang.Object java.lang.String java.lang.String[] java.lang.Object
StackMap stack: java.lang.Throwable
aload 3
monitorexit
4: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 o Ljava/lang/Object;
0 5 1 value Ljava/lang/String;
0 5 2 box [Ljava/lang/String;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
o
value
box
public java.lang.String lockThis(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
astore 3
monitorenter
1: aload 2
aload 1
invokestatic org.graalvm.compiler.replacements.test.MonitorTest.setAndGet:([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aload 3
monitorexit
2: areturn
3: StackMap locals: org.graalvm.compiler.replacements.test.MonitorTest java.lang.String java.lang.String[] org.graalvm.compiler.replacements.test.MonitorTest
StackMap stack: java.lang.Throwable
aload 3
monitorexit
4: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/replacements/test/MonitorTest;
0 5 1 value Ljava/lang/String;
0 5 2 box [Ljava/lang/String;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
value
box
public static java.lang.String lockLocalObject(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 2
start local 2 1: aload 2
dup
astore 3
monitorenter
2: aload 1
aload 0
invokestatic org.graalvm.compiler.replacements.test.MonitorTest.setAndGet:([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aload 3
monitorexit
3: areturn
4: StackMap locals: java.lang.String java.lang.String[] java.lang.Object java.lang.Object
StackMap stack: java.lang.Throwable
aload 3
monitorexit
5: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 value Ljava/lang/String;
0 6 1 box [Ljava/lang/String;
1 6 2 o Ljava/lang/Object;
Exception table:
from to target type
2 3 4 any
4 5 4 any
MethodParameters:
Name Flags
value
box
public static java.lang.String copyObj(org.graalvm.compiler.replacements.test.MonitorTest$Chars, org.graalvm.compiler.replacements.test.MonitorTest$Chars, int);
descriptor: (Lorg/graalvm/compiler/replacements/test/MonitorTest$Chars;Lorg/graalvm/compiler/replacements/test/MonitorTest$Chars;I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 28
2: StackMap locals: int
StackMap stack:
iconst_0
istore 4
start local 4 3: goto 26
4: StackMap locals: int
StackMap stack:
aload 0
dup
astore 5
monitorenter
5: aload 1
dup
astore 6
monitorenter
6: aload 0
dup
astore 7
monitorenter
7: aload 1
dup
astore 8
monitorenter
8: aload 1
getfield org.graalvm.compiler.replacements.test.MonitorTest$Chars.data:[C
iload 4
aload 0
getfield org.graalvm.compiler.replacements.test.MonitorTest$Chars.data:[C
iload 4
caload
castore
9: aload 8
monitorexit
10: goto 13
StackMap locals: org.graalvm.compiler.replacements.test.MonitorTest$Chars org.graalvm.compiler.replacements.test.MonitorTest$Chars int int int org.graalvm.compiler.replacements.test.MonitorTest$Chars org.graalvm.compiler.replacements.test.MonitorTest$Chars org.graalvm.compiler.replacements.test.MonitorTest$Chars org.graalvm.compiler.replacements.test.MonitorTest$Chars
StackMap stack: java.lang.Throwable
11: aload 8
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
aload 7
monitorexit
14: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 7
monitorexit
16: athrow
17: StackMap locals:
StackMap stack:
aload 6
monitorexit
18: goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
19: aload 6
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
aload 5
monitorexit
22: goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
23: aload 5
monitorexit
24: athrow
25: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
26: iload 4
aload 0
getfield org.graalvm.compiler.replacements.test.MonitorTest$Chars.data:[C
arraylength
if_icmplt 4
end local 4 27: iinc 3 1
StackMap locals:
StackMap stack:
28: iload 3
iload 2
if_icmplt 2
end local 3 29: new java.lang.String
dup
aload 1
getfield org.graalvm.compiler.replacements.test.MonitorTest$Chars.data:[C
invokespecial java.lang.String.<init>:([C)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 src Lorg/graalvm/compiler/replacements/test/MonitorTest$Chars;
0 30 1 dst Lorg/graalvm/compiler/replacements/test/MonitorTest$Chars;
0 30 2 n I
1 29 3 j I
3 27 4 i I
Exception table:
from to target type
8 10 11 any
11 12 11 any
7 14 15 any
15 16 15 any
6 18 19 any
19 20 19 any
5 22 23 any
23 24 23 any
MethodParameters:
Name Flags
src
dst
n
public static java.lang.String copyArr(char[], char[], int);
descriptor: ([C[CI)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 28
2: StackMap locals: int
StackMap stack:
iconst_0
istore 4
start local 4 3: goto 26
4: StackMap locals: int
StackMap stack:
aload 0
dup
astore 5
monitorenter
5: aload 1
dup
astore 6
monitorenter
6: aload 0
dup
astore 7
monitorenter
7: aload 1
dup
astore 8
monitorenter
8: aload 1
iload 4
aload 0
iload 4
caload
castore
9: aload 8
monitorexit
10: goto 13
StackMap locals: char[] char[] int int int char[] char[] char[] char[]
StackMap stack: java.lang.Throwable
11: aload 8
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
aload 7
monitorexit
14: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 7
monitorexit
16: athrow
17: StackMap locals:
StackMap stack:
aload 6
monitorexit
18: goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
19: aload 6
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
aload 5
monitorexit
22: goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
23: aload 5
monitorexit
24: athrow
25: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
26: iload 4
aload 0
arraylength
if_icmplt 4
end local 4 27: iinc 3 1
StackMap locals:
StackMap stack:
28: iload 3
iload 2
if_icmplt 2
end local 3 29: new java.lang.String
dup
aload 1
invokespecial java.lang.String.<init>:([C)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 src [C
0 30 1 dst [C
0 30 2 n I
1 29 3 j I
3 27 4 i I
Exception table:
from to target type
8 10 11 any
11 12 11 any
7 14 15 any
15 16 15 any
6 18 19 any
19 20 19 any
5 22 23 any
23 24 23 any
MethodParameters:
Name Flags
src
dst
n
public static java.lang.String lockBoxedLong(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: lload 0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 2
start local 2 1: aload 2
dup
astore 3
monitorenter
2: aload 2
invokevirtual java.lang.Long.toString:()Ljava/lang/String;
aload 3
monitorexit
3: areturn
4: StackMap locals: long java.lang.Long java.lang.Long
StackMap stack: java.lang.Throwable
aload 3
monitorexit
5: athrow
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 value J
1 6 2 lock Ljava/lang/Long;
Exception table:
from to target type
2 3 4 any
4 5 4 any
MethodParameters:
Name Flags
value
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/MonitorTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "MonitorTest.java"
NestMembers:
org.graalvm.compiler.replacements.test.MonitorTest$Chars
InnerClasses:
Chars = org.graalvm.compiler.replacements.test.MonitorTest$Chars of org.graalvm.compiler.replacements.test.MonitorTest