public class org.graalvm.compiler.jtt.optimize.UnsafeDeopt extends org.graalvm.compiler.jtt.JTTTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.jtt.optimize.UnsafeDeopt
  super_class: org.graalvm.compiler.jtt.JTTTest
{
  private static final sun.misc.Unsafe unsafe;
    descriptor: Lsun/misc/Unsafe;
    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: .line 42
            ldc Lsun/misc/Unsafe;
            ldc "theUnsafe"
            invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
            astore 0 /* unsafeField */
        start local 0 // java.lang.reflect.Field unsafeField
         1: .line 43
            aload 0 /* unsafeField */
            iconst_1
            invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
         2: .line 44
            aload 0 /* unsafeField */
            aconst_null
            invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.misc.Unsafe
            putstatic org.graalvm.compiler.jtt.optimize.UnsafeDeopt.unsafe:Lsun/misc/Unsafe;
        end local 0 // java.lang.reflect.Field unsafeField
         3: .line 45
            goto 6
      StackMap locals:
      StackMap stack: java.lang.Exception
         4: astore 0 /* e */
        start local 0 // java.lang.Exception e
         5: .line 46
            new java.lang.Error
            dup
            aload 0 /* e */
            invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 0 // java.lang.Exception e
         6: .line 48
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            1    3     0  unsafeField  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.jtt.optimize.UnsafeDeopt this
         0: .line 37
            aload 0 /* this */
            invokespecial org.graalvm.compiler.jtt.JTTTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.jtt.optimize.UnsafeDeopt this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/jtt/optimize/UnsafeDeopt;

  public static int readWriteReadUnsafe(long, int);
    descriptor: (JI)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // long addr
        start local 2 // int m
         0: .line 51
            getstatic org.graalvm.compiler.jtt.optimize.UnsafeDeopt.unsafe:Lsun/misc/Unsafe;
            lload 0 /* addr */
            invokevirtual sun.misc.Unsafe.getInt:(J)I
            istore 3 /* original */
        start local 3 // int original
         1: .line 52
            iload 3 /* original */
            ifeq 3
         2: .line 53
            iload 2 /* m */
            ineg
            ireturn
         3: .line 55
      StackMap locals: int
      StackMap stack:
            getstatic org.graalvm.compiler.jtt.optimize.UnsafeDeopt.unsafe:Lsun/misc/Unsafe;
            lload 0 /* addr */
            iload 2 /* m */
            invokevirtual sun.misc.Unsafe.putInt:(JI)V
         4: .line 56
            iload 2 /* m */
            bipush 10
            if_icmple 8
         5: .line 57
            iload 2 /* m */
            bipush 20
            if_icmple 7
         6: .line 58
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimize:()V
         7: .line 60
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.jtt.optimize.UnsafeDeopt.unsafe:Lsun/misc/Unsafe;
            lload 0 /* addr */
            ldc 4
            ladd
            iload 2 /* m */
            invokevirtual sun.misc.Unsafe.putInt:(JI)V
         8: .line 62
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.jtt.optimize.UnsafeDeopt.unsafe:Lsun/misc/Unsafe;
            lload 0 /* addr */
            invokevirtual sun.misc.Unsafe.getInt:(J)I
            ireturn
        end local 3 // int original
        end local 2 // int m
        end local 0 // long addr
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    9     0      addr  J
            0    9     2         m  I
            1    9     3  original  I
    MethodParameters:
      Name  Flags
      addr  
      m     

  public static int readWriteReadByteBuffer(java.nio.ByteBuffer, int);
    descriptor: (Ljava/nio/ByteBuffer;I)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // java.nio.ByteBuffer buffer
        start local 1 // int m
         0: .line 66
            aload 0 /* buffer */
            iconst_0
            invokevirtual java.nio.ByteBuffer.getInt:(I)I
            istore 2 /* original */
        start local 2 // int original
         1: .line 67
            iload 2 /* original */
            ifeq 3
         2: .line 68
            iload 1 /* m */
            ineg
            ireturn
         3: .line 70
      StackMap locals: int
      StackMap stack:
            aload 0 /* buffer */
            iconst_0
            iload 1 /* m */
            invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
            pop
         4: .line 71
            iload 1 /* m */
            bipush 10
            if_icmple 8
         5: .line 72
            iload 1 /* m */
            bipush 20
            if_icmple 8
         6: .line 73
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimize:()V
         7: .line 74
            aload 0 /* buffer */
            iconst_4
            iload 1 /* m */
            invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
            pop
         8: .line 77
      StackMap locals:
      StackMap stack:
            aload 0 /* buffer */
            iconst_0
            invokevirtual java.nio.ByteBuffer.getInt:(I)I
            ireturn
        end local 2 // int original
        end local 1 // int m
        end local 0 // java.nio.ByteBuffer buffer
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    9     0    buffer  Ljava/nio/ByteBuffer;
            0    9     1         m  I
            1    9     2  original  I
    MethodParameters:
        Name  Flags
      buffer  
      m       

  public long createBuffer();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=3, args_size=1
        start local 0 // org.graalvm.compiler.jtt.optimize.UnsafeDeopt this
         0: .line 81
            getstatic org.graalvm.compiler.jtt.optimize.UnsafeDeopt.unsafe:Lsun/misc/Unsafe;
            ldc 32
            invokevirtual sun.misc.Unsafe.allocateMemory:(J)J
            lstore 1 /* addr */
        start local 1 // long addr
         1: .line 82
            getstatic org.graalvm.compiler.jtt.optimize.UnsafeDeopt.unsafe:Lsun/misc/Unsafe;
            lload 1 /* addr */
            ldc 32
            iconst_0
            invokevirtual sun.misc.Unsafe.setMemory:(JJB)V
         2: .line 83
            lload 1 /* addr */
            lreturn
        end local 1 // long addr
        end local 0 // org.graalvm.compiler.jtt.optimize.UnsafeDeopt this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/graalvm/compiler/jtt/optimize/UnsafeDeopt;
            1    3     1  addr  J

  public void disposeBuffer(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.graalvm.compiler.jtt.optimize.UnsafeDeopt this
        start local 1 // long addr
         0: .line 87
            getstatic org.graalvm.compiler.jtt.optimize.UnsafeDeopt.unsafe:Lsun/misc/Unsafe;
            lload 1 /* addr */
            invokevirtual sun.misc.Unsafe.freeMemory:(J)V
         1: .line 88
            return
        end local 1 // long addr
        end local 0 // org.graalvm.compiler.jtt.optimize.UnsafeDeopt this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/graalvm/compiler/jtt/optimize/UnsafeDeopt;
            0    2     1  addr  J
    MethodParameters:
      Name  Flags
      addr  

  public void testUnsafe();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.jtt.optimize.UnsafeDeopt this
         0: .line 90
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssumptionViolatedException cannot be resolved to a type\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.jtt.optimize.UnsafeDeopt this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/jtt/optimize/UnsafeDeopt;
    RuntimeInvisibleAnnotations: 
      Test()

  public void testByteBuffer();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.jtt.optimize.UnsafeDeopt this
         0: .line 112
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssumptionViolatedException cannot be resolved to a type\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.jtt.optimize.UnsafeDeopt this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/jtt/optimize/UnsafeDeopt;
    RuntimeInvisibleAnnotations: 
      Test()
}
SourceFile: "UnsafeDeopt.java"