public class java.lang.ref.ReferenceQueue<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: java.lang.ref.ReferenceQueue
  super_class: java.lang.Object
{
  static java.lang.ref.ReferenceQueue NULL;
    descriptor: Ljava/lang/ref/ReferenceQueue;
    flags: (0x0008) ACC_STATIC

  static java.lang.ref.ReferenceQueue ENQUEUED;
    descriptor: Ljava/lang/ref/ReferenceQueue;
    flags: (0x0008) ACC_STATIC

  private java.lang.ref.ReferenceQueue$Lock lock;
    descriptor: Ljava/lang/ref/ReferenceQueue$Lock;
    flags: (0x0002) ACC_PRIVATE

  private volatile java.lang.ref.Reference<? extends T> head;
    descriptor: Ljava/lang/ref/Reference;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
    Signature: Ljava/lang/ref/Reference<+TT;>;

  private long queueLength;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 49
            new java.lang.ref.ReferenceQueue$Null
            dup
            invokespecial java.lang.ref.ReferenceQueue$Null.<init>:()V
            putstatic java.lang.ref.ReferenceQueue.NULL:Ljava/lang/ref/ReferenceQueue;
         1: .line 50
            new java.lang.ref.ReferenceQueue$Null
            dup
            invokespecial java.lang.ref.ReferenceQueue$Null.<init>:()V
            putstatic java.lang.ref.ReferenceQueue.ENQUEUED:Ljava/lang/ref/ReferenceQueue;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.ref.ReferenceQueue this
         0: .line 41
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 53
            aload 0 /* this */
            new java.lang.ref.ReferenceQueue$Lock
            dup
            invokespecial java.lang.ref.ReferenceQueue$Lock.<init>:()V
            putfield java.lang.ref.ReferenceQueue.lock:Ljava/lang/ref/ReferenceQueue$Lock;
         2: .line 54
            aload 0 /* this */
            aconst_null
            putfield java.lang.ref.ReferenceQueue.head:Ljava/lang/ref/Reference;
         3: .line 55
            aload 0 /* this */
            lconst_0
            putfield java.lang.ref.ReferenceQueue.queueLength:J
         4: .line 41
            return
        end local 0 // java.lang.ref.ReferenceQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljava/lang/ref/ReferenceQueue<TT;>;

  boolean enqueue(java.lang.ref.Reference<? extends T>);
    descriptor: (Ljava/lang/ref/Reference;)Z
    flags: (0x0000) 
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // java.lang.ref.ReferenceQueue this
        start local 1 // java.lang.ref.Reference r
         0: .line 58
            aload 1 /* r */
            dup
            astore 2
            monitorenter
         1: .line 59
            aload 1 /* r */
            getfield java.lang.ref.Reference.queue:Ljava/lang/ref/ReferenceQueue;
            getstatic java.lang.ref.ReferenceQueue.ENQUEUED:Ljava/lang/ref/ReferenceQueue;
            if_acmpne 3
            aload 2
            monitorexit
         2: iconst_0
            ireturn
         3: .line 60
      StackMap locals: java.lang.ref.Reference
      StackMap stack:
            aload 0 /* this */
            getfield java.lang.ref.ReferenceQueue.lock:Ljava/lang/ref/ReferenceQueue$Lock;
            dup
            astore 3
            monitorenter
         4: .line 61
            aload 1 /* r */
            getstatic java.lang.ref.ReferenceQueue.ENQUEUED:Ljava/lang/ref/ReferenceQueue;
            putfield java.lang.ref.Reference.queue:Ljava/lang/ref/ReferenceQueue;
         5: .line 62
            aload 1 /* r */
            aload 0 /* this */
            getfield java.lang.ref.ReferenceQueue.head:Ljava/lang/ref/Reference;
            ifnonnull 6
            aload 1 /* r */
            goto 7
      StackMap locals: java.lang.ref.ReferenceQueue java.lang.ref.Reference java.lang.ref.Reference java.lang.ref.ReferenceQueue$Lock
      StackMap stack: java.lang.ref.Reference
         6: aload 0 /* this */
            getfield java.lang.ref.ReferenceQueue.head:Ljava/lang/ref/Reference;
      StackMap locals: java.lang.ref.ReferenceQueue java.lang.ref.Reference java.lang.ref.Reference java.lang.ref.ReferenceQueue$Lock
      StackMap stack: java.lang.ref.Reference java.lang.ref.Reference
         7: putfield java.lang.ref.Reference.next:Ljava/lang/ref/Reference;
         8: .line 63
            aload 0 /* this */
            aload 1 /* r */
            putfield java.lang.ref.ReferenceQueue.head:Ljava/lang/ref/Reference;
         9: .line 64
            aload 0 /* this */
            dup
            getfield java.lang.ref.ReferenceQueue.queueLength:J
            lconst_1
            ladd
            putfield java.lang.ref.ReferenceQueue.queueLength:J
        10: .line 65
            aload 1 /* r */
            instanceof java.lang.ref.FinalReference
            ifeq 12
        11: .line 66
            iconst_1
            invokestatic sun.misc.VM.addFinalRefCount:(I)V
        12: .line 68
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.lang.ref.ReferenceQueue.lock:Ljava/lang/ref/ReferenceQueue$Lock;
            invokevirtual java.lang.Object.notifyAll:()V
        13: .line 69
            aload 3
            monitorexit
        14: aload 2
            monitorexit
        15: iconst_1
            ireturn
        16: .line 60
      StackMap locals:
      StackMap stack: java.lang.Throwable
            aload 3
            monitorexit
        17: athrow
        18: .line 58
      StackMap locals: java.lang.ref.ReferenceQueue java.lang.ref.Reference java.lang.ref.Reference
      StackMap stack: java.lang.Throwable
            aload 2
            monitorexit
        19: athrow
        end local 1 // java.lang.ref.Reference r
        end local 0 // java.lang.ref.ReferenceQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   20     0  this  Ljava/lang/ref/ReferenceQueue<TT;>;
            0   20     1     r  Ljava/lang/ref/Reference<+TT;>;
      Exception table:
        from    to  target  type
           4    14      16  any
          16    17      16  any
           1     2      18  any
           3    15      18  any
          16    19      18  any
    Signature: (Ljava/lang/ref/Reference<+TT;>;)Z
    MethodParameters:
      Name  Flags
      r     

  private java.lang.ref.Reference<? extends T> reallyPoll();
    descriptor: ()Ljava/lang/ref/Reference;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // java.lang.ref.ReferenceQueue this
         0: .line 75
            aload 0 /* this */
            getfield java.lang.ref.ReferenceQueue.head:Ljava/lang/ref/Reference;
            ifnull 11
         1: .line 76
            aload 0 /* this */
            getfield java.lang.ref.ReferenceQueue.head:Ljava/lang/ref/Reference;
            astore 1 /* r */
        start local 1 // java.lang.ref.Reference r
         2: .line 77
            aload 0 /* this */
            aload 1 /* r */
            getfield java.lang.ref.Reference.next:Ljava/lang/ref/Reference;
            aload 1 /* r */
            if_acmpne 3
            aconst_null
            goto 4
      StackMap locals: java.lang.ref.ReferenceQueue java.lang.ref.Reference
      StackMap stack: java.lang.ref.ReferenceQueue
         3: aload 1 /* r */
            getfield java.lang.ref.Reference.next:Ljava/lang/ref/Reference;
      StackMap locals: java.lang.ref.ReferenceQueue java.lang.ref.Reference
      StackMap stack: java.lang.ref.ReferenceQueue java.lang.ref.Reference
         4: putfield java.lang.ref.ReferenceQueue.head:Ljava/lang/ref/Reference;
         5: .line 78
            aload 1 /* r */
            getstatic java.lang.ref.ReferenceQueue.NULL:Ljava/lang/ref/ReferenceQueue;
            putfield java.lang.ref.Reference.queue:Ljava/lang/ref/ReferenceQueue;
         6: .line 79
            aload 1 /* r */
            aload 1 /* r */
            putfield java.lang.ref.Reference.next:Ljava/lang/ref/Reference;
         7: .line 80
            aload 0 /* this */
            dup
            getfield java.lang.ref.ReferenceQueue.queueLength:J
            lconst_1
            lsub
            putfield java.lang.ref.ReferenceQueue.queueLength:J
         8: .line 81
            aload 1 /* r */
            instanceof java.lang.ref.FinalReference
            ifeq 10
         9: .line 82
            iconst_m1
            invokestatic sun.misc.VM.addFinalRefCount:(I)V
        10: .line 84
      StackMap locals:
      StackMap stack:
            aload 1 /* r */
            areturn
        end local 1 // java.lang.ref.Reference r
        11: .line 86
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // java.lang.ref.ReferenceQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Ljava/lang/ref/ReferenceQueue<TT;>;
            2   11     1     r  Ljava/lang/ref/Reference<+TT;>;
    Signature: ()Ljava/lang/ref/Reference<+TT;>;

  public java.lang.ref.Reference<? extends T> poll();
    descriptor: ()Ljava/lang/ref/Reference;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.lang.ref.ReferenceQueue this
         0: .line 98
            aload 0 /* this */
            getfield java.lang.ref.ReferenceQueue.head:Ljava/lang/ref/Reference;
            ifnonnull 2
         1: .line 99
            aconst_null
            areturn
         2: .line 100
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.lang.ref.ReferenceQueue.lock:Ljava/lang/ref/ReferenceQueue$Lock;
            dup
            astore 1
            monitorenter
         3: .line 101
            aload 0 /* this */
            invokevirtual java.lang.ref.ReferenceQueue.reallyPoll:()Ljava/lang/ref/Reference;
            aload 1
            monitorexit
         4: areturn
         5: .line 100
      StackMap locals: java.lang.ref.ReferenceQueue java.lang.ref.ReferenceQueue$Lock
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         6: athrow
        end local 0 // java.lang.ref.ReferenceQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljava/lang/ref/ReferenceQueue<TT;>;
      Exception table:
        from    to  target  type
           3     4       5  any
           5     6       5  any
    Signature: ()Ljava/lang/ref/Reference<+TT;>;

  public java.lang.ref.Reference<? extends T> remove(long);
    descriptor: (J)Ljava/lang/ref/Reference;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // java.lang.ref.ReferenceQueue this
        start local 1 // long timeout
         0: .line 128
            lload 1 /* timeout */
            lconst_0
            lcmp
            ifge 2
         1: .line 129
            new java.lang.IllegalArgumentException
            dup
            ldc "Negative timeout value"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.lang.ref.ReferenceQueue.lock:Ljava/lang/ref/ReferenceQueue$Lock;
            dup
            astore 3
            monitorenter
         3: .line 132
            aload 0 /* this */
            invokevirtual java.lang.ref.ReferenceQueue.reallyPoll:()Ljava/lang/ref/Reference;
            astore 4 /* r */
        start local 4 // java.lang.ref.Reference r
         4: .line 133
            aload 4 /* r */
            ifnull 6
            aload 4 /* r */
            aload 3
            monitorexit
         5: areturn
         6: .line 135
      StackMap locals: java.lang.ref.ReferenceQueue$Lock java.lang.ref.Reference
      StackMap stack:
            aload 0 /* this */
            getfield java.lang.ref.ReferenceQueue.lock:Ljava/lang/ref/ReferenceQueue$Lock;
            lload 1 /* timeout */
            invokevirtual java.lang.Object.wait:(J)V
         7: .line 136
            aload 0 /* this */
            invokevirtual java.lang.ref.ReferenceQueue.reallyPoll:()Ljava/lang/ref/Reference;
            astore 4 /* r */
         8: .line 137
            aload 4 /* r */
            ifnull 10
            aload 4 /* r */
            aload 3
            monitorexit
         9: areturn
        10: .line 138
      StackMap locals:
      StackMap stack:
            lload 1 /* timeout */
            lconst_0
            lcmp
            ifeq 6
            aload 3
            monitorexit
        11: aconst_null
            areturn
        end local 4 // java.lang.ref.Reference r
        12: .line 131
      StackMap locals: java.lang.ref.ReferenceQueue long java.lang.ref.ReferenceQueue$Lock
      StackMap stack: java.lang.Throwable
            aload 3
            monitorexit
        13: athrow
        end local 1 // long timeout
        end local 0 // java.lang.ref.ReferenceQueue this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   14     0     this  Ljava/lang/ref/ReferenceQueue<TT;>;
            0   14     1  timeout  J
            4   12     4        r  Ljava/lang/ref/Reference<+TT;>;
      Exception table:
        from    to  target  type
           3     5      12  any
           6     9      12  any
          10    11      12  any
          12    13      12  any
    Exceptions:
      throws java.lang.IllegalArgumentException, java.lang.InterruptedException
    Signature: (J)Ljava/lang/ref/Reference<+TT;>;
    MethodParameters:
         Name  Flags
      timeout  

  public java.lang.ref.Reference<? extends T> remove();
    descriptor: ()Ljava/lang/ref/Reference;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.ref.ReferenceQueue this
         0: .line 151
            aload 0 /* this */
            lconst_0
            invokevirtual java.lang.ref.ReferenceQueue.remove:(J)Ljava/lang/ref/Reference;
            areturn
        end local 0 // java.lang.ref.ReferenceQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/lang/ref/ReferenceQueue<TT;>;
    Exceptions:
      throws java.lang.InterruptedException
    Signature: ()Ljava/lang/ref/Reference<+TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ReferenceQueue.java"
NestMembers:
  java.lang.ref.ReferenceQueue$Lock  java.lang.ref.ReferenceQueue$Null
InnerClasses:
  private Lock = java.lang.ref.ReferenceQueue$Lock of java.lang.ref.ReferenceQueue
  private Null = java.lang.ref.ReferenceQueue$Null of java.lang.ref.ReferenceQueue