abstract class sun.nio.ch.Port extends sun.nio.ch.AsynchronousChannelGroupImpl
  minor version: 0
  major version: 59
  flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
  this_class: sun.nio.ch.Port
  super_class: sun.nio.ch.AsynchronousChannelGroupImpl
{
  protected final java.util.concurrent.locks.ReadWriteLock fdToChannelLock;
    descriptor: Ljava/util/concurrent/locks/ReadWriteLock;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final java.util.Map<java.lang.Integer, sun.nio.ch.Port$PollableChannel> fdToChannel;
    descriptor: Ljava/util/Map;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/Integer;Lsun/nio/ch/Port$PollableChannel;>;

  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=3, locals=3, args_size=3
        start local 0 // sun.nio.ch.Port this
        start local 1 // java.nio.channels.spi.AsynchronousChannelProvider provider
        start local 2 // sun.nio.ch.ThreadPool pool
         0: .line 58
            aload 0 /* this */
            aload 1 /* provider */
            aload 2 /* pool */
            invokespecial sun.nio.ch.AsynchronousChannelGroupImpl.<init>:(Ljava/nio/channels/spi/AsynchronousChannelProvider;Lsun/nio/ch/ThreadPool;)V
         1: .line 52
            aload 0 /* this */
            new java.util.concurrent.locks.ReentrantReadWriteLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantReadWriteLock.<init>:()V
            putfield sun.nio.ch.Port.fdToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
         2: .line 53
            aload 0 /* this */
         3: .line 54
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield sun.nio.ch.Port.fdToChannel:Ljava/util/Map;
         4: .line 59
            return
        end local 2 // sun.nio.ch.ThreadPool pool
        end local 1 // java.nio.channels.spi.AsynchronousChannelProvider provider
        end local 0 // sun.nio.ch.Port this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Lsun/nio/ch/Port;
            0    5     1  provider  Ljava/nio/channels/spi/AsynchronousChannelProvider;
            0    5     2      pool  Lsun/nio/ch/ThreadPool;
    MethodParameters:
          Name  Flags
      provider  
      pool      

  final void register(int, sun.nio.ch.Port$PollableChannel);
    descriptor: (ILsun/nio/ch/Port$PollableChannel;)V
    flags: (0x0010) ACC_FINAL
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // sun.nio.ch.Port this
        start local 1 // int fd
        start local 2 // sun.nio.ch.Port$PollableChannel ch
         0: .line 65
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         1: .line 67
            aload 0 /* this */
            invokevirtual sun.nio.ch.Port.isShutdown:()Z
            ifeq 3
         2: .line 68
            new java.nio.channels.ShutdownChannelGroupException
            dup
            invokespecial java.nio.channels.ShutdownChannelGroupException.<init>:()V
            athrow
         3: .line 69
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannel:Ljava/util/Map;
            iload 1 /* fd */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 2 /* ch */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 70
            goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         5: astore 3
         6: .line 71
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         7: .line 72
            aload 3
            athrow
         8: .line 71
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         9: .line 73
            return
        end local 2 // sun.nio.ch.Port$PollableChannel ch
        end local 1 // int fd
        end local 0 // sun.nio.ch.Port this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lsun/nio/ch/Port;
            0   10     1    fd  I
            0   10     2    ch  Lsun/nio/ch/Port$PollableChannel;
      Exception table:
        from    to  target  type
           1     5       5  any
    MethodParameters:
      Name  Flags
      fd    
      ch    

  protected void preUnregister(int);
    descriptor: (I)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // sun.nio.ch.Port this
        start local 1 // int fd
         0: .line 81
            return
        end local 1 // int fd
        end local 0 // sun.nio.ch.Port this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/nio/ch/Port;
            0    1     1    fd  I
    MethodParameters:
      Name  Flags
      fd    

  final void unregister(int);
    descriptor: (I)V
    flags: (0x0010) ACC_FINAL
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // sun.nio.ch.Port this
        start local 1 // int fd
         0: .line 87
            iconst_0
            istore 2 /* checkForShutdown */
        start local 2 // boolean checkForShutdown
         1: .line 89
            aload 0 /* this */
            iload 1 /* fd */
            invokevirtual sun.nio.ch.Port.preUnregister:(I)V
         2: .line 91
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         3: .line 93
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannel:Ljava/util/Map;
            iload 1 /* fd */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 96
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannel:Ljava/util/Map;
            invokeinterface java.util.Map.isEmpty:()Z
            ifeq 10
         5: .line 97
            iconst_1
            istore 2 /* checkForShutdown */
         6: .line 99
            goto 10
      StackMap locals: sun.nio.ch.Port int int
      StackMap stack: java.lang.Throwable
         7: astore 3
         8: .line 100
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         9: .line 101
            aload 3
            athrow
        10: .line 100
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        11: .line 104
            iload 2 /* checkForShutdown */
            ifeq 15
            aload 0 /* this */
            invokevirtual sun.nio.ch.Port.isShutdown:()Z
            ifeq 15
        12: .line 106
            aload 0 /* this */
            invokevirtual sun.nio.ch.Port.shutdownNow:()V
        13: .line 107
            goto 15
      StackMap locals:
      StackMap stack: java.io.IOException
        14: pop
        15: .line 109
      StackMap locals:
      StackMap stack:
            return
        end local 2 // boolean checkForShutdown
        end local 1 // int fd
        end local 0 // sun.nio.ch.Port this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   16     0              this  Lsun/nio/ch/Port;
            0   16     1                fd  I
            1   16     2  checkForShutdown  Z
      Exception table:
        from    to  target  type
           3     7       7  any
          12    13      14  Class java.io.IOException
    MethodParameters:
      Name  Flags
      fd    

  abstract void startPoll(int, int);
    descriptor: (II)V
    flags: (0x0400) ACC_ABSTRACT
    MethodParameters:
        Name  Flags
      fd      
      events  

  final boolean isEmpty();
    descriptor: ()Z
    flags: (0x0010) ACC_FINAL
    Code:
      stack=1, locals=3, args_size=1
        start local 0 // sun.nio.ch.Port this
         0: .line 118
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         1: .line 120
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannel:Ljava/util/Map;
            invokeinterface java.util.Map.isEmpty:()Z
            istore 2
         2: .line 122
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         3: .line 120
            iload 2
            ireturn
         4: .line 121
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 1
         5: .line 122
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         6: .line 123
            aload 1
            athrow
        end local 0 // sun.nio.ch.Port this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/nio/ch/Port;
      Exception table:
        from    to  target  type
           1     2       4  any

  final java.lang.Object attachForeignChannel(java.nio.channels.Channel, java.io.FileDescriptor);
    descriptor: (Ljava/nio/channels/Channel;Ljava/io/FileDescriptor;)Ljava/lang/Object;
    flags: (0x0010) ACC_FINAL
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // sun.nio.ch.Port this
        start local 1 // java.nio.channels.Channel channel
        start local 2 // java.io.FileDescriptor fd
         0: .line 128
            aload 2 /* fd */
            invokestatic sun.nio.ch.IOUtil.fdVal:(Ljava/io/FileDescriptor;)I
            istore 3 /* fdVal */
        start local 3 // int fdVal
         1: .line 129
            aload 0 /* this */
            iload 3 /* fdVal */
            new sun.nio.ch.Port$1
            dup
            aload 0 /* this */
            aload 1 /* channel */
            invokespecial sun.nio.ch.Port$1.<init>:(Lsun/nio/ch/Port;Ljava/nio/channels/Channel;)V
            invokevirtual sun.nio.ch.Port.register:(ILsun/nio/ch/Port$PollableChannel;)V
         2: .line 135
            iload 3 /* fdVal */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            areturn
        end local 3 // int fdVal
        end local 2 // java.io.FileDescriptor fd
        end local 1 // java.nio.channels.Channel channel
        end local 0 // sun.nio.ch.Port this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lsun/nio/ch/Port;
            0    3     1  channel  Ljava/nio/channels/Channel;
            0    3     2       fd  Ljava/io/FileDescriptor;
            1    3     3    fdVal  I
    MethodParameters:
         Name  Flags
      channel  final
      fd       

  final void detachForeignChannel(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0010) ACC_FINAL
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.nio.ch.Port this
        start local 1 // java.lang.Object key
         0: .line 140
            aload 0 /* this */
            aload 1 /* key */
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            invokevirtual sun.nio.ch.Port.unregister:(I)V
         1: .line 141
            return
        end local 1 // java.lang.Object key
        end local 0 // sun.nio.ch.Port this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/nio/ch/Port;
            0    2     1   key  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      key   

  final void closeAllChannels();
    descriptor: ()V
    flags: (0x0010) ACC_FINAL
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // sun.nio.ch.Port this
         0: .line 150
            sipush 128
            anewarray sun.nio.ch.Port$PollableChannel
            astore 1 /* channels */
        start local 1 // sun.nio.ch.Port$PollableChannel[] channels
         1: .line 154
      StackMap locals: sun.nio.ch.Port$PollableChannel[]
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         2: .line 155
            iconst_0
            istore 2 /* count */
        start local 2 // int count
         3: .line 157
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannel:Ljava/util/Map;
            invokeinterface java.util.Map.keySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 4
            goto 8
      StackMap locals: sun.nio.ch.Port sun.nio.ch.Port$PollableChannel[] int top java.util.Iterator
      StackMap stack:
         4: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.Integer
            astore 3 /* fd */
        start local 3 // java.lang.Integer fd
         5: .line 158
            aload 1 /* channels */
            iload 2 /* count */
            iinc 2 /* count */ 1
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannel:Ljava/util/Map;
            aload 3 /* fd */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.nio.ch.Port$PollableChannel
            aastore
         6: .line 159
            iload 2 /* count */
            sipush 128
            if_icmplt 8
         7: .line 160
            goto 13
        end local 3 // java.lang.Integer fd
         8: .line 157
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         9: .line 162
            goto 13
      StackMap locals: sun.nio.ch.Port sun.nio.ch.Port$PollableChannel[] int
      StackMap stack: java.lang.Throwable
        10: astore 5
        11: .line 163
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        12: .line 164
            aload 5
            athrow
        13: .line 163
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.Port.fdToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        14: .line 167
            iconst_0
            istore 3 /* i */
        start local 3 // int i
        15: goto 20
        16: .line 169
      StackMap locals: int
      StackMap stack:
            aload 1 /* channels */
            iload 3 /* i */
            aaload
            invokeinterface sun.nio.ch.Port$PollableChannel.close:()V
        17: .line 170
            goto 19
      StackMap locals:
      StackMap stack: java.io.IOException
        18: pop
        19: .line 167
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        20: iload 3 /* i */
            iload 2 /* count */
            if_icmplt 16
        end local 3 // int i
        21: .line 172
            iload 2 /* count */
        22: .line 152
            ifgt 1
        23: .line 173
            return
        end local 2 // int count
        end local 1 // sun.nio.ch.Port$PollableChannel[] channels
        end local 0 // sun.nio.ch.Port this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   24     0      this  Lsun/nio/ch/Port;
            1   24     1  channels  [Lsun/nio/ch/Port$PollableChannel;
            3   24     2     count  I
            5    8     3        fd  Ljava/lang/Integer;
           15   21     3         i  I
      Exception table:
        from    to  target  type
           3    10      10  any
          16    17      18  Class java.io.IOException
}
SourceFile: "Port.java"
NestMembers:
  sun.nio.ch.Port$1  sun.nio.ch.Port$PollableChannel
InnerClasses:
  sun.nio.ch.Port$1
  abstract PollableChannel = sun.nio.ch.Port$PollableChannel of sun.nio.ch.Port