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=3, 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_2
            newarray 10
            astore 2 /* fdes */
        start local 2 // int[] fdes
         4: .line 58
            aload 2 /* fdes */
            iconst_0
            invokestatic sun.nio.ch.IOUtil.initPipe:([IZ)V
         5: .line 59
            aload 0 /* this */
            aload 2 /* fdes */
            iconst_0
            iaload
            putfield sun.nio.ch.PollSelectorImpl.fd0:I
         6: .line 60
            aload 0 /* this */
            aload 2 /* fdes */
            iconst_1
            iaload
            putfield sun.nio.ch.PollSelectorImpl.fd1:I
         7: .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;
         8: .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
         9: .line 63
            aload 0 /* this */
            bipush 10
            anewarray sun.nio.ch.SelectionKeyImpl
            putfield sun.nio.ch.PollSelectorImpl.channelArray:[Lsun/nio/ch/SelectionKeyImpl;
        10: .line 64
            return
        end local 2 // int[] fdes
        end local 1 // java.nio.channels.spi.SelectorProvider sp
        end local 0 // sun.nio.ch.PollSelectorImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lsun/nio/ch/PollSelectorImpl;
            0   11     1    sp  Ljava/nio/channels/spi/SelectorProvider;
            4   11     2  fdes  [I
    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 69
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.channelArray:[Lsun/nio/ch/SelectionKeyImpl;
            ifnonnull 2
         1: .line 70
            new java.nio.channels.ClosedSelectorException
            dup
            invokespecial java.nio.channels.ClosedSelectorException.<init>:()V
            athrow
         2: .line 71
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.nio.ch.PollSelectorImpl.processDeregisterQueue:()V
         3: .line 73
            aload 0 /* this */
            invokevirtual sun.nio.ch.PollSelectorImpl.begin:()V
         4: .line 74
            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 75
            goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: astore 3
         7: .line 76
            aload 0 /* this */
            invokevirtual sun.nio.ch.PollSelectorImpl.end:()V
         8: .line 77
            aload 3
            athrow
         9: .line 76
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.nio.ch.PollSelectorImpl.end:()V
        10: .line 78
            aload 0 /* this */
            invokevirtual sun.nio.ch.PollSelectorImpl.processDeregisterQueue:()V
        11: .line 79
            aload 0 /* this */
            invokevirtual sun.nio.ch.PollSelectorImpl.updateSelectedKeys:()I
            istore 3 /* numKeysUpdated */
        start local 3 // int numKeysUpdated
        12: .line 80
            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 82
            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 83
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.interruptLock:Ljava/lang/Object;
            dup
            astore 4
            monitorenter
        15: .line 84
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.fd0:I
            invokestatic sun.nio.ch.IOUtil.drain:(I)Z
            pop
        16: .line 85
            aload 0 /* this */
            iconst_0
            putfield sun.nio.ch.PollSelectorImpl.interruptTriggered:Z
        17: .line 83
            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 88
      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 93
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.interruptLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 94
            aload 0 /* this */
            iconst_1
            putfield sun.nio.ch.PollSelectorImpl.interruptTriggered:Z
         2: .line 93
            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 96
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.fd0:I
            invokestatic sun.nio.ch.FileDispatcher.closeIntFD:(I)V
         7: .line 97
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.fd1:I
            invokestatic sun.nio.ch.FileDispatcher.closeIntFD:(I)V
         8: .line 98
            aload 0 /* this */
            iconst_m1
            putfield sun.nio.ch.PollSelectorImpl.fd0:I
         9: .line 99
            aload 0 /* this */
            iconst_m1
            putfield sun.nio.ch.PollSelectorImpl.fd1:I
        10: .line 100
            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 101
            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 104
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.interruptLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 105
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.interruptTriggered:Z
            ifne 4
         2: .line 106
            aload 0 /* this */
            getfield sun.nio.ch.PollSelectorImpl.pollWrapper:Lsun/nio/ch/PollArrayWrapper;
            invokevirtual sun.nio.ch.PollArrayWrapper.interrupt:()V
         3: .line 107
            aload 0 /* this */
            iconst_1
            putfield sun.nio.ch.PollSelectorImpl.interruptTriggered:Z
         4: .line 104
      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 110
      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"