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
{
  protected java.util.Set<java.nio.channels.SelectionKey> selectedKeys;
    descriptor: Ljava/util/Set;
    flags: (0x0004) ACC_PROTECTED
    Signature: Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;

  protected java.util.HashSet<java.nio.channels.SelectionKey> keys;
    descriptor: Ljava/util/HashSet;
    flags: (0x0004) ACC_PROTECTED
    Signature: Ljava/util/HashSet<Ljava/nio/channels/SelectionKey;>;

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

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

  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 55
            aload 0 /* this */
            aload 1 /* sp */
            invokespecial java.nio.channels.spi.AbstractSelector.<init>:(Ljava/nio/channels/spi/SelectorProvider;)V
         1: .line 56
            aload 0 /* this */
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            putfield sun.nio.ch.SelectorImpl.keys:Ljava/util/HashSet;
         2: .line 57
            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 58
            ldc "1.4"
            invokestatic sun.nio.ch.Util.atBugLevel:(Ljava/lang/String;)Z
            ifeq 7
         4: .line 59
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.keys:Ljava/util/HashSet;
            putfield sun.nio.ch.SelectorImpl.publicKeys:Ljava/util/Set;
         5: .line 60
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.selectedKeys:Ljava/util/Set;
            putfield sun.nio.ch.SelectorImpl.publicSelectedKeys:Ljava/util/Set;
         6: .line 61
            goto 9
         7: .line 62
      StackMap locals: sun.nio.ch.SelectorImpl java.nio.channels.spi.SelectorProvider
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.keys:Ljava/util/HashSet;
            invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
            putfield sun.nio.ch.SelectorImpl.publicKeys:Ljava/util/Set;
         8: .line 63
            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;
         9: .line 65
      StackMap locals:
      StackMap stack:
            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   10     0  this  Lsun/nio/ch/SelectorImpl;
            0   10     1    sp  Ljava/nio/channels/spi/SelectorProvider;
    MethodParameters:
      Name  Flags
      sp    

  public java.util.Set<java.nio.channels.SelectionKey> keys();
    descriptor: ()Ljava/util/Set;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.nio.ch.SelectorImpl this
         0: .line 68
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.isOpen:()Z
            ifne 2
            ldc "1.4"
            invokestatic sun.nio.ch.Util.atBugLevel:(Ljava/lang/String;)Z
            ifne 2
         1: .line 69
            new java.nio.channels.ClosedSelectorException
            dup
            invokespecial java.nio.channels.ClosedSelectorException.<init>:()V
            athrow
         2: .line 70
      StackMap locals:
      StackMap stack:
            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    3     0  this  Lsun/nio/ch/SelectorImpl;
    Signature: ()Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;

  public java.util.Set<java.nio.channels.SelectionKey> selectedKeys();
    descriptor: ()Ljava/util/Set;
    flags: (0x0001) ACC_PUBLIC
    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
            ldc "1.4"
            invokestatic sun.nio.ch.Util.atBugLevel:(Ljava/lang/String;)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:
            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    3     0  this  Lsun/nio/ch/SelectorImpl;
    Signature: ()Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;

  protected abstract int doSelect(long);
    descriptor: (J)I
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      timeout  

  private int lockAndDoSelect(long);
    descriptor: (J)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // long timeout
         0: .line 82
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         1: .line 83
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.isOpen:()Z
            ifne 3
         2: .line 84
            new java.nio.channels.ClosedSelectorException
            dup
            invokespecial java.nio.channels.ClosedSelectorException.<init>:()V
            athrow
         3: .line 85
      StackMap locals: sun.nio.ch.SelectorImpl
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.publicKeys:Ljava/util/Set;
            dup
            astore 4
            monitorenter
         4: .line 86
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.publicSelectedKeys:Ljava/util/Set;
            dup
            astore 5
            monitorenter
         5: .line 87
            aload 0 /* this */
            lload 1 /* timeout */
            invokevirtual sun.nio.ch.SelectorImpl.doSelect:(J)I
            aload 5
            monitorexit
         6: aload 4
            monitorexit
         7: aload 3
            monitorexit
         8: ireturn
         9: .line 86
      StackMap locals: sun.nio.ch.SelectorImpl long sun.nio.ch.SelectorImpl java.util.Set java.util.Set
      StackMap stack: java.lang.Throwable
            aload 5
            monitorexit
        10: athrow
        11: .line 85
      StackMap locals: sun.nio.ch.SelectorImpl long sun.nio.ch.SelectorImpl java.util.Set
      StackMap stack: java.lang.Throwable
            aload 4
            monitorexit
        12: athrow
        13: .line 82
      StackMap locals: sun.nio.ch.SelectorImpl long sun.nio.ch.SelectorImpl
      StackMap stack: java.lang.Throwable
            aload 3
            monitorexit
        14: athrow
        end local 1 // long timeout
        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  timeout  J
      Exception table:
        from    to  target  type
           5     6       9  any
           9    10       9  any
           4     7      11  any
           9    12      11  any
           1     8      13  any
           9    14      13  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      timeout  

  public int select(long);
    descriptor: (J)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // long timeout
         0: .line 96
            lload 1 /* timeout */
            lconst_0
            lcmp
            ifge 2
         1: .line 97
            new java.lang.IllegalArgumentException
            dup
            ldc "Negative timeout"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 98
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lload 1 /* timeout */
            lconst_0
            lcmp
            ifne 3
            ldc -1
            goto 4
      StackMap locals:
      StackMap stack: sun.nio.ch.SelectorImpl
         3: lload 1 /* timeout */
      StackMap locals: sun.nio.ch.SelectorImpl long
      StackMap stack: sun.nio.ch.SelectorImpl long
         4: invokevirtual sun.nio.ch.SelectorImpl.lockAndDoSelect:(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 int select();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.nio.ch.SelectorImpl this
         0: .line 102
            aload 0 /* this */
            lconst_0
            invokevirtual sun.nio.ch.SelectorImpl.select:(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 int selectNow();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.nio.ch.SelectorImpl this
         0: .line 106
            aload 0 /* this */
            lconst_0
            invokevirtual sun.nio.ch.SelectorImpl.lockAndDoSelect:(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 void implCloseSelector();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // sun.nio.ch.SelectorImpl this
         0: .line 110
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.wakeup:()Ljava/nio/channels/Selector;
            pop
         1: .line 111
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         2: .line 112
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.publicKeys:Ljava/util/Set;
            dup
            astore 2
            monitorenter
         3: .line 113
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.publicSelectedKeys:Ljava/util/Set;
            dup
            astore 3
            monitorenter
         4: .line 114
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.implClose:()V
         5: .line 113
            aload 3
            monitorexit
         6: goto 9
      StackMap locals: sun.nio.ch.SelectorImpl sun.nio.ch.SelectorImpl java.util.Set java.util.Set
      StackMap stack: java.lang.Throwable
         7: aload 3
            monitorexit
         8: athrow
         9: .line 112
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        10: goto 13
      StackMap locals:
      StackMap stack: java.lang.Throwable
        11: aload 2
            monitorexit
        12: athrow
        13: .line 111
      StackMap locals:
      StackMap stack:
            aload 1
            monitorexit
        14: goto 17
      StackMap locals:
      StackMap stack: java.lang.Throwable
        15: aload 1
            monitorexit
        16: athrow
        17: .line 118
      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;
      Exception table:
        from    to  target  type
           4     6       7  any
           7     8       7  any
           3    10      11  any
          11    12      11  any
           2    14      15  any
          15    16      15  any
    Exceptions:
      throws java.io.IOException

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

  void putEventOps(sun.nio.ch.SelectionKeyImpl, int);
    descriptor: (Lsun/nio/ch/SelectionKeyImpl;I)V
    flags: (0x0000) 
    Code:
      stack=0, locals=3, args_size=3
        start local 0 // sun.nio.ch.SelectorImpl this
        start local 1 // sun.nio.ch.SelectionKeyImpl sk
        start local 2 // int ops
         0: .line 122
            return
        end local 2 // int ops
        end local 1 // sun.nio.ch.SelectionKeyImpl sk
        end local 0 // sun.nio.ch.SelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/nio/ch/SelectorImpl;
            0    1     1    sk  Lsun/nio/ch/SelectionKeyImpl;
            0    1     2   ops  I
    MethodParameters:
      Name  Flags
      sk    
      ops   

  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 128
            aload 1 /* ch */
            instanceof sun.nio.ch.SelChImpl
            ifne 2
         1: .line 129
            new java.nio.channels.IllegalSelectorException
            dup
            invokespecial java.nio.channels.IllegalSelectorException.<init>:()V
            athrow
         2: .line 130
      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 131
            aload 4 /* k */
            aload 3 /* attachment */
            invokevirtual sun.nio.ch.SelectionKeyImpl.attach:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 132
            aload 0 /* this */
            getfield sun.nio.ch.SelectorImpl.publicKeys:Ljava/util/Set;
            dup
            astore 5
            monitorenter
         5: .line 133
            aload 0 /* this */
            aload 4 /* k */
            invokevirtual sun.nio.ch.SelectorImpl.implRegister:(Lsun/nio/ch/SelectionKeyImpl;)V
         6: .line 132
            aload 5
            monitorexit
         7: goto 10
      StackMap locals: sun.nio.ch.SelectorImpl java.nio.channels.spi.AbstractSelectableChannel int java.lang.Object sun.nio.ch.SelectionKeyImpl java.util.Set
      StackMap stack: java.lang.Throwable
         8: aload 5
            monitorexit
         9: athrow
        10: .line 135
      StackMap locals:
      StackMap stack:
            aload 4 /* k */
            iload 2 /* ops */
            invokevirtual sun.nio.ch.SelectionKeyImpl.interestOps:(I)Ljava/nio/channels/SelectionKey;
            pop
        11: .line 136
            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   12     0        this  Lsun/nio/ch/SelectorImpl;
            0   12     1          ch  Ljava/nio/channels/spi/AbstractSelectableChannel;
            0   12     2         ops  I
            0   12     3  attachment  Ljava/lang/Object;
            3   12     4           k  Lsun/nio/ch/SelectionKeyImpl;
      Exception table:
        from    to  target  type
           5     7       8  any
           8     9       8  any
    MethodParameters:
            Name  Flags
      ch          
      ops         
      attachment  

  protected abstract void implRegister(sun.nio.ch.SelectionKeyImpl);
    descriptor: (Lsun/nio/ch/SelectionKeyImpl;)V
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    MethodParameters:
      Name  Flags
      ski   

  void processDeregisterQueue();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=8, args_size=1
        start local 0 // sun.nio.ch.SelectorImpl this
         0: .line 143
            aload 0 /* this */
            invokevirtual sun.nio.ch.SelectorImpl.cancelledKeys:()Ljava/util/Set;
            astore 1 /* cks */
        start local 1 // java.util.Set cks
         1: .line 144
            aload 1 /* cks */
            dup
            astore 2
            monitorenter
         2: .line 145
            aload 1 /* cks */
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3 /* i */
        start local 3 // java.util.Iterator i
         3: .line 146
            goto 17
         4: .line 147
      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
         5: .line 149
            aload 0 /* this */
            aload 4 /* ski */
            invokevirtual sun.nio.ch.SelectorImpl.implDereg:(Lsun/nio/ch/SelectionKeyImpl;)V
         6: .line 150
            goto 16
      StackMap locals: sun.nio.ch.SelectorImpl java.util.Set java.util.Set java.util.Iterator sun.nio.ch.SelectionKeyImpl
      StackMap stack: java.net.SocketException
         7: astore 5 /* se */
        start local 5 // java.net.SocketException se
         8: .line 151
            new java.io.IOException
            dup
         9: .line 152
            ldc "Error deregistering key"
        10: .line 151
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            astore 6 /* ioe */
        start local 6 // java.io.IOException ioe
        11: .line 153
            aload 6 /* ioe */
            aload 5 /* se */
            invokevirtual java.io.IOException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
        12: .line 154
            aload 6 /* ioe */
            athrow
        end local 6 // java.io.IOException ioe
        end local 5 // java.net.SocketException se
        13: .line 155
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 7
        14: .line 156
            aload 3 /* i */
            invokeinterface java.util.Iterator.remove:()V
        15: .line 157
            aload 7
            athrow
        16: .line 156
      StackMap locals:
      StackMap stack:
            aload 3 /* i */
            invokeinterface java.util.Iterator.remove:()V
        end local 4 // sun.nio.ch.SelectionKeyImpl ski
        17: .line 146
      StackMap locals:
      StackMap stack:
            aload 3 /* i */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
        end local 3 // java.util.Iterator i
        18: .line 144
            aload 2
            monitorexit
        19: goto 22
      StackMap locals: sun.nio.ch.SelectorImpl java.util.Set java.util.Set
      StackMap stack: java.lang.Throwable
        20: aload 2
            monitorexit
        21: athrow
        22: .line 160
      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   23     0  this  Lsun/nio/ch/SelectorImpl;
            1   23     1   cks  Ljava/util/Set;
            3   18     3     i  Ljava/util/Iterator;
            5   17     4   ski  Lsun/nio/ch/SelectionKeyImpl;
            8   13     5    se  Ljava/net/SocketException;
           11   13     6   ioe  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           5     6       7  Class java.net.SocketException
           5    13      13  any
           2    19      20  any
          20    21      20  any
    Exceptions:
      throws java.io.IOException

  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 abstract java.nio.channels.Selector wakeup();
    descriptor: ()Ljava/nio/channels/Selector;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
SourceFile: "SelectorImpl.java"