public abstract class java.lang.ref.Reference<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: java.lang.ref.Reference
  super_class: java.lang.Object
{
  private T referent;
    descriptor: Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE
    Signature: TT;

  volatile java.lang.ref.ReferenceQueue<? super T> queue;
    descriptor: Ljava/lang/ref/ReferenceQueue;
    flags: (0x0040) ACC_VOLATILE
    Signature: Ljava/lang/ref/ReferenceQueue<-TT;>;

  volatile java.lang.ref.Reference next;
    descriptor: Ljava/lang/ref/Reference;
    flags: (0x0040) ACC_VOLATILE

  private transient java.lang.ref.Reference<T> discovered;
    descriptor: Ljava/lang/ref/Reference;
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
    Signature: Ljava/lang/ref/Reference<TT;>;

  private static final java.lang.Object processPendingLock;
    descriptor: Ljava/lang/Object;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static boolean processPendingActive;
    descriptor: Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=2, args_size=0
         0: .line 44
            ldc Ljava/lang/ref/Reference;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic java.lang.ref.Reference.$assertionsDisabled:Z
         3: .line 235
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putstatic java.lang.ref.Reference.processPendingLock:Ljava/lang/Object;
         4: .line 236
            iconst_0
            putstatic java.lang.ref.Reference.processPendingActive:Z
         5: .line 295
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.getThreadGroup:()Ljava/lang/ThreadGroup;
            astore 0 /* tg */
        start local 0 // java.lang.ThreadGroup tg
         6: .line 296
            aload 0 /* tg */
            astore 1 /* tgn */
        start local 1 // java.lang.ThreadGroup tgn
         7: .line 297
            goto 9
         8: .line 298
      StackMap locals: java.lang.ThreadGroup java.lang.ThreadGroup
      StackMap stack:
            aload 1 /* tgn */
            astore 0 /* tg */
            aload 0 /* tg */
            invokevirtual java.lang.ThreadGroup.getParent:()Ljava/lang/ThreadGroup;
            astore 1 /* tgn */
         9: .line 297
      StackMap locals:
      StackMap stack:
            aload 1 /* tgn */
            ifnonnull 8
        end local 1 // java.lang.ThreadGroup tgn
        10: .line 299
            new java.lang.ref.Reference$ReferenceHandler
            dup
            aload 0 /* tg */
            ldc "Reference Handler"
            invokespecial java.lang.ref.Reference$ReferenceHandler.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/String;)V
            astore 1 /* handler */
        start local 1 // java.lang.Thread handler
        11: .line 303
            aload 1 /* handler */
            bipush 10
            invokevirtual java.lang.Thread.setPriority:(I)V
        12: .line 304
            aload 1 /* handler */
            iconst_1
            invokevirtual java.lang.Thread.setDaemon:(Z)V
        13: .line 305
            aload 1 /* handler */
            invokevirtual java.lang.Thread.start:()V
        14: .line 308
            new java.lang.ref.Reference$1
            dup
            invokespecial java.lang.ref.Reference$1.<init>:()V
            invokestatic jdk.internal.access.SharedSecrets.setJavaLangRefAccess:(Ljdk/internal/access/JavaLangRefAccess;)V
        end local 1 // java.lang.Thread handler
        end local 0 // java.lang.ThreadGroup tg
        15: .line 321
            return
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            6   15     0       tg  Ljava/lang/ThreadGroup;
            7   10     1      tgn  Ljava/lang/ThreadGroup;
           11   15     1  handler  Ljava/lang/Thread;

  private static native java.lang.ref.Reference<java.lang.Object> getAndClearReferencePendingList();
    descriptor: ()Ljava/lang/ref/Reference;
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    Signature: ()Ljava/lang/ref/Reference<Ljava/lang/Object;>;

  private static native boolean hasReferencePendingList();
    descriptor: ()Z
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE

  private static native void waitForReferencePendingList();
    descriptor: ()V
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE

  private static void processPendingReferences();
    descriptor: ()V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=0
         0: .line 243
            invokestatic java.lang.ref.Reference.waitForReferencePendingList:()V
         1: .line 245
            getstatic java.lang.ref.Reference.processPendingLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         2: .line 246
            invokestatic java.lang.ref.Reference.getAndClearReferencePendingList:()Ljava/lang/ref/Reference;
            astore 0 /* pendingList */
        start local 0 // java.lang.ref.Reference pendingList
         3: .line 247
            iconst_1
            putstatic java.lang.ref.Reference.processPendingActive:Z
         4: .line 245
            aload 1
            monitorexit
         5: goto 21
        end local 0 // java.lang.ref.Reference pendingList
      StackMap locals: top java.lang.Object
      StackMap stack: java.lang.Throwable
         6: aload 1
            monitorexit
         7: athrow
        start local 0 // java.lang.ref.Reference pendingList
         8: .line 250
      StackMap locals: java.lang.ref.Reference
      StackMap stack:
            aload 0 /* pendingList */
            astore 1 /* ref */
        start local 1 // java.lang.ref.Reference ref
         9: .line 251
            aload 1 /* ref */
            getfield java.lang.ref.Reference.discovered:Ljava/lang/ref/Reference;
            astore 0 /* pendingList */
        10: .line 252
            aload 1 /* ref */
            aconst_null
            putfield java.lang.ref.Reference.discovered:Ljava/lang/ref/Reference;
        11: .line 254
            aload 1 /* ref */
            instanceof jdk.internal.ref.Cleaner
            ifeq 19
        12: .line 255
            aload 1 /* ref */
            checkcast jdk.internal.ref.Cleaner
            invokevirtual jdk.internal.ref.Cleaner.clean:()V
        13: .line 259
            getstatic java.lang.ref.Reference.processPendingLock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
        14: .line 260
            getstatic java.lang.ref.Reference.processPendingLock:Ljava/lang/Object;
            invokevirtual java.lang.Object.notifyAll:()V
        15: .line 259
            aload 2
            monitorexit
        16: goto 21
      StackMap locals: java.lang.ref.Reference java.lang.ref.Reference java.lang.Object
      StackMap stack: java.lang.Throwable
        17: aload 2
            monitorexit
        18: athrow
        19: .line 263
      StackMap locals:
      StackMap stack:
            aload 1 /* ref */
            getfield java.lang.ref.Reference.queue:Ljava/lang/ref/ReferenceQueue;
            astore 2 /* q */
        start local 2 // java.lang.ref.ReferenceQueue q
        20: .line 264
            aload 2 /* q */
            getstatic java.lang.ref.ReferenceQueue.NULL:Ljava/lang/ref/ReferenceQueue;
            if_acmpeq 21
            aload 2 /* q */
            aload 1 /* ref */
            invokevirtual java.lang.ref.ReferenceQueue.enqueue:(Ljava/lang/ref/Reference;)Z
            pop
        end local 2 // java.lang.ref.ReferenceQueue q
        end local 1 // java.lang.ref.Reference ref
        21: .line 249
      StackMap locals:
      StackMap stack:
            aload 0 /* pendingList */
            ifnonnull 8
        22: .line 268
            getstatic java.lang.ref.Reference.processPendingLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
        23: .line 269
            iconst_0
            putstatic java.lang.ref.Reference.processPendingActive:Z
        24: .line 270
            getstatic java.lang.ref.Reference.processPendingLock:Ljava/lang/Object;
            invokevirtual java.lang.Object.notifyAll:()V
        25: .line 268
            aload 1
            monitorexit
        26: goto 29
      StackMap locals: java.lang.ref.Reference java.lang.Object
      StackMap stack: java.lang.Throwable
        27: aload 1
            monitorexit
        28: athrow
        29: .line 272
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.lang.ref.Reference pendingList
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            3    6     0  pendingList  Ljava/lang/ref/Reference<Ljava/lang/Object;>;
            8   30     0  pendingList  Ljava/lang/ref/Reference<Ljava/lang/Object;>;
            9   21     1          ref  Ljava/lang/ref/Reference<Ljava/lang/Object;>;
           20   21     2            q  Ljava/lang/ref/ReferenceQueue<-Ljava/lang/Object;>;
      Exception table:
        from    to  target  type
           2     5       6  any
           6     7       6  any
          14    16      17  any
          17    18      17  any
          23    26      27  any
          27    28      27  any

  private static boolean waitForReferenceProcessing();
    descriptor: ()Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 283
            getstatic java.lang.ref.Reference.processPendingLock:Ljava/lang/Object;
            dup
            astore 0
            monitorenter
         1: .line 284
            getstatic java.lang.ref.Reference.processPendingActive:Z
            ifne 2
            invokestatic java.lang.ref.Reference.hasReferencePendingList:()Z
            ifeq 5
         2: .line 286
      StackMap locals: java.lang.Object
      StackMap stack:
            getstatic java.lang.ref.Reference.processPendingLock:Ljava/lang/Object;
            invokevirtual java.lang.Object.wait:()V
         3: .line 287
            aload 0
            monitorexit
         4: iconst_1
            ireturn
         5: .line 289
      StackMap locals:
      StackMap stack:
            aload 0
            monitorexit
         6: iconst_0
            ireturn
         7: .line 283
      StackMap locals:
      StackMap stack: java.lang.Throwable
            aload 0
            monitorexit
         8: athrow
      LocalVariableTable:
        Start  End  Slot  Name  Signature
      Exception table:
        from    to  target  type
           1     4       7  any
           5     6       7  any
           7     8       7  any
    Exceptions:
      throws java.lang.InterruptedException

  public T get();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.ref.Reference this
         0: .line 344
            aload 0 /* this */
            getfield java.lang.ref.Reference.referent:Ljava/lang/Object;
            areturn
        end local 0 // java.lang.ref.Reference this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/lang/ref/Reference<TT;>;
    Signature: ()TT;
    RuntimeVisibleAnnotations: 
      jdk.internal.vm.annotation.IntrinsicCandidate()

  public final boolean refersTo();
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.lang.ref.Reference this
        start local 1 // java.lang.Object obj
         0: .line 357
            aload 0 /* this */
            aload 1 /* obj */
            invokevirtual java.lang.ref.Reference.refersTo0:(Ljava/lang/Object;)Z
            ireturn
        end local 1 // java.lang.Object obj
        end local 0 // java.lang.ref.Reference this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/lang/ref/Reference<TT;>;
            0    1     1   obj  TT;
    Signature: (TT;)Z
    MethodParameters:
      Name  Flags
      obj   

  native boolean refersTo0(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0100) ACC_NATIVE
    RuntimeVisibleAnnotations: 
      jdk.internal.vm.annotation.IntrinsicCandidate()
    MethodParameters:
      Name  Flags
      o     

  public void clear();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.ref.Reference this
         0: .line 373
            aload 0 /* this */
            invokevirtual java.lang.ref.Reference.clear0:()V
         1: .line 374
            return
        end local 0 // java.lang.ref.Reference this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/lang/ref/Reference<TT;>;

  private native void clear0();
    descriptor: ()V
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE

  T getFromInactiveFinalReference();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.ref.Reference this
         0: .line 397
            getstatic java.lang.ref.Reference.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            instanceof java.lang.ref.FinalReference
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 398
      StackMap locals:
      StackMap stack:
            getstatic java.lang.ref.Reference.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield java.lang.ref.Reference.next:Ljava/lang/ref/Reference;
            ifnonnull 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 399
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.lang.ref.Reference.referent:Ljava/lang/Object;
            areturn
        end local 0 // java.lang.ref.Reference this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/lang/ref/Reference<TT;>;
    Signature: ()TT;

  void clearInactiveFinalReference();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.ref.Reference this
         0: .line 406
            getstatic java.lang.ref.Reference.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            instanceof java.lang.ref.FinalReference
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 407
      StackMap locals:
      StackMap stack:
            getstatic java.lang.ref.Reference.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield java.lang.ref.Reference.next:Ljava/lang/ref/Reference;
            ifnonnull 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 408
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield java.lang.ref.Reference.referent:Ljava/lang/Object;
         3: .line 409
            return
        end local 0 // java.lang.ref.Reference this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljava/lang/ref/Reference<TT;>;

  public boolean isEnqueued();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.ref.Reference this
         0: .line 444
            aload 0 /* this */
            getfield java.lang.ref.Reference.queue:Ljava/lang/ref/ReferenceQueue;
            getstatic java.lang.ref.ReferenceQueue.ENQUEUED:Ljava/lang/ref/ReferenceQueue;
            if_acmpne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // java.lang.ref.Reference this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/lang/ref/Reference<TT;>;
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated(since = "16")

  public boolean enqueue();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.ref.Reference this
         0: .line 459
            aload 0 /* this */
            invokevirtual java.lang.ref.Reference.clear0:()V
         1: .line 460
            aload 0 /* this */
            getfield java.lang.ref.Reference.queue:Ljava/lang/ref/ReferenceQueue;
            aload 0 /* this */
            invokevirtual java.lang.ref.ReferenceQueue.enqueue:(Ljava/lang/ref/Reference;)Z
            ireturn
        end local 0 // java.lang.ref.Reference this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/lang/ref/Reference<TT;>;

  protected java.lang.Object clone();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.ref.Reference this
         0: .line 474
            new java.lang.CloneNotSupportedException
            dup
            invokespecial java.lang.CloneNotSupportedException.<init>:()V
            athrow
        end local 0 // java.lang.ref.Reference this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/lang/ref/Reference<TT;>;
    Exceptions:
      throws java.lang.CloneNotSupportedException

  void <init>();
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.lang.ref.Reference this
        start local 1 // java.lang.Object referent
         0: .line 480
            aload 0 /* this */
            aload 1 /* referent */
            aconst_null
            invokespecial java.lang.ref.Reference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
         1: .line 481
            return
        end local 1 // java.lang.Object referent
        end local 0 // java.lang.ref.Reference this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Ljava/lang/ref/Reference<TT;>;
            0    2     1  referent  TT;
    Signature: (TT;)V
    MethodParameters:
          Name  Flags
      referent  

  void <init>(T, java.lang.ref.ReferenceQueue<? super T>);
    descriptor: (Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // java.lang.ref.Reference this
        start local 1 // java.lang.Object referent
        start local 2 // java.lang.ref.ReferenceQueue queue
         0: .line 483
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 484
            aload 0 /* this */
            aload 1 /* referent */
            putfield java.lang.ref.Reference.referent:Ljava/lang/Object;
         2: .line 485
            aload 0 /* this */
            aload 2 /* queue */
            ifnonnull 3
            getstatic java.lang.ref.ReferenceQueue.NULL:Ljava/lang/ref/ReferenceQueue;
            goto 4
      StackMap locals: java.lang.ref.Reference java.lang.Object java.lang.ref.ReferenceQueue
      StackMap stack: java.lang.ref.Reference
         3: aload 2 /* queue */
      StackMap locals: java.lang.ref.Reference java.lang.Object java.lang.ref.ReferenceQueue
      StackMap stack: java.lang.ref.Reference java.lang.ref.ReferenceQueue
         4: putfield java.lang.ref.Reference.queue:Ljava/lang/ref/ReferenceQueue;
         5: .line 486
            return
        end local 2 // java.lang.ref.ReferenceQueue queue
        end local 1 // java.lang.Object referent
        end local 0 // java.lang.ref.Reference this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Ljava/lang/ref/Reference<TT;>;
            0    6     1  referent  TT;
            0    6     2     queue  Ljava/lang/ref/ReferenceQueue<-TT;>;
    Signature: (TT;Ljava/lang/ref/ReferenceQueue<-TT;>;)V
    MethodParameters:
          Name  Flags
      referent  
      queue     

  public static void reachabilityFence(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // java.lang.Object ref
         0: .line 605
            return
        end local 0 // java.lang.Object ref
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   ref  Ljava/lang/Object;
    RuntimeVisibleAnnotations: 
      jdk.internal.vm.annotation.ForceInline()
    MethodParameters:
      Name  Flags
      ref   
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Reference.java"
NestMembers:
  java.lang.ref.Reference$1  java.lang.ref.Reference$ReferenceHandler
InnerClasses:
  java.lang.ref.Reference$1
  private ReferenceHandler = java.lang.ref.Reference$ReferenceHandler of java.lang.ref.Reference