public final class org.jruby.util.unsafe.UnsafeHolder
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.jruby.util.unsafe.UnsafeHolder
  super_class: java.lang.Object
{
  public static final sun.misc.Unsafe U;
    descriptor: Lsun/misc/Unsafe;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 40
            invokestatic org.jruby.util.unsafe.UnsafeHolder.loadUnsafe:()Lsun/misc/Unsafe;
            putstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.unsafe.UnsafeHolder this
         0: .line 35
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.util.unsafe.UnsafeHolder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/unsafe/UnsafeHolder;

  private static sun.misc.Unsafe loadUnsafe();
    descriptor: ()Lsun/misc/Unsafe;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=0
         0: .line 44
            ldc "sun.misc.Unsafe"
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 0 /* unsafeClass */
        start local 0 // java.lang.Class unsafeClass
         1: .line 45
            aload 0 /* unsafeClass */
            ldc "theUnsafe"
            invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
            astore 1 /* f */
        start local 1 // java.lang.reflect.Field f
         2: .line 46
            aload 1 /* f */
            iconst_1
            invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
         3: .line 47
            aload 1 /* f */
            aconst_null
            invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.misc.Unsafe
         4: areturn
        end local 1 // java.lang.reflect.Field f
        end local 0 // java.lang.Class unsafeClass
         5: .line 48
      StackMap locals:
      StackMap stack: java.lang.Exception
            pop
         6: .line 49
            aconst_null
            areturn
         7: .line 50
      StackMap locals:
      StackMap stack: java.lang.NoClassDefFoundError
            pop
         8: .line 52
            aconst_null
            areturn
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            1    5     0  unsafeClass  Ljava/lang/Class;
            2    5     1            f  Ljava/lang/reflect/Field;
      Exception table:
        from    to  target  type
           0     4       5  Class java.lang.Exception
           0     4       7  Class java.lang.NoClassDefFoundError

  public static long fieldOffset(java.lang.Class, java.lang.String);
    descriptor: (Ljava/lang/Class;Ljava/lang/String;)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.lang.Class clazz
        start local 1 // java.lang.String name
         0: .line 57
            getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
            ifnonnull 2
         1: .line 58
            ldc -1
            lreturn
         2: .line 60
      StackMap locals:
      StackMap stack:
            getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
            aload 0 /* clazz */
            aload 1 /* name */
            invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
            invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
         3: lreturn
         4: .line 61
      StackMap locals:
      StackMap stack: java.lang.Exception
            pop
         5: .line 62
            ldc -1
            lreturn
        end local 1 // java.lang.String name
        end local 0 // java.lang.Class clazz
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0  clazz  Ljava/lang/Class;
            0    6     1   name  Ljava/lang/String;
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.Exception
    MethodParameters:
       Name  Flags
      clazz  
      name   
}
SourceFile: "UnsafeHolder.java"