class org.graalvm.compiler.replacements.UnsafeAccess
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.graalvm.compiler.replacements.UnsafeAccess
  super_class: java.lang.Object
{
  private static final sun.misc.Unsafe THE_UNSAFE;
    descriptor: Lsun/misc/Unsafe;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static final org.graalvm.compiler.replacements.UnsafeAccess UNSAFE;
    descriptor: Lorg/graalvm/compiler/replacements/UnsafeAccess;
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 36
            invokestatic org.graalvm.compiler.replacements.UnsafeAccess.initUnsafe:()Lsun/misc/Unsafe;
            putstatic org.graalvm.compiler.replacements.UnsafeAccess.THE_UNSAFE:Lsun/misc/Unsafe;
         1: .line 38
            new org.graalvm.compiler.replacements.UnsafeAccess
            dup
            invokespecial org.graalvm.compiler.replacements.UnsafeAccess.<init>:()V
            putstatic org.graalvm.compiler.replacements.UnsafeAccess.UNSAFE:Lorg/graalvm/compiler/replacements/UnsafeAccess;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.replacements.UnsafeAccess this
         0: .line 34
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.graalvm.compiler.replacements.UnsafeAccess this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/replacements/UnsafeAccess;

  private static sun.misc.Unsafe initUnsafe();
    descriptor: ()Lsun/misc/Unsafe;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=0
         0: .line 43
            invokestatic sun.misc.Unsafe.getUnsafe:()Lsun/misc/Unsafe;
         1: areturn
         2: .line 44
      StackMap locals:
      StackMap stack: java.lang.SecurityException
            pop
         3: .line 47
            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
         4: .line 48
            aload 0 /* theUnsafe */
            iconst_1
            invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
         5: .line 49
            aload 0 /* theUnsafe */
            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 // java.lang.reflect.Field theUnsafe
         7: .line 50
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 0 /* e */
        start local 0 // java.lang.Exception e
         8: .line 51
            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
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            4    7     0  theUnsafe  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 char getChar(java.lang.Object, long);
    descriptor: (Ljava/lang/Object;J)C
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // org.graalvm.compiler.replacements.UnsafeAccess this
        start local 1 // java.lang.Object target
        start local 2 // long l
         0: .line 57
            getstatic org.graalvm.compiler.replacements.UnsafeAccess.THE_UNSAFE:Lsun/misc/Unsafe;
            aload 1 /* target */
            lload 2 /* l */
            invokevirtual sun.misc.Unsafe.getChar:(Ljava/lang/Object;J)C
            ireturn
        end local 2 // long l
        end local 1 // java.lang.Object target
        end local 0 // org.graalvm.compiler.replacements.UnsafeAccess this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lorg/graalvm/compiler/replacements/UnsafeAccess;
            0    1     1  target  Ljava/lang/Object;
            0    1     2       l  J
    MethodParameters:
        Name  Flags
      target  
      l       

  public byte getByte(java.lang.Object, long);
    descriptor: (Ljava/lang/Object;J)B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // org.graalvm.compiler.replacements.UnsafeAccess this
        start local 1 // java.lang.Object target
        start local 2 // long l
         0: .line 61
            getstatic org.graalvm.compiler.replacements.UnsafeAccess.THE_UNSAFE:Lsun/misc/Unsafe;
            aload 1 /* target */
            lload 2 /* l */
            invokevirtual sun.misc.Unsafe.getByte:(Ljava/lang/Object;J)B
            ireturn
        end local 2 // long l
        end local 1 // java.lang.Object target
        end local 0 // org.graalvm.compiler.replacements.UnsafeAccess this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lorg/graalvm/compiler/replacements/UnsafeAccess;
            0    1     1  target  Ljava/lang/Object;
            0    1     2       l  J
    MethodParameters:
        Name  Flags
      target  
      l       
}
SourceFile: "UnsafeAccess.java"