public abstract class sun.nio.ch.SelectorImpl extends java.nio.channels.spi.AbstractSelector
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: sun.nio.ch.SelectorImpl
  super_class: java.nio.channels.spi.AbstractSelector
{
  private final java.util.Set<java.nio.channels.SelectionKey> keys;
    descriptor: Ljava/util/Set;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;

  private final java.util.Set<java.nio.channels.SelectionKey> selectedKeys;
    descriptor: Ljava/util/Set;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;

  private final java.util.Set<java.nio.channels.SelectionKey> publicKeys;
    descriptor: Ljava/util/Set;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;

  private final java.util.Set<java.nio.channels.SelectionKey> publicSelectedKeys;
    descriptor: Ljava/util/Set;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;

  private final java.util.Deque<sun.nio.ch.SelectionKeyImpl> cancelledKeys;
    descriptor: Ljava/util/Deque;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Deque<Lsun/nio/ch/SelectionKeyImpl;>;

  private boolean inSelect;
    descriptor: Z
    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=1, locals=0, args_size=0
         0: .line 51
            ldc Lsun/nio/ch/SelectorImpl;
            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.SelectorImpl.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  protected void <init>(java.nio.channels.spi.SelectorProvider);
    descriptor: (Ljava/nio/channels/spi/SelectorProvider;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // java.nio.channels.spi.SelectorProvider sp
         0: .line 71
            aload 0 /* this */
            aload 1 /* sp */
            invokespecial java.nio.channels.spi.AbstractSelector.<init>:(Ljava/nio/channels/spi/SelectorProvider;)V
         1: .line 65
            aload 0 /* this */
            new java.util.ArrayDeque
            dup
            invokespecial java.util.ArrayDeque.<init>:()V
            putfield sun.nio.ch.SelectorImpl.cancelledKeys:Ljava/util/Deque;
         2: .line 72
            aload 0 /* this */
            invokestatic java.util.concurrent.ConcurrentHashMap.newKeySet:()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
            putfield sun.nio.ch.SelectorImpl.keys:Ljava/util/Set;
         3: .line 73
            aload 0 /* this */
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            putfield sun.nio.ch.SelectorImpl.selectedKeys:Ljava/util/Set;
         4: .line 74
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.keys:Ljava/util/Set;
            invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
            putfield sun.nio.ch.SelectorImpl.publicKeys:Ljava/util/Set;
         5: .line 75
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.selectedKeys:Ljava/util/Set;
            invokestatic sun.nio.ch.Util.ungrowableSet:(Ljava/util/Set;)Ljava/util/Set;
            putfield sun.nio.ch.SelectorImpl.publicSelectedKeys:Ljava/util/Set;
         6: .line 76
            return
        end local 1 // java.nio.channels.spi.SelectorProvider sp
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/nio/ch/SelectorImpl;
            0    7     1    sp  Ljava/nio/channels/spi/SelectorProvider;
    MethodParameters:
      Name  Flags
      sp    

  private void ensureOpen();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.nio.ch.SelectorImpl this
         0: .line 79
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.isOpen:()Z
            ifne 2
         1: .line 80
            new java.nio.channels.ClosedSelectorException
            dup
            invokespecial java.nio.channels.ClosedSelectorException.<init>:()V
            athrow
         2: .line 81
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/nio/ch/SelectorImpl;

  public final java.util.Set<java.nio.channels.SelectionKey> keys();
    descriptor: ()Ljava/util/Set;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.nio.ch.SelectorImpl this
         0: .line 85
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.ensureOpen:()V
         1: .line 86
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.publicKeys:Ljava/util/Set;
            areturn
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/nio/ch/SelectorImpl;
    Signature: ()Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;

  public final java.util.Set<java.nio.channels.SelectionKey> selectedKeys();
    descriptor: ()Ljava/util/Set;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.nio.ch.SelectorImpl this
         0: .line 91
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.ensureOpen:()V
         1: .line 92
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.publicSelectedKeys:Ljava/util/Set;
            areturn
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/nio/ch/SelectorImpl;
    Signature: ()Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;

  protected final void begin(boolean);
    descriptor: (Z)V
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // boolean blocking
         0: .line 99
            iload 1 /* blocking */
            ifeq 1
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.begin:()V
         1: .line 100
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean blocking
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lsun/nio/ch/SelectorImpl;
            0    2     1  blocking  Z
    MethodParameters:
          Name  Flags
      blocking  

  protected final void end(boolean);
    descriptor: (Z)V
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // boolean blocking
         0: .line 106
            iload 1 /* blocking */
            ifeq 1
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.end:()V
         1: .line 107
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean blocking
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lsun/nio/ch/SelectorImpl;
            0    2     1  blocking  Z
    MethodParameters:
          Name  Flags
      blocking  

  protected abstract int doSelect(java.util.function.Consumer<java.nio.channels.SelectionKey>, );
    descriptor: (Ljava/util/function/Consumer;J)I
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;J)I
    MethodParameters:
         Name  Flags
      action   
      timeout  

  private int lockAndDoSelect(java.util.function.Consumer<java.nio.channels.SelectionKey>, );
    descriptor: (Ljava/util/function/Consumer;J)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=8, args_size=3
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // java.util.function.Consumer action
        start local 2 // long timeout
         0: .line 122
            aload 0 /* this */
            dup
            astore 4
            monitorenter
         1: .line 123
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.ensureOpen:()V
         2: .line 124
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.inSelect:Z
            ifeq 4
         3: .line 125
            new java.lang.IllegalStateException
            dup
            ldc "select in progress"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 126
      StackMap locals: sun.nio.ch.SelectorImpl
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.nio.ch.SelectorImpl.inSelect:Z
         5: .line 128
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.publicSelectedKeys:Ljava/util/Set;
            dup
            astore 5
            monitorenter
         6: .line 129
            aload 0 /* this */
            aload 1 /* action */
            lload 2 /* timeout */
            invokevirtual sun.nio.ch.SelectorImpl.doSelect:(Ljava/util/function/Consumer;J)I
            istore 7
            aload 5
            monitorexit
         7: .line 132
            aload 0 /* this */
            iconst_0
            putfield sun.nio.ch.SelectorImpl.inSelect:Z
         8: .line 129
            aload 4
            monitorexit
         9: iload 7
            ireturn
        10: .line 128
      StackMap locals: sun.nio.ch.SelectorImpl java.util.function.Consumer long sun.nio.ch.SelectorImpl java.util.Set
      StackMap stack: java.lang.Throwable
            aload 5
            monitorexit
        11: athrow
        12: .line 131
      StackMap locals: sun.nio.ch.SelectorImpl java.util.function.Consumer long sun.nio.ch.SelectorImpl
      StackMap stack: java.lang.Throwable
            astore 6
        13: .line 132
            aload 0 /* this */
            iconst_0
            putfield sun.nio.ch.SelectorImpl.inSelect:Z
        14: .line 133
            aload 6
            athrow
        15: .line 122
      StackMap locals:
      StackMap stack: java.lang.Throwable
            aload 4
            monitorexit
        16: athrow
        end local 2 // long timeout
        end local 1 // java.util.function.Consumer action
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   17     0     this  Lsun/nio/ch/SelectorImpl;
            0   17     1   action  Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;
            0   17     2  timeout  J
      Exception table:
        from    to  target  type
           6     7      10  any
          10    11      10  any
           5     7      12  any
          10    12      12  any
           1     9      15  any
          10    16      15  any
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;J)I
    MethodParameters:
         Name  Flags
      action   
      timeout  

  public final int select(long);
    descriptor: (J)I
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // long timeout
         0: .line 139
            lload 1 /* timeout */
            lconst_0
            lcmp
            ifge 2
         1: .line 140
            new java.lang.IllegalArgumentException
            dup
            ldc "Negative timeout"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 141
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            lload 1 /* timeout */
            lconst_0
            lcmp
            ifne 3
            ldc -1
            goto 4
      StackMap locals: sun.nio.ch.SelectorImpl long
      StackMap stack: sun.nio.ch.SelectorImpl null
         3: lload 1 /* timeout */
      StackMap locals: sun.nio.ch.SelectorImpl long
      StackMap stack: sun.nio.ch.SelectorImpl null long
         4: invokevirtual sun.nio.ch.SelectorImpl.lockAndDoSelect:(Ljava/util/function/Consumer;J)I
            ireturn
        end local 1 // long timeout
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Lsun/nio/ch/SelectorImpl;
            0    5     1  timeout  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      timeout  

  public final int select();
    descriptor: ()I
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // sun.nio.ch.SelectorImpl this
         0: .line 146
            aload 0 /* this */
            aconst_null
            ldc -1
            invokevirtual sun.nio.ch.SelectorImpl.lockAndDoSelect:(Ljava/util/function/Consumer;J)I
            ireturn
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/nio/ch/SelectorImpl;
    Exceptions:
      throws java.io.IOException

  public final int selectNow();
    descriptor: ()I
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // sun.nio.ch.SelectorImpl this
         0: .line 151
            aload 0 /* this */
            aconst_null
            lconst_0
            invokevirtual sun.nio.ch.SelectorImpl.lockAndDoSelect:(Ljava/util/function/Consumer;J)I
            ireturn
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/nio/ch/SelectorImpl;
    Exceptions:
      throws java.io.IOException

  public final int select(java.util.function.Consumer<java.nio.channels.SelectionKey>, );
    descriptor: (Ljava/util/function/Consumer;J)I
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // java.util.function.Consumer action
        start local 2 // long timeout
         0: .line 158
            aload 1 /* action */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 159
            lload 2 /* timeout */
            lconst_0
            lcmp
            ifge 3
         2: .line 160
            new java.lang.IllegalArgumentException
            dup
            ldc "Negative timeout"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 161
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* action */
            lload 2 /* timeout */
            lconst_0
            lcmp
            ifne 4
            ldc -1
            goto 5
      StackMap locals: sun.nio.ch.SelectorImpl java.util.function.Consumer long
      StackMap stack: sun.nio.ch.SelectorImpl java.util.function.Consumer
         4: lload 2 /* timeout */
      StackMap locals: sun.nio.ch.SelectorImpl java.util.function.Consumer long
      StackMap stack: sun.nio.ch.SelectorImpl java.util.function.Consumer long
         5: invokevirtual sun.nio.ch.SelectorImpl.lockAndDoSelect:(Ljava/util/function/Consumer;J)I
            ireturn
        end local 2 // long timeout
        end local 1 // java.util.function.Consumer action
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lsun/nio/ch/SelectorImpl;
            0    6     1   action  Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;
            0    6     2  timeout  J
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;J)I
    MethodParameters:
         Name  Flags
      action   
      timeout  

  public final int select(java.util.function.Consumer<java.nio.channels.SelectionKey>);
    descriptor: (Ljava/util/function/Consumer;)I
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // java.util.function.Consumer action
         0: .line 166
            aload 1 /* action */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 167
            aload 0 /* this */
            aload 1 /* action */
            ldc -1
            invokevirtual sun.nio.ch.SelectorImpl.lockAndDoSelect:(Ljava/util/function/Consumer;J)I
            ireturn
        end local 1 // java.util.function.Consumer action
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lsun/nio/ch/SelectorImpl;
            0    2     1  action  Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;)I
    MethodParameters:
        Name  Flags
      action  

  public final int selectNow(java.util.function.Consumer<java.nio.channels.SelectionKey>);
    descriptor: (Ljava/util/function/Consumer;)I
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // java.util.function.Consumer action
         0: .line 172
            aload 1 /* action */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 173
            aload 0 /* this */
            aload 1 /* action */
            lconst_0
            invokevirtual sun.nio.ch.SelectorImpl.lockAndDoSelect:(Ljava/util/function/Consumer;J)I
            ireturn
        end local 1 // java.util.function.Consumer action
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lsun/nio/ch/SelectorImpl;
            0    2     1  action  Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;)I
    MethodParameters:
        Name  Flags
      action  

  protected abstract void implClose();
    descriptor: ()V
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException

  public final void implCloseSelector();
    descriptor: ()V
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // sun.nio.ch.SelectorImpl this
         0: .line 183
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.wakeup:()Ljava/nio/channels/Selector;
            pop
         1: .line 184
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         2: .line 185
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.implClose:()V
         3: .line 186
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.publicSelectedKeys:Ljava/util/Set;
            dup
            astore 2
            monitorenter
         4: .line 188
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.keys:Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3 /* i */
        start local 3 // java.util.Iterator i
         5: .line 189
            goto 13
         6: .line 190
      StackMap locals: sun.nio.ch.SelectorImpl java.util.Set java.util.Iterator
      StackMap stack:
            aload 3 /* i */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast sun.nio.ch.SelectionKeyImpl
            astore 4 /* ski */
        start local 4 // sun.nio.ch.SelectionKeyImpl ski
         7: .line 191
            aload 0 /* this */
            aload 4 /* ski */
            invokevirtual sun.nio.ch.SelectorImpl.deregister:(Ljava/nio/channels/spi/AbstractSelectionKey;)V
         8: .line 192
            aload 4 /* ski */
            invokevirtual sun.nio.ch.SelectionKeyImpl.channel:()Ljava/nio/channels/SelectableChannel;
            astore 5 /* selch */
        start local 5 // java.nio.channels.SelectableChannel selch
         9: .line 193
            aload 5 /* selch */
            invokevirtual java.nio.channels.SelectableChannel.isOpen:()Z
            ifne 11
            aload 5 /* selch */
            invokevirtual java.nio.channels.SelectableChannel.isRegistered:()Z
            ifne 11
        10: .line 194
            aload 5 /* selch */
            checkcast sun.nio.ch.SelChImpl
            invokeinterface sun.nio.ch.SelChImpl.kill:()V
        11: .line 195
      StackMap locals: sun.nio.ch.SelectionKeyImpl java.nio.channels.SelectableChannel
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.selectedKeys:Ljava/util/Set;
            aload 4 /* ski */
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            pop
        12: .line 196
            aload 3 /* i */
            invokeinterface java.util.Iterator.remove:()V
        end local 5 // java.nio.channels.SelectableChannel selch
        end local 4 // sun.nio.ch.SelectionKeyImpl ski
        13: .line 189
      StackMap locals:
      StackMap stack:
            aload 3 /* i */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 6
        14: .line 198
            getstatic sun.nio.ch.SelectorImpl.$assertionsDisabled:Z
            ifne 16
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.selectedKeys:Ljava/util/Set;
            invokeinterface java.util.Set.isEmpty:()Z
            ifeq 15
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.keys:Ljava/util/Set;
            invokeinterface java.util.Set.isEmpty:()Z
            ifne 16
      StackMap locals:
      StackMap stack:
        15: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        end local 3 // java.util.Iterator i
        16: .line 186
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        17: goto 20
      StackMap locals:
      StackMap stack: java.lang.Throwable
        18: aload 2
            monitorexit
        19: athrow
        20: .line 184
      StackMap locals:
      StackMap stack:
            aload 1
            monitorexit
        21: goto 24
      StackMap locals:
      StackMap stack: java.lang.Throwable
        22: aload 1
            monitorexit
        23: athrow
        24: .line 201
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   25     0   this  Lsun/nio/ch/SelectorImpl;
            5   16     3      i  Ljava/util/Iterator<Ljava/nio/channels/SelectionKey;>;
            7   13     4    ski  Lsun/nio/ch/SelectionKeyImpl;
            9   13     5  selch  Ljava/nio/channels/SelectableChannel;
      Exception table:
        from    to  target  type
           4    17      18  any
          18    19      18  any
           2    21      22  any
          22    23      22  any
    Exceptions:
      throws java.io.IOException

  protected final java.nio.channels.SelectionKey register(java.nio.channels.spi.AbstractSelectableChannel, int, java.lang.Object);
    descriptor: (Ljava/nio/channels/spi/AbstractSelectableChannel;ILjava/lang/Object;)Ljava/nio/channels/SelectionKey;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // java.nio.channels.spi.AbstractSelectableChannel ch
        start local 2 // int ops
        start local 3 // java.lang.Object attachment
         0: .line 208
            aload 1 /* ch */
            instanceof sun.nio.ch.SelChImpl
            ifne 2
         1: .line 209
            new java.nio.channels.IllegalSelectorException
            dup
            invokespecial java.nio.channels.IllegalSelectorException.<init>:()V
            athrow
         2: .line 210
      StackMap locals:
      StackMap stack:
            new sun.nio.ch.SelectionKeyImpl
            dup
            aload 1 /* ch */
            checkcast sun.nio.ch.SelChImpl
            aload 0 /* this */
            invokespecial sun.nio.ch.SelectionKeyImpl.<init>:(Lsun/nio/ch/SelChImpl;Lsun/nio/ch/SelectorImpl;)V
            astore 4 /* k */
        start local 4 // sun.nio.ch.SelectionKeyImpl k
         3: .line 211
            aload 3 /* attachment */
            ifnull 5
         4: .line 212
            aload 4 /* k */
            aload 3 /* attachment */
            invokevirtual sun.nio.ch.SelectionKeyImpl.attach:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         5: .line 215
      StackMap locals: sun.nio.ch.SelectionKeyImpl
      StackMap stack:
            aload 0 /* this */
            aload 4 /* k */
            invokevirtual sun.nio.ch.SelectorImpl.implRegister:(Lsun/nio/ch/SelectionKeyImpl;)V
         6: .line 220
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.keys:Ljava/util/Set;
            aload 4 /* k */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
         7: .line 222
            aload 4 /* k */
            iload 2 /* ops */
            invokevirtual sun.nio.ch.SelectionKeyImpl.interestOps:(I)Ljava/nio/channels/SelectionKey;
            pop
         8: .line 223
            goto 14
      StackMap locals:
      StackMap stack: java.nio.channels.ClosedSelectorException
         9: astore 5 /* e */
        start local 5 // java.nio.channels.ClosedSelectorException e
        10: .line 224
            getstatic sun.nio.ch.SelectorImpl.$assertionsDisabled:Z
            ifne 11
            aload 1 /* ch */
            aload 0 /* this */
            invokevirtual java.nio.channels.spi.AbstractSelectableChannel.keyFor:(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;
            ifnull 11
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        11: .line 225
      StackMap locals: java.nio.channels.ClosedSelectorException
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.keys:Ljava/util/Set;
            aload 4 /* k */
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            pop
        12: .line 226
            aload 4 /* k */
            invokevirtual sun.nio.ch.SelectionKeyImpl.cancel:()V
        13: .line 227
            aload 5 /* e */
            athrow
        end local 5 // java.nio.channels.ClosedSelectorException e
        14: .line 229
      StackMap locals:
      StackMap stack:
            aload 4 /* k */
            areturn
        end local 4 // sun.nio.ch.SelectionKeyImpl k
        end local 3 // java.lang.Object attachment
        end local 2 // int ops
        end local 1 // java.nio.channels.spi.AbstractSelectableChannel ch
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   15     0        this  Lsun/nio/ch/SelectorImpl;
            0   15     1          ch  Ljava/nio/channels/spi/AbstractSelectableChannel;
            0   15     2         ops  I
            0   15     3  attachment  Ljava/lang/Object;
            3   15     4           k  Lsun/nio/ch/SelectionKeyImpl;
           10   14     5           e  Ljava/nio/channels/ClosedSelectorException;
      Exception table:
        from    to  target  type
           7     8       9  Class java.nio.channels.ClosedSelectorException
    MethodParameters:
            Name  Flags
      ch          
      ops         
      attachment  

  protected void implRegister(sun.nio.ch.SelectionKeyImpl);
    descriptor: (Lsun/nio/ch/SelectionKeyImpl;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // sun.nio.ch.SelectionKeyImpl ski
         0: .line 239
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.ensureOpen:()V
         1: .line 240
            return
        end local 1 // sun.nio.ch.SelectionKeyImpl ski
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/nio/ch/SelectorImpl;
            0    2     1   ski  Lsun/nio/ch/SelectionKeyImpl;
    MethodParameters:
      Name  Flags
      ski   

  protected abstract void implDereg(sun.nio.ch.SelectionKeyImpl);
    descriptor: (Lsun/nio/ch/SelectionKeyImpl;)V
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      ski   

  public void cancel(sun.nio.ch.SelectionKeyImpl);
    descriptor: (Lsun/nio/ch/SelectionKeyImpl;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // sun.nio.ch.SelectionKeyImpl ski
         0: .line 251
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.cancelledKeys:Ljava/util/Deque;
            dup
            astore 2
            monitorenter
         1: .line 252
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.cancelledKeys:Ljava/util/Deque;
            aload 1 /* ski */
            invokeinterface java.util.Deque.addLast:(Ljava/lang/Object;)V
         2: .line 251
            aload 2
            monitorexit
         3: goto 6
      StackMap locals: sun.nio.ch.SelectorImpl sun.nio.ch.SelectionKeyImpl java.util.Deque
      StackMap stack: java.lang.Throwable
         4: aload 2
            monitorexit
         5: athrow
         6: .line 254
      StackMap locals:
      StackMap stack:
            return
        end local 1 // sun.nio.ch.SelectionKeyImpl ski
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/nio/ch/SelectorImpl;
            0    7     1   ski  Lsun/nio/ch/SelectionKeyImpl;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any
    MethodParameters:
      Name  Flags
      ski   

  protected final void processDeregisterQueue();
    descriptor: ()V
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // sun.nio.ch.SelectorImpl this
         0: .line 260
            getstatic sun.nio.ch.SelectorImpl.$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 261
      StackMap locals:
      StackMap stack:
            getstatic sun.nio.ch.SelectorImpl.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.publicSelectedKeys:Ljava/util/Set;
            invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
            ifne 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 263
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.cancelledKeys:Ljava/util/Deque;
            dup
            astore 1
            monitorenter
         3: .line 265
            goto 11
        start local 2 // sun.nio.ch.SelectionKeyImpl ski
         4: .line 267
      StackMap locals: java.util.Deque sun.nio.ch.SelectionKeyImpl
      StackMap stack:
            aload 0 /* this */
            aload 2 /* ski */
            invokevirtual sun.nio.ch.SelectorImpl.implDereg:(Lsun/nio/ch/SelectionKeyImpl;)V
         5: .line 269
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.selectedKeys:Ljava/util/Set;
            aload 2 /* ski */
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            pop
         6: .line 270
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.keys:Ljava/util/Set;
            aload 2 /* ski */
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            pop
         7: .line 273
            aload 0 /* this */
            aload 2 /* ski */
            invokevirtual sun.nio.ch.SelectorImpl.deregister:(Ljava/nio/channels/spi/AbstractSelectionKey;)V
         8: .line 275
            aload 2 /* ski */
            invokevirtual sun.nio.ch.SelectionKeyImpl.channel:()Ljava/nio/channels/SelectableChannel;
            astore 3 /* ch */
        start local 3 // java.nio.channels.SelectableChannel ch
         9: .line 276
            aload 3 /* ch */
            invokevirtual java.nio.channels.SelectableChannel.isOpen:()Z
            ifne 11
            aload 3 /* ch */
            invokevirtual java.nio.channels.SelectableChannel.isRegistered:()Z
            ifne 11
        10: .line 277
            aload 3 /* ch */
            checkcast sun.nio.ch.SelChImpl
            invokeinterface sun.nio.ch.SelChImpl.kill:()V
        end local 3 // java.nio.channels.SelectableChannel ch
        end local 2 // sun.nio.ch.SelectionKeyImpl ski
        11: .line 265
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.cancelledKeys:Ljava/util/Deque;
            invokeinterface java.util.Deque.pollFirst:()Ljava/lang/Object;
            checkcast sun.nio.ch.SelectionKeyImpl
            dup
            astore 2 /* ski */
        start local 2 // sun.nio.ch.SelectionKeyImpl ski
        12: ifnonnull 4
        end local 2 // sun.nio.ch.SelectionKeyImpl ski
        13: .line 263
            aload 1
            monitorexit
        14: goto 17
      StackMap locals:
      StackMap stack: java.lang.Throwable
        15: aload 1
            monitorexit
        16: athrow
        17: .line 280
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   18     0  this  Lsun/nio/ch/SelectorImpl;
            4   11     2   ski  Lsun/nio/ch/SelectionKeyImpl;
           12   13     2   ski  Lsun/nio/ch/SelectionKeyImpl;
            9   11     3    ch  Ljava/nio/channels/SelectableChannel;
      Exception table:
        from    to  target  type
           3    14      15  any
          15    16      15  any
    Exceptions:
      throws java.io.IOException

  protected final int processReadyEvents(int, sun.nio.ch.SelectionKeyImpl, java.util.function.Consumer<java.nio.channels.SelectionKey>);
    descriptor: (ILsun/nio/ch/SelectionKeyImpl;Ljava/util/function/Consumer;)I
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // int rOps
        start local 2 // sun.nio.ch.SelectionKeyImpl ski
        start local 3 // java.util.function.Consumer action
         0: .line 291
            aload 3 /* action */
            ifnull 6
         1: .line 292
            aload 2 /* ski */
            iload 1 /* rOps */
            invokevirtual sun.nio.ch.SelectionKeyImpl.translateAndSetReadyOps:(I)Z
            pop
         2: .line 293
            aload 2 /* ski */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:()I
            aload 2 /* ski */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioInterestOps:()I
            iand
            ifeq 14
         3: .line 294
            aload 3 /* action */
            aload 2 /* ski */
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
         4: .line 295
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.ensureOpen:()V
         5: .line 296
            iconst_1
            ireturn
         6: .line 299
      StackMap locals:
      StackMap stack:
            getstatic sun.nio.ch.SelectorImpl.$assertionsDisabled:Z
            ifne 7
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.publicSelectedKeys:Ljava/util/Set;
            invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
            ifne 7
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         7: .line 300
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.selectedKeys:Ljava/util/Set;
            aload 2 /* ski */
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 10
         8: .line 301
            aload 2 /* ski */
            iload 1 /* rOps */
            invokevirtual sun.nio.ch.SelectionKeyImpl.translateAndUpdateReadyOps:(I)Z
            ifeq 14
         9: .line 302
            iconst_1
            ireturn
        10: .line 305
      StackMap locals:
      StackMap stack:
            aload 2 /* ski */
            iload 1 /* rOps */
            invokevirtual sun.nio.ch.SelectionKeyImpl.translateAndSetReadyOps:(I)Z
            pop
        11: .line 306
            aload 2 /* ski */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:()I
            aload 2 /* ski */
            invokevirtual sun.nio.ch.SelectionKeyImpl.nioInterestOps:()I
            iand
            ifeq 14
        12: .line 307
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.selectedKeys:Ljava/util/Set;
            aload 2 /* ski */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        13: .line 308
            iconst_1
            ireturn
        14: .line 312
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 3 // java.util.function.Consumer action
        end local 2 // sun.nio.ch.SelectionKeyImpl ski
        end local 1 // int rOps
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   15     0    this  Lsun/nio/ch/SelectorImpl;
            0   15     1    rOps  I
            0   15     2     ski  Lsun/nio/ch/SelectionKeyImpl;
            0   15     3  action  Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;
    Signature: (ILsun/nio/ch/SelectionKeyImpl;Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;)I
    MethodParameters:
        Name  Flags
      rOps    
      ski     
      action  

  protected abstract void setEventOps(sun.nio.ch.SelectionKeyImpl);
    descriptor: (Lsun/nio/ch/SelectionKeyImpl;)V
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    MethodParameters:
      Name  Flags
      ski   
}
SourceFile: "SelectorImpl.java"
InnerClasses:
  public KeySetView = java.util.concurrent.ConcurrentHashMap$KeySetView of java.util.concurrent.ConcurrentHashMap