final class sun.nio.ch.EPollPort extends sun.nio.ch.Port
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.nio.ch.EPollPort
  super_class: sun.nio.ch.Port
{
  private static final int MAX_EPOLL_EVENTS;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 512

  private static final int ENOENT;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  private final int epfd;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  private final int[] sp;
    descriptor: [I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.atomic.AtomicInteger wakeupCount;
    descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final long address;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.ArrayBlockingQueue<sun.nio.ch.EPollPort$Event> queue;
    descriptor: Ljava/util/concurrent/ArrayBlockingQueue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/ArrayBlockingQueue<Lsun/nio/ch/EPollPort$Event;>;

  private final sun.nio.ch.EPollPort$Event NEED_TO_POLL;
    descriptor: Lsun/nio/ch/EPollPort$Event;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final sun.nio.ch.EPollPort$Event EXECUTE_TASK_OR_SHUTDOWN;
    descriptor: Lsun/nio/ch/EPollPort$Event;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=0, locals=0, args_size=0
         0: .line 321
            invokestatic sun.nio.ch.IOUtil.load:()V
         1: .line 322
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(java.nio.channels.spi.AsynchronousChannelProvider, sun.nio.ch.ThreadPool);
    descriptor: (Ljava/nio/channels/spi/AsynchronousChannelProvider;Lsun/nio/ch/ThreadPool;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // sun.nio.ch.EPollPort this
        start local 1 // java.nio.channels.spi.AsynchronousChannelProvider provider
        start local 2 // sun.nio.ch.ThreadPool pool
         0: .line 86
            aload 0 /* this */
            aload 1 /* provider */
            aload 2 /* pool */
            invokespecial sun.nio.ch.Port.<init>:(Ljava/nio/channels/spi/AsynchronousChannelProvider;Lsun/nio/ch/ThreadPool;)V
         1: .line 58
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicInteger
            dup
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
            putfield sun.nio.ch.EPollPort.wakeupCount:Ljava/util/concurrent/atomic/AtomicInteger;
         2: .line 80
            aload 0 /* this */
            new sun.nio.ch.EPollPort$Event
            dup
            aconst_null
            iconst_0
            invokespecial sun.nio.ch.EPollPort$Event.<init>:(Lsun/nio/ch/Port$PollableChannel;I)V
            putfield sun.nio.ch.EPollPort.NEED_TO_POLL:Lsun/nio/ch/EPollPort$Event;
         3: .line 81
            aload 0 /* this */
            new sun.nio.ch.EPollPort$Event
            dup
            aconst_null
            iconst_0
            invokespecial sun.nio.ch.EPollPort$Event.<init>:(Lsun/nio/ch/Port$PollableChannel;I)V
            putfield sun.nio.ch.EPollPort.EXECUTE_TASK_OR_SHUTDOWN:Lsun/nio/ch/EPollPort$Event;
         4: .line 89
            aload 0 /* this */
            invokestatic sun.nio.ch.EPoll.epollCreate:()I
            putfield sun.nio.ch.EPollPort.epfd:I
         5: .line 92
            iconst_2
            newarray 10
            astore 3 /* sv */
        start local 3 // int[] sv
         6: .line 94
            aload 3 /* sv */
            invokestatic sun.nio.ch.EPollPort.socketpair:([I)V
         7: .line 96
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.epfd:I
            iconst_1
            aload 3 /* sv */
            iconst_0
            iaload
            getstatic sun.nio.ch.Net.POLLIN:S
            invokestatic sun.nio.ch.EPoll.epollCtl:(IIII)I
            pop
         8: .line 97
            goto 12
      StackMap locals: sun.nio.ch.EPollPort java.nio.channels.spi.AsynchronousChannelProvider sun.nio.ch.ThreadPool int[]
      StackMap stack: java.io.IOException
         9: astore 4 /* x */
        start local 4 // java.io.IOException x
        10: .line 98
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.epfd:I
            invokestatic sun.nio.ch.EPollPort.close0:(I)V
        11: .line 99
            aload 4 /* x */
            athrow
        end local 4 // java.io.IOException x
        12: .line 101
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 3 /* sv */
            putfield sun.nio.ch.EPollPort.sp:[I
        13: .line 104
            aload 0 /* this */
            sipush 512
            invokestatic sun.nio.ch.EPoll.allocatePollArray:(I)J
            putfield sun.nio.ch.EPollPort.address:J
        14: .line 108
            aload 0 /* this */
            new java.util.concurrent.ArrayBlockingQueue
            dup
            sipush 512
            invokespecial java.util.concurrent.ArrayBlockingQueue.<init>:(I)V
            putfield sun.nio.ch.EPollPort.queue:Ljava/util/concurrent/ArrayBlockingQueue;
        15: .line 109
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.queue:Ljava/util/concurrent/ArrayBlockingQueue;
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.NEED_TO_POLL:Lsun/nio/ch/EPollPort$Event;
            invokevirtual java.util.concurrent.ArrayBlockingQueue.offer:(Ljava/lang/Object;)Z
            pop
        16: .line 110
            return
        end local 3 // int[] sv
        end local 2 // sun.nio.ch.ThreadPool pool
        end local 1 // java.nio.channels.spi.AsynchronousChannelProvider provider
        end local 0 // sun.nio.ch.EPollPort this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   17     0      this  Lsun/nio/ch/EPollPort;
            0   17     1  provider  Ljava/nio/channels/spi/AsynchronousChannelProvider;
            0   17     2      pool  Lsun/nio/ch/ThreadPool;
            6   17     3        sv  [I
           10   12     4         x  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           6     8       9  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      provider  
      pool      

  sun.nio.ch.EPollPort start();
    descriptor: ()Lsun/nio/ch/EPollPort;
    flags: (0x0000) 
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // sun.nio.ch.EPollPort this
         0: .line 113
            aload 0 /* this */
            new sun.nio.ch.EPollPort$EventHandlerTask
            dup
            aload 0 /* this */
            invokespecial sun.nio.ch.EPollPort$EventHandlerTask.<init>:(Lsun/nio/ch/EPollPort;)V
            invokevirtual sun.nio.ch.EPollPort.startThreads:(Ljava/lang/Runnable;)V
         1: .line 114
            aload 0 /* this */
            areturn
        end local 0 // sun.nio.ch.EPollPort this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/nio/ch/EPollPort;

  private void implClose();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // sun.nio.ch.EPollPort this
         0: .line 121
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         1: .line 122
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.closed:Z
            ifeq 4
         2: .line 123
            aload 1
            monitorexit
         3: return
         4: .line 124
      StackMap locals: sun.nio.ch.EPollPort
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.nio.ch.EPollPort.closed:Z
         5: .line 121
            aload 1
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 1
            monitorexit
         8: athrow
         9: .line 126
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.address:J
            invokestatic sun.nio.ch.EPoll.freePollArray:(J)V
        10: .line 127
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.sp:[I
            iconst_0
            iaload
            invokestatic sun.nio.ch.EPollPort.close0:(I)V
        11: .line 128
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.sp:[I
            iconst_1
            iaload
            invokestatic sun.nio.ch.EPollPort.close0:(I)V
        12: .line 129
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.epfd:I
            invokestatic sun.nio.ch.EPollPort.close0:(I)V
        13: .line 130
            return
        end local 0 // sun.nio.ch.EPollPort this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   14     0  this  Lsun/nio/ch/EPollPort;
      Exception table:
        from    to  target  type
           1     3       7  any
           4     6       7  any
           7     8       7  any

  private void wakeup();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // sun.nio.ch.EPollPort this
         0: .line 133
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.wakeupCount:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
            iconst_1
            if_icmpne 5
         1: .line 136
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.sp:[I
            iconst_1
            iaload
            invokestatic sun.nio.ch.EPollPort.interrupt:(I)V
         2: .line 137
            goto 5
      StackMap locals:
      StackMap stack: java.io.IOException
         3: astore 1 /* x */
        start local 1 // java.io.IOException x
         4: .line 138
            new java.lang.AssertionError
            dup
            aload 1 /* x */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 1 // java.io.IOException x
         5: .line 141
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.ch.EPollPort this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/nio/ch/EPollPort;
            4    5     1     x  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           1     2       3  Class java.io.IOException

  void executeOnHandlerTask(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // sun.nio.ch.EPollPort this
        start local 1 // java.lang.Runnable task
         0: .line 145
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 146
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.closed:Z
            ifeq 3
         2: .line 147
            new java.util.concurrent.RejectedExecutionException
            dup
            invokespecial java.util.concurrent.RejectedExecutionException.<init>:()V
            athrow
         3: .line 148
      StackMap locals: sun.nio.ch.EPollPort
      StackMap stack:
            aload 0 /* this */
            aload 1 /* task */
            invokevirtual sun.nio.ch.EPollPort.offerTask:(Ljava/lang/Runnable;)V
         4: .line 149
            aload 0 /* this */
            invokevirtual sun.nio.ch.EPollPort.wakeup:()V
         5: .line 145
            aload 2
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 2
            monitorexit
         8: athrow
         9: .line 151
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Runnable task
        end local 0 // sun.nio.ch.EPollPort this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lsun/nio/ch/EPollPort;
            0   10     1  task  Ljava/lang/Runnable;
      Exception table:
        from    to  target  type
           1     6       7  any
           7     8       7  any
    MethodParameters:
      Name  Flags
      task  

  void shutdownHandlerTasks();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // sun.nio.ch.EPollPort this
         0: .line 159
            aload 0 /* this */
            invokevirtual sun.nio.ch.EPollPort.threadCount:()I
            istore 1 /* nThreads */
        start local 1 // int nThreads
         1: .line 160
            iload 1 /* nThreads */
            ifne 5
         2: .line 161
            aload 0 /* this */
            invokevirtual sun.nio.ch.EPollPort.implClose:()V
         3: .line 162
            goto 6
         4: .line 165
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.nio.ch.EPollPort.wakeup:()V
         5: .line 164
      StackMap locals:
      StackMap stack:
            iload 1 /* nThreads */
            iinc 1 /* nThreads */ -1
            ifgt 4
         6: .line 168
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int nThreads
        end local 0 // sun.nio.ch.EPollPort this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      this  Lsun/nio/ch/EPollPort;
            1    7     1  nThreads  I

  void startPoll(int, int);
    descriptor: (II)V
    flags: (0x0000) 
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // sun.nio.ch.EPollPort this
        start local 1 // int fd
        start local 2 // int events
         0: .line 174
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.epfd:I
            iconst_3
            iload 1 /* fd */
            iload 2 /* events */
            ldc 1073741824
            ior
            invokestatic sun.nio.ch.EPoll.epollCtl:(IIII)I
            istore 3 /* err */
        start local 3 // int err
         1: .line 175
            iload 3 /* err */
            iconst_2
            if_icmpne 3
         2: .line 176
            aload 0 /* this */
            getfield sun.nio.ch.EPollPort.epfd:I
            iconst_1
            iload 1 /* fd */
            iload 2 /* events */
            ldc 1073741824
            ior
            invokestatic sun.nio.ch.EPoll.epollCtl:(IIII)I
            istore 3 /* err */
         3: .line 177
      StackMap locals: int
      StackMap stack:
            iload 3 /* err */
            ifeq 5
         4: .line 178
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         5: .line 179
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int err
        end local 2 // int events
        end local 1 // int fd
        end local 0 // sun.nio.ch.EPollPort this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Lsun/nio/ch/EPollPort;
            0    6     1      fd  I
            0    6     2  events  I
            1    6     3     err  I
    MethodParameters:
        Name  Flags
      fd      
      events  

  private static native void socketpair(int[]);
    descriptor: ([I)V
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      sv    

  private static native void interrupt(int);
    descriptor: (I)V
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      fd    

  private static native void drain1(int);
    descriptor: (I)V
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      fd    

  private static native void close0(int);
    descriptor: (I)V
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    MethodParameters:
      Name  Flags
      fd    
}
SourceFile: "EPollPort.java"
NestMembers:
  sun.nio.ch.EPollPort$Event  sun.nio.ch.EPollPort$EventHandlerTask
InnerClasses:
  Event = sun.nio.ch.EPollPort$Event of sun.nio.ch.EPollPort
  private EventHandlerTask = sun.nio.ch.EPollPort$EventHandlerTask of sun.nio.ch.EPollPort
  abstract PollableChannel = sun.nio.ch.Port$PollableChannel of sun.nio.ch.Port