class sun.nio.ch.PendingIoCache
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.nio.ch.PendingIoCache
  super_class: java.lang.Object
{
  private static final jdk.internal.misc.Unsafe unsafe;
    descriptor: Ljdk/internal/misc/Unsafe;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final int addressSize;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final int SIZEOF_OVERLAPPED;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private boolean closed;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private boolean closePending;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private final java.util.Map<java.lang.Long, sun.nio.ch.PendingFuture> pendingIoMap;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/Long;Lsun/nio/ch/PendingFuture;>;

  private long[] overlappedCache;
    descriptor: [J
    flags: (0x0002) ACC_PRIVATE

  private int overlappedCacheCount;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  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=2, locals=0, args_size=0
         0: .line 37
            ldc Lsun/nio/ch/PendingIoCache;
            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 sun.nio.ch.PendingIoCache.$assertionsDisabled:Z
         3: .line 38
            invokestatic jdk.internal.misc.Unsafe.getUnsafe:()Ljdk/internal/misc/Unsafe;
            putstatic sun.nio.ch.PendingIoCache.unsafe:Ljdk/internal/misc/Unsafe;
         4: .line 39
            getstatic sun.nio.ch.PendingIoCache.unsafe:Ljdk/internal/misc/Unsafe;
            invokevirtual jdk.internal.misc.Unsafe.addressSize:()I
            putstatic sun.nio.ch.PendingIoCache.addressSize:I
         5: .line 54
            bipush 20
            bipush 32
            invokestatic sun.nio.ch.PendingIoCache.dependsArch:(II)I
            putstatic sun.nio.ch.PendingIoCache.SIZEOF_OVERLAPPED:I
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static int dependsArch(int, int);
    descriptor: (II)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // int value32
        start local 1 // int value64
         0: .line 42
            getstatic sun.nio.ch.PendingIoCache.addressSize:I
            iconst_4
            if_icmpne 1
            iload 0 /* value32 */
            goto 2
      StackMap locals:
      StackMap stack:
         1: iload 1 /* value64 */
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 1 // int value64
        end local 0 // int value32
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0  value32  I
            0    3     1  value64  I
    MethodParameters:
         Name  Flags
      value32  
      value64  

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.nio.ch.PendingIoCache this
         0: .line 71
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 64
            aload 0 /* this */
         2: .line 65
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield sun.nio.ch.PendingIoCache.pendingIoMap:Ljava/util/Map;
         3: .line 68
            aload 0 /* this */
            iconst_4
            newarray 11
            putfield sun.nio.ch.PendingIoCache.overlappedCache:[J
         4: .line 69
            aload 0 /* this */
            iconst_0
            putfield sun.nio.ch.PendingIoCache.overlappedCacheCount:I
         5: .line 72
            return
        end local 0 // sun.nio.ch.PendingIoCache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/nio/ch/PendingIoCache;

  long add(sun.nio.ch.PendingFuture<?, ?>);
    descriptor: (Lsun/nio/ch/PendingFuture;)J
    flags: (0x0000) 
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // sun.nio.ch.PendingIoCache this
        start local 1 // sun.nio.ch.PendingFuture result
         0: .line 75
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 76
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.closed:Z
            ifeq 3
         2: .line 77
            new java.lang.AssertionError
            dup
            ldc "Should not get here"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         3: .line 79
      StackMap locals: sun.nio.ch.PendingIoCache
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.overlappedCacheCount:I
            ifle 6
         4: .line 80
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.overlappedCache:[J
            aload 0 /* this */
            dup
            getfield sun.nio.ch.PendingIoCache.overlappedCacheCount:I
            iconst_1
            isub
            dup_x1
            putfield sun.nio.ch.PendingIoCache.overlappedCacheCount:I
            laload
            lstore 3 /* ov */
        start local 3 // long ov
         5: .line 81
            goto 7
        end local 3 // long ov
         6: .line 82
      StackMap locals:
      StackMap stack:
            getstatic sun.nio.ch.PendingIoCache.unsafe:Ljdk/internal/misc/Unsafe;
            getstatic sun.nio.ch.PendingIoCache.SIZEOF_OVERLAPPED:I
            i2l
            invokevirtual jdk.internal.misc.Unsafe.allocateMemory:(J)J
            lstore 3 /* ov */
        start local 3 // long ov
         7: .line 84
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.pendingIoMap:Ljava/util/Map;
            lload 3 /* ov */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aload 1 /* result */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         8: .line 85
            lload 3 /* ov */
            aload 2
            monitorexit
         9: lreturn
        end local 3 // long ov
        10: .line 75
      StackMap locals: sun.nio.ch.PendingIoCache sun.nio.ch.PendingFuture sun.nio.ch.PendingIoCache
      StackMap stack: java.lang.Throwable
            aload 2
            monitorexit
        11: athrow
        end local 1 // sun.nio.ch.PendingFuture result
        end local 0 // sun.nio.ch.PendingIoCache this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   12     0    this  Lsun/nio/ch/PendingIoCache;
            0   12     1  result  Lsun/nio/ch/PendingFuture<**>;
            5    6     3      ov  J
            7   10     3      ov  J
      Exception table:
        from    to  target  type
           1     9      10  any
          10    11      10  any
    Signature: (Lsun/nio/ch/PendingFuture<**>;)J
    MethodParameters:
        Name  Flags
      result  

  <V, A> sun.nio.ch.PendingFuture<V, A> remove(long);
    descriptor: (J)Lsun/nio/ch/PendingFuture;
    flags: (0x0000) 
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // sun.nio.ch.PendingIoCache this
        start local 1 // long overlapped
         0: .line 91
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         1: .line 92
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.pendingIoMap:Ljava/util/Map;
            lload 1 /* overlapped */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.nio.ch.PendingFuture
            astore 4 /* res */
        start local 4 // sun.nio.ch.PendingFuture res
         2: .line 93
            aload 4 /* res */
            ifnull 9
         3: .line 94
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.overlappedCacheCount:I
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.overlappedCache:[J
            arraylength
            if_icmpge 6
         4: .line 95
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.overlappedCache:[J
            aload 0 /* this */
            dup
            getfield sun.nio.ch.PendingIoCache.overlappedCacheCount:I
            dup_x1
            iconst_1
            iadd
            putfield sun.nio.ch.PendingIoCache.overlappedCacheCount:I
            lload 1 /* overlapped */
            lastore
         5: .line 96
            goto 7
         6: .line 98
      StackMap locals: sun.nio.ch.PendingIoCache sun.nio.ch.PendingFuture
      StackMap stack:
            getstatic sun.nio.ch.PendingIoCache.unsafe:Ljdk/internal/misc/Unsafe;
            lload 1 /* overlapped */
            invokevirtual jdk.internal.misc.Unsafe.freeMemory:(J)V
         7: .line 101
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.closePending:Z
            ifeq 9
         8: .line 102
            aload 0 /* this */
            invokevirtual java.lang.Object.notifyAll:()V
         9: .line 105
      StackMap locals:
      StackMap stack:
            aload 4 /* res */
            aload 3
            monitorexit
        10: areturn
        end local 4 // sun.nio.ch.PendingFuture res
        11: .line 91
      StackMap locals: sun.nio.ch.PendingIoCache long sun.nio.ch.PendingIoCache
      StackMap stack: java.lang.Throwable
            aload 3
            monitorexit
        12: athrow
        end local 1 // long overlapped
        end local 0 // sun.nio.ch.PendingIoCache this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   13     0        this  Lsun/nio/ch/PendingIoCache;
            0   13     1  overlapped  J
            2   11     4         res  Lsun/nio/ch/PendingFuture<TV;TA;>;
      Exception table:
        from    to  target  type
           1    10      11  any
          11    12      11  any
    Signature: <V:Ljava/lang/Object;A:Ljava/lang/Object;>(J)Lsun/nio/ch/PendingFuture<TV;TA;>;
    MethodParameters:
            Name  Flags
      overlapped  

  void close();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // sun.nio.ch.PendingIoCache this
         0: .line 110
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         1: .line 111
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.closed:Z
            ifeq 4
         2: .line 112
            aload 1
            monitorexit
         3: return
         4: .line 115
      StackMap locals: sun.nio.ch.PendingIoCache
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.pendingIoMap:Ljava/util/Map;
            invokeinterface java.util.Map.isEmpty:()Z
            ifne 8
         5: .line 116
            aload 0 /* this */
            invokevirtual sun.nio.ch.PendingIoCache.clearPendingIoMap:()V
         6: .line 119
            goto 8
         7: .line 120
      StackMap locals:
      StackMap stack:
            getstatic sun.nio.ch.PendingIoCache.unsafe:Ljdk/internal/misc/Unsafe;
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.overlappedCache:[J
            aload 0 /* this */
            dup
            getfield sun.nio.ch.PendingIoCache.overlappedCacheCount:I
            iconst_1
            isub
            dup_x1
            putfield sun.nio.ch.PendingIoCache.overlappedCacheCount:I
            laload
            invokevirtual jdk.internal.misc.Unsafe.freeMemory:(J)V
         8: .line 119
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.overlappedCacheCount:I
            ifgt 7
         9: .line 124
            aload 0 /* this */
            iconst_1
            putfield sun.nio.ch.PendingIoCache.closed:Z
        10: .line 110
            aload 1
            monitorexit
        11: goto 14
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: aload 1
            monitorexit
        13: athrow
        14: .line 126
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.ch.PendingIoCache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   15     0  this  Lsun/nio/ch/PendingIoCache;
      Exception table:
        from    to  target  type
           1     3      12  any
           4    11      12  any
          12    13      12  any

  private void clearPendingIoMap();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=7, args_size=1
        start local 0 // sun.nio.ch.PendingIoCache this
         0: .line 129
            getstatic sun.nio.ch.PendingIoCache.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 132
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.nio.ch.PendingIoCache.closePending:Z
         2: .line 134
            aload 0 /* this */
            ldc 50
            invokevirtual java.lang.Object.wait:(J)V
         3: .line 135
            goto 6
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
         4: pop
         5: .line 136
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
         6: .line 138
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield sun.nio.ch.PendingIoCache.closePending:Z
         7: .line 139
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.pendingIoMap:Ljava/util/Map;
            invokeinterface java.util.Map.isEmpty:()Z
            ifeq 9
         8: .line 140
            return
         9: .line 144
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.pendingIoMap:Ljava/util/Map;
            invokeinterface java.util.Map.keySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 2
            goto 18
      StackMap locals: sun.nio.ch.PendingIoCache top java.util.Iterator
      StackMap stack:
        10: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.Long
            astore 1 /* ov */
        start local 1 // java.lang.Long ov
        11: .line 145
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.pendingIoMap:Ljava/util/Map;
            aload 1 /* ov */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.nio.ch.PendingFuture
            astore 3 /* result */
        start local 3 // sun.nio.ch.PendingFuture result
        12: .line 146
            getstatic sun.nio.ch.PendingIoCache.$assertionsDisabled:Z
            ifne 13
            aload 3 /* result */
            invokevirtual sun.nio.ch.PendingFuture.isDone:()Z
            ifeq 13
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        13: .line 149
      StackMap locals: sun.nio.ch.PendingIoCache java.lang.Long java.util.Iterator sun.nio.ch.PendingFuture
      StackMap stack:
            aload 3 /* result */
            invokevirtual sun.nio.ch.PendingFuture.channel:()Ljava/nio/channels/AsynchronousChannel;
            checkcast sun.nio.ch.Groupable
            invokeinterface sun.nio.ch.Groupable.group:()Lsun/nio/ch/AsynchronousChannelGroupImpl;
            checkcast sun.nio.ch.Iocp
            astore 4 /* iocp */
        start local 4 // sun.nio.ch.Iocp iocp
        14: .line 150
            aload 4 /* iocp */
            aload 1 /* ov */
            invokevirtual sun.nio.ch.Iocp.makeStale:(Ljava/lang/Long;)V
        15: .line 153
            aload 3 /* result */
            invokevirtual sun.nio.ch.PendingFuture.getContext:()Ljava/lang/Object;
            checkcast sun.nio.ch.Iocp$ResultHandler
            astore 5 /* rh */
        start local 5 // sun.nio.ch.Iocp$ResultHandler rh
        16: .line 154
            new sun.nio.ch.PendingIoCache$1
            dup
            aload 0 /* this */
            aload 5 /* rh */
            invokespecial sun.nio.ch.PendingIoCache$1.<init>:(Lsun/nio/ch/PendingIoCache;Lsun/nio/ch/Iocp$ResultHandler;)V
            astore 6 /* task */
        start local 6 // java.lang.Runnable task
        17: .line 159
            aload 4 /* iocp */
            aload 6 /* task */
            invokevirtual sun.nio.ch.Iocp.executeOnPooledThread:(Ljava/lang/Runnable;)V
        end local 6 // java.lang.Runnable task
        end local 5 // sun.nio.ch.Iocp$ResultHandler rh
        end local 4 // sun.nio.ch.Iocp iocp
        end local 3 // sun.nio.ch.PendingFuture result
        end local 1 // java.lang.Long ov
        18: .line 144
      StackMap locals: sun.nio.ch.PendingIoCache top java.util.Iterator
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 10
        19: .line 161
            aload 0 /* this */
            getfield sun.nio.ch.PendingIoCache.pendingIoMap:Ljava/util/Map;
            invokeinterface java.util.Map.clear:()V
        20: .line 162
            return
        end local 0 // sun.nio.ch.PendingIoCache this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   21     0    this  Lsun/nio/ch/PendingIoCache;
           11   18     1      ov  Ljava/lang/Long;
           12   18     3  result  Lsun/nio/ch/PendingFuture<**>;
           14   18     4    iocp  Lsun/nio/ch/Iocp;
           16   18     5      rh  Lsun/nio/ch/Iocp$ResultHandler;
           17   18     6    task  Ljava/lang/Runnable;
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.InterruptedException
}
SourceFile: "PendingIoCache.java"
NestMembers:
  sun.nio.ch.PendingIoCache$1
InnerClasses:
  abstract ResultHandler = sun.nio.ch.Iocp$ResultHandler of sun.nio.ch.Iocp
  sun.nio.ch.PendingIoCache$1