abstract class sun.nio.ch.SelectorImpl extends java.nio.channels.spi.AbstractSelector
  minor version: 0
  major version: 59
  flags: flags: (0x0420) 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 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 49
            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 66
            aload 0 /* this */
            aload 1 /* sp */
            invokespecial java.nio.channels.spi.AbstractSelector.<init>:(Ljava/nio/channels/spi/SelectorProvider;)V
         1: .line 67
            aload 0 /* this */
            invokestatic java.util.concurrent.ConcurrentHashMap.newKeySet:()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
            putfield sun.nio.ch.SelectorImpl.keys:Ljava/util/Set;
         2: .line 68
            aload 0 /* this */
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            putfield sun.nio.ch.SelectorImpl.selectedKeys:Ljava/util/Set;
         3: .line 69
            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;
         4: .line 70
            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;
         5: .line 71
            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    6     0  this  Lsun/nio/ch/SelectorImpl;
            0    6     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 74
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.isOpen:()Z
            ifne 2
         1: .line 75
            new java.nio.channels.ClosedSelectorException
            dup
            invokespecial java.nio.channels.ClosedSelectorException.<init>:()V
            athrow
         2: .line 76
      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 80
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.ensureOpen:()V
         1: .line 81
            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 86
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.ensureOpen:()V
         1: .line 87
            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 94
            iload 1 /* blocking */
            ifeq 1
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.begin:()V
         1: .line 95
      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 101
            iload 1 /* blocking */
            ifeq 1
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.end:()V
         1: .line 102
      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 117
            aload 0 /* this */
            dup
            astore 4
            monitorenter
         1: .line 118
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.ensureOpen:()V
         2: .line 119
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.inSelect:Z
            ifeq 4
         3: .line 120
            new java.lang.IllegalStateException
            dup
            ldc "select in progress"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 121
      StackMap locals: sun.nio.ch.SelectorImpl
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.nio.ch.SelectorImpl.inSelect:Z
         5: .line 123
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.publicSelectedKeys:Ljava/util/Set;
            dup
            astore 5
            monitorenter
         6: .line 124
            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 127
            aload 0 /* this */
            iconst_0
            putfield sun.nio.ch.SelectorImpl.inSelect:Z
         8: .line 124
            aload 4
            monitorexit
         9: iload 7
            ireturn
        10: .line 123
      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 126
      StackMap locals: sun.nio.ch.SelectorImpl java.util.function.Consumer long sun.nio.ch.SelectorImpl
      StackMap stack: java.lang.Throwable
            astore 6
        13: .line 127
            aload 0 /* this */
            iconst_0
            putfield sun.nio.ch.SelectorImpl.inSelect:Z
        14: .line 128
            aload 6
            athrow
        15: .line 117
      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 134
            lload 1 /* timeout */
            lconst_0
            lcmp
            ifge 2
         1: .line 135
            new java.lang.IllegalArgumentException
            dup
            ldc "Negative timeout"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 136
      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 141
            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 146
            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 153
            aload 1 /* action */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 154
            lload 2 /* timeout */
            lconst_0
            lcmp
            ifge 3
         2: .line 155
            new java.lang.IllegalArgumentException
            dup
            ldc "Negative timeout"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 156
      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 161
            aload 1 /* action */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 162
            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 167
            aload 1 /* action */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 168
            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 178
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.wakeup:()Ljava/nio/channels/Selector;
            pop
         1: .line 179
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         2: .line 180
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.implClose:()V
         3: .line 181
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.publicSelectedKeys:Ljava/util/Set;
            dup
            astore 2
            monitorenter
         4: .line 183
            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 184
            goto 13
         6: .line 185
      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 186
            aload 0 /* this */
            aload 4 /* ski */
            invokevirtual sun.nio.ch.SelectorImpl.deregister:(Ljava/nio/channels/spi/AbstractSelectionKey;)V
         8: .line 187
            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 188
            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 189
            aload 5 /* selch */
            checkcast sun.nio.ch.SelChImpl
            invokeinterface sun.nio.ch.SelChImpl.kill:()V
        11: .line 190
      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 191
            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 184
      StackMap locals:
      StackMap stack:
            aload 3 /* i */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 6
        14: .line 193
            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 181
      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 179
      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 196
      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 203
            aload 1 /* ch */
            instanceof sun.nio.ch.SelChImpl
            ifne 2
         1: .line 204
            new java.nio.channels.IllegalSelectorException
            dup
            invokespecial java.nio.channels.IllegalSelectorException.<init>:()V
            athrow
         2: .line 205
      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 206
            aload 4 /* k */
            aload 3 /* attachment */
            invokevirtual sun.nio.ch.SelectionKeyImpl.attach:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 209
            aload 0 /* this */
            aload 4 /* k */
            invokevirtual sun.nio.ch.SelectorImpl.implRegister:(Lsun/nio/ch/SelectionKeyImpl;)V
         5: .line 214
            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
         6: .line 216
            aload 4 /* k */
            iload 2 /* ops */
            invokevirtual sun.nio.ch.SelectionKeyImpl.interestOps:(I)Ljava/nio/channels/SelectionKey;
            pop
         7: .line 217
            goto 13
      StackMap locals: sun.nio.ch.SelectorImpl java.nio.channels.spi.AbstractSelectableChannel int java.lang.Object sun.nio.ch.SelectionKeyImpl
      StackMap stack: java.nio.channels.ClosedSelectorException
         8: astore 5 /* e */
        start local 5 // java.nio.channels.ClosedSelectorException e
         9: .line 218
            getstatic sun.nio.ch.SelectorImpl.$assertionsDisabled:Z
            ifne 10
            aload 1 /* ch */
            aload 0 /* this */
            invokevirtual java.nio.channels.spi.AbstractSelectableChannel.keyFor:(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;
            ifnull 10
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        10: .line 219
      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
        11: .line 220
            aload 4 /* k */
            invokevirtual sun.nio.ch.SelectionKeyImpl.cancel:()V
        12: .line 221
            aload 5 /* e */
            athrow
        end local 5 // java.nio.channels.ClosedSelectorException e
        13: .line 223
      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   14     0        this  Lsun/nio/ch/SelectorImpl;
            0   14     1          ch  Ljava/nio/channels/spi/AbstractSelectableChannel;
            0   14     2         ops  I
            0   14     3  attachment  Ljava/lang/Object;
            3   14     4           k  Lsun/nio/ch/SelectionKeyImpl;
            9   13     5           e  Ljava/nio/channels/ClosedSelectorException;
      Exception table:
        from    to  target  type
           6     7       8  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 233
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.ensureOpen:()V
         1: .line 234
            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   

  protected final void processDeregisterQueue();
    descriptor: ()V
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // sun.nio.ch.SelectorImpl this
         0: .line 245
            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 246
      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 248
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.cancelledKeys:()Ljava/util/Set;
            astore 1 /* cks */
        start local 1 // java.util.Set cks
         3: .line 249
            aload 1 /* cks */
            dup
            astore 2
            monitorenter
         4: .line 250
            aload 1 /* cks */
            invokeinterface java.util.Set.isEmpty:()Z
            ifne 17
         5: .line 251
            aload 1 /* cks */
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3 /* i */
        start local 3 // java.util.Iterator i
         6: .line 252
            goto 16
         7: .line 253
      StackMap locals: java.util.Set 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
         8: .line 254
            aload 3 /* i */
            invokeinterface java.util.Iterator.remove:()V
         9: .line 257
            aload 0 /* this */
            aload 4 /* ski */
            invokevirtual sun.nio.ch.SelectorImpl.implDereg:(Lsun/nio/ch/SelectionKeyImpl;)V
        10: .line 259
            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
        11: .line 260
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.keys:Ljava/util/Set;
            aload 4 /* ski */
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            pop
        12: .line 263
            aload 0 /* this */
            aload 4 /* ski */
            invokevirtual sun.nio.ch.SelectorImpl.deregister:(Ljava/nio/channels/spi/AbstractSelectionKey;)V
        13: .line 265
            aload 4 /* ski */
            invokevirtual sun.nio.ch.SelectionKeyImpl.channel:()Ljava/nio/channels/SelectableChannel;
            astore 5 /* ch */
        start local 5 // java.nio.channels.SelectableChannel ch
        14: .line 266
            aload 5 /* ch */
            invokevirtual java.nio.channels.SelectableChannel.isOpen:()Z
            ifne 16
            aload 5 /* ch */
            invokevirtual java.nio.channels.SelectableChannel.isRegistered:()Z
            ifne 16
        15: .line 267
            aload 5 /* ch */
            checkcast sun.nio.ch.SelChImpl
            invokeinterface sun.nio.ch.SelChImpl.kill:()V
        end local 5 // java.nio.channels.SelectableChannel ch
        end local 4 // sun.nio.ch.SelectionKeyImpl ski
        16: .line 252
      StackMap locals:
      StackMap stack:
            aload 3 /* i */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 7
        end local 3 // java.util.Iterator i
        17: .line 249
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        18: goto 21
      StackMap locals:
      StackMap stack: java.lang.Throwable
        19: aload 2
            monitorexit
        20: athrow
        21: .line 271
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.Set cks
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   22     0  this  Lsun/nio/ch/SelectorImpl;
            3   22     1   cks  Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;
            6   17     3     i  Ljava/util/Iterator<Ljava/nio/channels/SelectionKey;>;
            8   16     4   ski  Lsun/nio/ch/SelectionKeyImpl;
           14   16     5    ch  Ljava/nio/channels/SelectableChannel;
      Exception table:
        from    to  target  type
           4    18      19  any
          19    20      19  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 282
            aload 3 /* action */
            ifnull 6
         1: .line 283
            aload 2 /* ski */
            iload 1 /* rOps */
            invokevirtual sun.nio.ch.SelectionKeyImpl.translateAndSetReadyOps:(I)Z
            pop
         2: .line 284
            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 285
            aload 3 /* action */
            aload 2 /* ski */
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
         4: .line 286
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.ensureOpen:()V
         5: .line 287
            iconst_1
            ireturn
         6: .line 290
      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 291
      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 292
            aload 2 /* ski */
            iload 1 /* rOps */
            invokevirtual sun.nio.ch.SelectionKeyImpl.translateAndUpdateReadyOps:(I)Z
            ifeq 14
         9: .line 293
            iconst_1
            ireturn
        10: .line 296
      StackMap locals:
      StackMap stack:
            aload 2 /* ski */
            iload 1 /* rOps */
            invokevirtual sun.nio.ch.SelectionKeyImpl.translateAndSetReadyOps:(I)Z
            pop
        11: .line 297
            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 298
            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 299
            iconst_1
            ireturn
        14: .line 303
      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