class sun.nio.ch.PollSelectorImpl extends sun.nio.ch.AbstractPollSelectorImpl
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.nio.ch.PollSelectorImpl
  super_class: sun.nio.ch.AbstractPollSelectorImpl
{
  private int fd0;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

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

  private java.lang.Object interruptLock;
    descriptor: Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE

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

  void <init>(java.nio.channels.spi.SelectorProvider);
    descriptor: (Ljava/nio/channels/spi/SelectorProvider;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // sun.nio.ch.PollSelectorImpl this
        start local 1 // java.nio.channels.spi.SelectorProvider sp
         0: .line 56
            aload 0 /* this */
            aload 1 /* sp */
            iconst_1
            iconst_1
            invokespecial sun.nio.ch.AbstractPollSelectorImpl.<init>:(Ljava/nio/channels/spi/SelectorProvider;II)V
         1: .line 48
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield sun.nio.ch.PollSelectorImpl.interruptLock:Ljava/lang/Object;
         2: .line 49
            aload 0 /* this */
            iconst_0
            putfield sun.nio.ch.PollSelectorImpl.interruptTriggered:Z
         3: .line 57
            iconst_0
            invokestatic sun.nio.ch.IOUtil.makePipe:(Z)J
            lstore 2 /* pipeFds */
        start local 2 // long pipeFds
         4: .line 58
            aload 0 /* this */
            lload 2 /* pipeFds */
            bipush 32
            lushr
            l2i
            putfield sun.nio.ch.PollSelectorImpl.fd0:I
         5: .line 59
            aload 0 /* this */
            lload 2 /* pipeFds */
            l2i
            putfield sun.nio.ch.PollSelectorImpl.fd1:I
         6: .line 61
            aload 0 /* this */
            new sun.nio.ch.PollArrayWrapper
            dup
            bipush 10
            invokespecial sun.nio.ch.PollArrayWrapper.<init>:(I)V
            putfield sun.nio.ch.PollSelectorImpl.pollWrapper:Lsun/nio/ch/PollArrayWrapper;
         7: .line 62
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.pollWrapper:Lsun/nio/ch/PollArrayWrapper;
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.fd0:I
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.fd1:I
            invokevirtual sun.nio.ch.PollArrayWrapper.initInterrupt:(II)V
         8: .line 63
            aload 0 /* this */
            bipush 10
            anewarray sun.nio.ch.SelectionKeyImpl
            putfield sun.nio.ch.PollSelectorImpl.channelArray:[Lsun/nio/ch/SelectionKeyImpl;
         9: .line 64
            goto 20
      StackMap locals: sun.nio.ch.PollSelectorImpl java.nio.channels.spi.SelectorProvider long
      StackMap stack: java.lang.Throwable
        10: astore 4 /* t */
        start local 4 // java.lang.Throwable t
        11: .line 66
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.fd0:I
            invokestatic sun.nio.ch.FileDispatcherImpl.closeIntFD:(I)V
        12: .line 67
            goto 15
      StackMap locals: sun.nio.ch.PollSelectorImpl java.nio.channels.spi.SelectorProvider long java.lang.Throwable
      StackMap stack: java.io.IOException
        13: astore 5 /* ioe0 */
        start local 5 // java.io.IOException ioe0
        14: .line 68
            aload 4 /* t */
            aload 5 /* ioe0 */
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
        end local 5 // java.io.IOException ioe0
        15: .line 71
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.fd1:I
            invokestatic sun.nio.ch.FileDispatcherImpl.closeIntFD:(I)V
        16: .line 72
            goto 19
      StackMap locals:
      StackMap stack: java.io.IOException
        17: astore 5 /* ioe1 */
        start local 5 // java.io.IOException ioe1
        18: .line 73
            aload 4 /* t */
            aload 5 /* ioe1 */
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
        end local 5 // java.io.IOException ioe1
        19: .line 75
      StackMap locals:
      StackMap stack:
            aload 4 /* t */
            athrow
        end local 4 // java.lang.Throwable t
        20: .line 77
      StackMap locals:
      StackMap stack:
            return
        end local 2 // long pipeFds
        end local 1 // java.nio.channels.spi.SelectorProvider sp
        end local 0 // sun.nio.ch.PollSelectorImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   21     0     this  Lsun/nio/ch/PollSelectorImpl;
            0   21     1       sp  Ljava/nio/channels/spi/SelectorProvider;
            4   21     2  pipeFds  J
           11   20     4        t  Ljava/lang/Throwable;
           14   15     5     ioe0  Ljava/io/IOException;
           18   19     5     ioe1  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           6     9      10  Class java.lang.Throwable
          11    12      13  Class java.io.IOException
          15    16      17  Class java.io.IOException
    MethodParameters:
      Name  Flags
      sp    

  protected int doSelect(long);
    descriptor: (J)I
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // sun.nio.ch.PollSelectorImpl this
        start local 1 // long timeout
         0: .line 82
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.channelArray:[Lsun/nio/ch/SelectionKeyImpl;
            ifnonnull 2
         1: .line 83
            new java.nio.channels.ClosedSelectorException
            dup
            invokespecial java.nio.channels.ClosedSelectorException.<init>:()V
            athrow
         2: .line 84
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.nio.ch.PollSelectorImpl.processDeregisterQueue:()V
         3: .line 86
            aload 0 /* this */
            invokevirtual sun.nio.ch.PollSelectorImpl.begin:()V
         4: .line 87
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.pollWrapper:Lsun/nio/ch/PollArrayWrapper;
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.totalChannels:I
            iconst_0
            lload 1 /* timeout */
            invokevirtual sun.nio.ch.PollArrayWrapper.poll:(IIJ)I
            pop
         5: .line 88
            goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: astore 3
         7: .line 89
            aload 0 /* this */
            invokevirtual sun.nio.ch.PollSelectorImpl.end:()V
         8: .line 90
            aload 3
            athrow
         9: .line 89
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.nio.ch.PollSelectorImpl.end:()V
        10: .line 91
            aload 0 /* this */
            invokevirtual sun.nio.ch.PollSelectorImpl.processDeregisterQueue:()V
        11: .line 92
            aload 0 /* this */
            invokevirtual sun.nio.ch.PollSelectorImpl.updateSelectedKeys:()I
            istore 3 /* numKeysUpdated */
        start local 3 // int numKeysUpdated
        12: .line 93
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.pollWrapper:Lsun/nio/ch/PollArrayWrapper;
            iconst_0
            invokevirtual sun.nio.ch.PollArrayWrapper.getReventOps:(I)I
            ifeq 21
        13: .line 95
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.pollWrapper:Lsun/nio/ch/PollArrayWrapper;
            iconst_0
            iconst_0
            invokevirtual sun.nio.ch.PollArrayWrapper.putReventOps:(II)V
        14: .line 96
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.interruptLock:Ljava/lang/Object;
            dup
            astore 4
            monitorenter
        15: .line 97
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.fd0:I
            invokestatic sun.nio.ch.IOUtil.drain:(I)Z
            pop
        16: .line 98
            aload 0 /* this */
            iconst_0
            putfield sun.nio.ch.PollSelectorImpl.interruptTriggered:Z
        17: .line 96
            aload 4
            monitorexit
        18: goto 21
      StackMap locals: sun.nio.ch.PollSelectorImpl long int java.lang.Object
      StackMap stack: java.lang.Throwable
        19: aload 4
            monitorexit
        20: athrow
        21: .line 101
      StackMap locals:
      StackMap stack:
            iload 3 /* numKeysUpdated */
            ireturn
        end local 3 // int numKeysUpdated
        end local 1 // long timeout
        end local 0 // sun.nio.ch.PollSelectorImpl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   22     0            this  Lsun/nio/ch/PollSelectorImpl;
            0   22     1         timeout  J
           12   22     3  numKeysUpdated  I
      Exception table:
        from    to  target  type
           3     6       6  any
          15    18      19  any
          19    20      19  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      timeout  

  protected void implCloseInterrupt();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // sun.nio.ch.PollSelectorImpl this
         0: .line 106
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.interruptLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 107
            aload 0 /* this */
            iconst_1
            putfield sun.nio.ch.PollSelectorImpl.interruptTriggered:Z
         2: .line 106
            aload 1
            monitorexit
         3: goto 6
      StackMap locals: sun.nio.ch.PollSelectorImpl java.lang.Object
      StackMap stack: java.lang.Throwable
         4: aload 1
            monitorexit
         5: athrow
         6: .line 109
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.fd0:I
            invokestatic sun.nio.ch.FileDispatcherImpl.closeIntFD:(I)V
         7: .line 110
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.fd1:I
            invokestatic sun.nio.ch.FileDispatcherImpl.closeIntFD:(I)V
         8: .line 111
            aload 0 /* this */
            iconst_m1
            putfield sun.nio.ch.PollSelectorImpl.fd0:I
         9: .line 112
            aload 0 /* this */
            iconst_m1
            putfield sun.nio.ch.PollSelectorImpl.fd1:I
        10: .line 113
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.pollWrapper:Lsun/nio/ch/PollArrayWrapper;
            iconst_0
            invokevirtual sun.nio.ch.PollArrayWrapper.release:(I)V
        11: .line 114
            return
        end local 0 // sun.nio.ch.PollSelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Lsun/nio/ch/PollSelectorImpl;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any
    Exceptions:
      throws java.io.IOException

  public java.nio.channels.Selector wakeup();
    descriptor: ()Ljava/nio/channels/Selector;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // sun.nio.ch.PollSelectorImpl this
         0: .line 117
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.interruptLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 118
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.interruptTriggered:Z
            ifne 4
         2: .line 119
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.pollWrapper:Lsun/nio/ch/PollArrayWrapper;
            invokevirtual sun.nio.ch.PollArrayWrapper.interrupt:()V
         3: .line 120
            aload 0 /* this */
            iconst_1
            putfield sun.nio.ch.PollSelectorImpl.interruptTriggered:Z
         4: .line 117
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 1
            monitorexit
         5: goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 1
            monitorexit
         7: athrow
         8: .line 123
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            areturn
        end local 0 // sun.nio.ch.PollSelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lsun/nio/ch/PollSelectorImpl;
      Exception table:
        from    to  target  type
           1     5       6  any
           6     7       6  any
}
SourceFile: "PollSelectorImpl.java"