public class org.graalvm.compiler.core.test.VolatileReadEliminateWrongMemoryStateTest 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.core.test.VolatileReadEliminateWrongMemoryStateTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
private static volatile int volatileField;
descriptor: I
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static int field;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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/core/test/VolatileReadEliminateWrongMemoryStateTest;
public static int testMethod();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_0
putstatic org.graalvm.compiler.core.test.VolatileReadEliminateWrongMemoryStateTest.field:I
1: getstatic org.graalvm.compiler.core.test.VolatileReadEliminateWrongMemoryStateTest.field:I
iconst_1
iadd
putstatic org.graalvm.compiler.core.test.VolatileReadEliminateWrongMemoryStateTest.field:I
2: getstatic org.graalvm.compiler.core.test.VolatileReadEliminateWrongMemoryStateTest.volatileField:I
pop
3: getstatic org.graalvm.compiler.core.test.VolatileReadEliminateWrongMemoryStateTest.field:I
iconst_1
iadd
putstatic org.graalvm.compiler.core.test.VolatileReadEliminateWrongMemoryStateTest.field:I
4: getstatic org.graalvm.compiler.core.test.VolatileReadEliminateWrongMemoryStateTest.field:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void test1();
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/core/test/VolatileReadEliminateWrongMemoryStateTest;
RuntimeInvisibleAnnotations:
Test()
public static void testMethod2(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: getstatic org.graalvm.compiler.core.test.VolatileReadEliminateWrongMemoryStateTest.volatileField:I
iconst_1
iadd
putstatic org.graalvm.compiler.core.test.VolatileReadEliminateWrongMemoryStateTest.volatileField:I
2: aload 1
monitorexit
3: goto 6
StackMap locals: java.lang.Object java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 obj Ljava/lang/Object;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
obj
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/core/test/VolatileReadEliminateWrongMemoryStateTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "VolatileReadEliminateWrongMemoryStateTest.java"