public class org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest 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.ConditionalEliminationLoadFieldConstantFoldTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
public static int intSideEffect;
descriptor: I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static final org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$B FinalField;
descriptor: Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$B;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$B CONST_B;
descriptor: Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$B;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C CONST_C;
descriptor: Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$D CONST_D;
descriptor: Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$D;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C1 C1_CONST;
descriptor: Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C1;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C2 C2_CONST;
descriptor: Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C2;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C1 C1_AFTER_READ_CONST;
descriptor: Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C1;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final sun.misc.Unsafe UNSAFE;
descriptor: Lsun/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long C2_C1_OFFSET;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: new org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$B
dup
bipush 10
invokespecial org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$B.<init>:(I)V
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.FinalField:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$B;
1: new org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$B
dup
bipush 10
invokespecial org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$B.<init>:(I)V
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.CONST_B:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$B;
2: new org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C
dup
getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.CONST_B:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$B;
invokespecial org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C.<init>:(Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$B;)V
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.CONST_C:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C;
3: new org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$D
dup
getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.CONST_C:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C;
invokespecial org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$D.<init>:(Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C;)V
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.CONST_D:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$D;
4: new org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C1
dup
iconst_0
invokespecial org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C1.<init>:(I)V
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.C1_CONST:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C1;
5: new org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C2
dup
getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.C1_CONST:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C1;
invokespecial org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C2.<init>:(Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C1;)V
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.C2_CONST:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C2;
6: new org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C1
dup
bipush 10
invokespecial org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C1.<init>:(I)V
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.C1_AFTER_READ_CONST:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C1;
7: invokestatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.getUnsafe:()Lsun/misc/Unsafe;
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.UNSAFE:Lsun/misc/Unsafe;
8: ldc Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C2;
ldc "c1"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 0
start local 0 9: getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.UNSAFE:Lsun/misc/Unsafe;
aload 0
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.C2_C1_OFFSET:J
end local 0 10: goto 13
StackMap locals:
StackMap stack: java.lang.Exception
11: astore 0
start local 0 12: new java.lang.RuntimeException
dup
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 13: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
9 10 0 f Ljava/lang/reflect/Field;
12 13 0 e Ljava/lang/Exception;
Exception table:
from to target type
8 10 11 Class java.lang.NoSuchFieldException
8 10 11 Class java.lang.SecurityException
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/ConditionalEliminationLoadFieldConstantFoldTest;
public int testReadConstInBranch(org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$B);
descriptor: (Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$B;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.CONST_B:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$B;
if_acmpne 5
1: aload 1
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$B.a:I
iconst_5
if_icmpne 4
2: aload 1
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$B.a:I
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.intSideEffect:I
3: goto 5
4: StackMap locals:
StackMap stack:
bipush 10
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.intSideEffect:I
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest;
0 6 1 b Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$B;
MethodParameters:
Name Flags
b
public int testMultipleReadsConstInBranch(org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$D);
descriptor: (Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$D;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.CONST_D:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$D;
if_acmpne 6
1: aload 1
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$D.c:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C;
astore 2
start local 2 2: aload 2
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C.b:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$B;
astore 3
start local 3 3: aload 3
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$B.a:I
bipush 12
iadd
istore 4
start local 4 4: iload 4
bipush 125
if_icmpne 6
5: bipush 12
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.intSideEffect:I
end local 4 end local 3 end local 2 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest;
0 7 1 d Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$D;
2 6 2 c Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C;
3 6 3 b Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$B;
4 6 4 res I
MethodParameters:
Name Flags
d
public int testLoadFinalInstanceOf(org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$E);
descriptor: (Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$E;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$E.o:Ljava/lang/Object;
astore 2
start local 2 1: aload 2
getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.CONST_C:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C;
if_acmpne 6
2: aload 2
instanceof org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$A
ifeq 5
3: iconst_1
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.intSideEffect:I
4: goto 6
5: StackMap locals: java.lang.Object
StackMap stack:
bipush 10
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.intSideEffect:I
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest;
0 7 1 e Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$E;
1 7 2 o Ljava/lang/Object;
MethodParameters:
Name Flags
e
public int testLoadFinalTwiceInstanceOf(org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$E);
descriptor: (Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$E;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$E.o:Ljava/lang/Object;
getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.CONST_C:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C;
if_acmpne 5
1: aload 1
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$E.o:Ljava/lang/Object;
instanceof org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$A
ifeq 4
2: iconst_1
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.intSideEffect:I
3: goto 5
4: StackMap locals:
StackMap stack:
bipush 10
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.intSideEffect:I
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest;
0 6 1 e Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$E;
MethodParameters:
Name Flags
e
public static int foldThatIsNotAllowed(org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C2);
descriptor: (Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C2;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C2.c1:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C1;
astore 1
start local 1 1: getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.UNSAFE:Lsun/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.C2_C1_OFFSET:J
getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.C1_AFTER_READ_CONST:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C1;
invokevirtual sun.misc.Unsafe.putObject:(Ljava/lang/Object;JLjava/lang/Object;)V
2: aload 0
getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.C2_CONST:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C2;
if_acmpne 11
3: aload 1
getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.C1_CONST:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C1;
if_acmpne 9
4: aload 0
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C2.c1:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C1;
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C1.a:I
bipush 10
if_icmpne 7
5: iconst_1
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.intSideEffect:I
6: iconst_1
ireturn
7: StackMap locals: org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C1
StackMap stack:
iconst_2
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.intSideEffect:I
8: iconst_2
ireturn
9: StackMap locals:
StackMap stack:
bipush -2
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.intSideEffect:I
10: bipush -2
ireturn
11: StackMap locals:
StackMap stack:
iconst_m1
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.intSideEffect:I
12: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 c2 Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C2;
1 13 1 c1Unknown Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C1;
MethodParameters:
Name Flags
c2
public int testLoadFinalTwiceNoReadEliminationInstanceOf(org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$E);
descriptor: (Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$E;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$E.o:Ljava/lang/Object;
getstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.CONST_C:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C;
if_acmpne 7
1: invokestatic java.lang.System.gc:()V
2: aload 1
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$E.o:Ljava/lang/Object;
checkcast org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C
astore 2
start local 2 3: aload 2
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C.b:Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$B;
getfield org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$B.a:I
bipush 10
if_icmpne 6
4: iconst_1
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.intSideEffect:I
5: goto 7
6: StackMap locals: org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C
StackMap stack:
bipush 10
putstatic org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest.intSideEffect:I
end local 2 7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest;
0 8 1 e Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$E;
3 7 2 c Lorg/graalvm/compiler/core/test/ConditionalEliminationLoadFieldConstantFoldTest$C;
MethodParameters:
Name Flags
e
private static sun.misc.Unsafe getUnsafe();
descriptor: ()Lsun/misc/Unsafe;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokestatic sun.misc.Unsafe.getUnsafe:()Lsun/misc/Unsafe;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
3: ldc Lsun/misc/Unsafe;
ldc "theUnsafe"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 0
start local 0 4: aload 0
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
5: aload 0
ldc Lsun/misc/Unsafe;
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.misc.Unsafe
6: areturn
end local 0 7: StackMap locals:
StackMap stack: java.lang.Exception
astore 0
start local 0 8: new java.lang.RuntimeException
dup
ldc "exception while trying to get Unsafe.theUnsafe via reflection:"
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
4 7 0 theUnsafeInstance Ljava/lang/reflect/Field;
8 9 0 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
3 6 7 Class java.lang.Exception
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/core/test/ConditionalEliminationLoadFieldConstantFoldTest;
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/core/test/ConditionalEliminationLoadFieldConstantFoldTest;
RuntimeInvisibleAnnotations:
Test()
public void test03();
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/ConditionalEliminationLoadFieldConstantFoldTest;
RuntimeInvisibleAnnotations:
Test()
public void test04();
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/ConditionalEliminationLoadFieldConstantFoldTest;
RuntimeInvisibleAnnotations:
Test()
public void test05();
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/ConditionalEliminationLoadFieldConstantFoldTest;
RuntimeInvisibleAnnotations:
Test()
public void test06();
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/core/test/ConditionalEliminationLoadFieldConstantFoldTest;
RuntimeInvisibleAnnotations:
Test()
private org.graalvm.compiler.nodes.StructuredGraph checkGraph(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \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/core/test/ConditionalEliminationLoadFieldConstantFoldTest;
MethodParameters:
Name Flags
name
nrOfIfsAfter
}
SourceFile: "ConditionalEliminationLoadFieldConstantFoldTest.java"
NestMembers:
org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$A org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$B org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C1 org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C2 org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$D org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$E
InnerClasses:
private abstract A = org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$A of org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest
private B = org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$B of org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest
private C = org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C of org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest
C1 = org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C1 of org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest
C2 = org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$C2 of org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest
private D = org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$D of org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest
private E = org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest$E of org.graalvm.compiler.core.test.ConditionalEliminationLoadFieldConstantFoldTest