public class org.graalvm.compiler.core.test.UnsafeReadEliminationTest 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.UnsafeReadEliminationTest
  super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
  public static final sun.misc.Unsafe UNSAFE;
    descriptor: Lsun/misc/Unsafe;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static long[] Memory;
    descriptor: [J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC

  public static double SideEffectD;
    descriptor: D
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC

  public static double SideEffectL;
    descriptor: D
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=1, args_size=0
         0: .line 50
            ldc Lsun/misc/Unsafe;
            ldc "theUnsafe"
            invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
            astore 0 /* theUnsafe */
        start local 0 // java.lang.reflect.Field theUnsafe
         1: .line 51
            aload 0 /* theUnsafe */
            iconst_1
            invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
         2: .line 52
            aload 0 /* theUnsafe */
            ldc Lsun/misc/Unsafe;
            invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.misc.Unsafe
            putstatic org.graalvm.compiler.core.test.UnsafeReadEliminationTest.UNSAFE:Lsun/misc/Unsafe;
        end local 0 // java.lang.reflect.Field theUnsafe
         3: .line 53
            goto 6
      StackMap locals:
      StackMap stack: java.lang.Exception
         4: astore 0 /* e */
        start local 0 // java.lang.Exception e
         5: .line 54
            new java.lang.RuntimeException
            dup
            ldc "Exception while trying to get Unsafe"
            aload 0 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 0 // java.lang.Exception e
         6: .line 58
      StackMap locals:
      StackMap stack:
            iconst_2
            newarray 11
            dup
            iconst_0
            lconst_1
            lastore
            dup
            iconst_1
            ldc 2
            lastore
            putstatic org.graalvm.compiler.core.test.UnsafeReadEliminationTest.Memory:[J
         7: .line 60
            return
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            1    3     0  theUnsafe  Ljava/lang/reflect/Field;
            5    6     0          e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     3       4  Class java.lang.Exception

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
         0: .line 45
            aload 0 /* this */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/UnsafeReadEliminationTest;

  public static long test1Snippet(double);
    descriptor: (D)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=1
        start local 0 // double a
         0: .line 63
            getstatic org.graalvm.compiler.core.test.UnsafeReadEliminationTest.Memory:[J
            astore 2 /* m */
        start local 2 // java.lang.Object m
         1: .line 64
            dload 0 /* a */
            dconst_0
            dcmpl
            ifle 4
         2: .line 65
            getstatic org.graalvm.compiler.core.test.UnsafeReadEliminationTest.UNSAFE:Lsun/misc/Unsafe;
            aload 2 /* m */
            getstatic sun.misc.Unsafe.ARRAY_LONG_BASE_OFFSET:I
            i2l
            dload 0 /* a */
            invokevirtual sun.misc.Unsafe.putDouble:(Ljava/lang/Object;JD)V
         3: .line 66
            goto 5
         4: .line 67
      StackMap locals: java.lang.Object
      StackMap stack:
            getstatic org.graalvm.compiler.core.test.UnsafeReadEliminationTest.UNSAFE:Lsun/misc/Unsafe;
            aload 2 /* m */
            getstatic sun.misc.Unsafe.ARRAY_LONG_BASE_OFFSET:I
            i2l
            invokevirtual sun.misc.Unsafe.getLong:(Ljava/lang/Object;J)J
            l2d
            putstatic org.graalvm.compiler.core.test.UnsafeReadEliminationTest.SideEffectL:D
         5: .line 69
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.core.test.UnsafeReadEliminationTest.UNSAFE:Lsun/misc/Unsafe;
            aload 2 /* m */
            getstatic sun.misc.Unsafe.ARRAY_LONG_BASE_OFFSET:I
            i2l
            invokevirtual sun.misc.Unsafe.getLong:(Ljava/lang/Object;J)J
            lreturn
        end local 2 // java.lang.Object m
        end local 0 // double a
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0     a  D
            1    6     2     m  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      a     

  public static java.lang.Object test2Snippet(org.graalvm.compiler.core.test.UnsafeReadEliminationTest$A, int);
    descriptor: (Lorg/graalvm/compiler/core/test/UnsafeReadEliminationTest$A;I)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=4, args_size=2
        start local 0 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest$A a
        start local 1 // int c
         0: .line 78
            aconst_null
            astore 2 /* phi */
        start local 2 // java.lang.Object phi
         1: .line 79
            iload 1 /* c */
            ifeq 6
         2: .line 80
            aload 0 /* a */
            getfield org.graalvm.compiler.core.test.UnsafeReadEliminationTest$A.o:[[J
            astore 3 /* r */
        start local 3 // long[][] r
         3: .line 81
            aload 3 /* r */
            astore 2 /* phi */
         4: .line 82
            getstatic org.graalvm.compiler.core.test.UnsafeReadEliminationTest.UNSAFE:Lsun/misc/Unsafe;
            aload 3 /* r */
            getstatic sun.misc.Unsafe.ARRAY_LONG_BASE_OFFSET:I
            i2l
            ldc 12.0
            invokevirtual sun.misc.Unsafe.putDouble:(Ljava/lang/Object;JD)V
        end local 3 // long[][] r
         5: .line 83
            goto 9
         6: .line 84
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* a */
            getfield org.graalvm.compiler.core.test.UnsafeReadEliminationTest$A.p:[[J
            astore 3 /* r */
        start local 3 // long[][] r
         7: .line 85
            aload 3 /* r */
            astore 2 /* phi */
         8: .line 86
            getstatic org.graalvm.compiler.core.test.UnsafeReadEliminationTest.UNSAFE:Lsun/misc/Unsafe;
            aload 3 /* r */
            getstatic sun.misc.Unsafe.ARRAY_LONG_BASE_OFFSET:I
            i2l
            ldc 123
            invokevirtual sun.misc.Unsafe.putLong:(Ljava/lang/Object;JJ)V
        end local 3 // long[][] r
         9: .line 88
      StackMap locals:
      StackMap stack:
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
        10: .line 89
            getstatic org.graalvm.compiler.core.test.UnsafeReadEliminationTest.UNSAFE:Lsun/misc/Unsafe;
            aload 2 /* phi */
            getstatic sun.misc.Unsafe.ARRAY_LONG_BASE_OFFSET:I
            i2l
            invokevirtual sun.misc.Unsafe.getDouble:(Ljava/lang/Object;J)D
            putstatic org.graalvm.compiler.core.test.UnsafeReadEliminationTest.SideEffectD:D
        11: .line 90
            aload 2 /* phi */
            areturn
        end local 2 // java.lang.Object phi
        end local 1 // int c
        end local 0 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest$A a
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0     a  Lorg/graalvm/compiler/core/test/UnsafeReadEliminationTest$A;
            0   12     1     c  I
            1   12     2   phi  Ljava/lang/Object;
            3    5     3     r  [[J
            7    9     3     r  [[J
    MethodParameters:
      Name  Flags
      a     
      c     

  public void test01();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
         0: .line 93
            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 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/UnsafeReadEliminationTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public void test02();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
         0: .line 99
            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 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/UnsafeReadEliminationTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public void test03();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
         0: .line 105
            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 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/UnsafeReadEliminationTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public void test04();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
         0: .line 111
            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 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/UnsafeReadEliminationTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public void testEarlyReadElimination(org.graalvm.compiler.nodes.StructuredGraph, int, int);
    descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;II)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
         0: .line 122
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/UnsafeReadEliminationTest;
    MethodParameters:
        Name  Flags
      graph   
      reads   
      writes  

  public void testPartialEscapeReadElimination(org.graalvm.compiler.nodes.StructuredGraph, int, int);
    descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;II)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
         0: .line 136
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.core.test.UnsafeReadEliminationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/UnsafeReadEliminationTest;
    MethodParameters:
        Name  Flags
      graph   
      reads   
      writes  
}
SourceFile: "UnsafeReadEliminationTest.java"
NestMembers:
  org.graalvm.compiler.core.test.UnsafeReadEliminationTest$A
InnerClasses:
  public A = org.graalvm.compiler.core.test.UnsafeReadEliminationTest$A of org.graalvm.compiler.core.test.UnsafeReadEliminationTest