public class org.graalvm.compiler.serviceprovider.GraalUnsafeAccess
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.serviceprovider.GraalUnsafeAccess
  super_class: java.lang.Object
{
  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=1, locals=0, args_size=0
         0: .line 38
            invokestatic org.graalvm.compiler.serviceprovider.GraalUnsafeAccess.initUnsafe:()Lsun/misc/Unsafe;
            putstatic org.graalvm.compiler.serviceprovider.GraalUnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

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

  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 static sun.misc.Unsafe getUnsafe();
    descriptor: ()Lsun/misc/Unsafe;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=0
         0: .line 63
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 0 /* sm */
        start local 0 // java.lang.SecurityManager sm
         1: .line 64
            aload 0 /* sm */
            ifnull 3
         2: .line 65
            aload 0 /* sm */
            new java.lang.RuntimePermission
            dup
            ldc "accessUnsafe"
            invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
         3: .line 67
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            getstatic org.graalvm.compiler.serviceprovider.GraalUnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
            areturn
        end local 0 // java.lang.SecurityManager sm
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    4     0    sm  Ljava/lang/SecurityManager;
}
SourceFile: "GraalUnsafeAccess.java"