class org.jruby.util.io.SelectExecutor$1 implements org.jruby.RubyThread$Task<org.jruby.util.io.SelectExecutor, java.lang.Integer>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.jruby.util.io.SelectExecutor$1
  super_class: java.lang.Object
{
  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.io.SelectExecutor$1 this
         0: .line 449
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.util.io.SelectExecutor$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/io/SelectExecutor$1;

  public java.lang.Integer run(org.jruby.runtime.ThreadContext, org.jruby.util.io.SelectExecutor);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/SelectExecutor;)Ljava/lang/Integer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=9, args_size=3
        start local 0 // org.jruby.util.io.SelectExecutor$1 this
        start local 1 // org.jruby.runtime.ThreadContext context
        start local 2 // org.jruby.util.io.SelectExecutor s
         0: .line 452
            iconst_0
            istore 3 /* ready */
        start local 3 // int ready
         1: .line 454
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.mainSelector:Ljava/nio/channels/Selector;
            ifnull 45
         2: .line 455
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.pendingReadFDs:Ljava/util/List;
            ifnonnull 39
         3: .line 456
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.timeout:Ljava/lang/Long;
            ifnull 11
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.timeout:Ljava/lang/Long;
            invokevirtual java.lang.Long.longValue:()J
            lconst_0
            lcmp
            ifne 11
         4: .line 457
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         5: goto 9
         6: .line 458
      StackMap locals: int int
      StackMap stack:
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.selectors:Ljava/util/List;
            iload 4 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.nio.channels.Selector
            astore 5 /* selector */
        start local 5 // java.nio.channels.Selector selector
         7: .line 459
            iload 3 /* ready */
            aload 5 /* selector */
            invokevirtual java.nio.channels.Selector.selectNow:()I
            iadd
            istore 3 /* ready */
        end local 5 // java.nio.channels.Selector selector
         8: .line 457
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
         9: iload 4 /* i */
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.selectors:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            if_icmplt 6
        end local 4 // int i
        10: .line 461
            goto 45
        11: .line 462
      StackMap locals:
      StackMap stack:
            new java.util.ArrayList
            dup
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.enxioSelectors:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 4 /* futures */
        start local 4 // java.util.List futures
        12: .line 463
            iconst_0
            istore 5 /* i */
        start local 5 // int i
        13: goto 17
        14: .line 464
      StackMap locals: java.util.List int
      StackMap stack:
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.enxioSelectors:Ljava/util/List;
            iload 5 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.jruby.util.io.SelectExecutor$ENXIOSelector
            astore 6 /* enxioSelector */
        start local 6 // org.jruby.util.io.SelectExecutor$ENXIOSelector enxioSelector
        15: .line 465
            aload 4 /* futures */
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            invokevirtual org.jruby.Ruby.getExecutor:()Ljava/util/concurrent/ExecutorService;
            aload 6 /* enxioSelector */
            invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 6 // org.jruby.util.io.SelectExecutor$ENXIOSelector enxioSelector
        16: .line 463
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        17: iload 5 /* i */
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.enxioSelectors:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            if_icmplt 14
        end local 5 // int i
        18: .line 468
            iload 3 /* ready */
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.mainSelector:Ljava/nio/channels/Selector;
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.timeout:Ljava/lang/Long;
            ifnonnull 19
            lconst_0
            goto 20
      StackMap locals: org.jruby.util.io.SelectExecutor$1 org.jruby.runtime.ThreadContext org.jruby.util.io.SelectExecutor int java.util.List
      StackMap stack: int java.nio.channels.Selector
        19: aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.timeout:Ljava/lang/Long;
            invokevirtual java.lang.Long.longValue:()J
      StackMap locals: org.jruby.util.io.SelectExecutor$1 org.jruby.runtime.ThreadContext org.jruby.util.io.SelectExecutor int java.util.List
      StackMap stack: int java.nio.channels.Selector long
        20: invokevirtual java.nio.channels.Selector.select:(J)I
            iadd
            istore 3 /* ready */
        21: .line 472
            iconst_0
            istore 5 /* i */
        start local 5 // int i
        22: goto 26
        23: .line 473
      StackMap locals: int
      StackMap stack:
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.enxioSelectors:Ljava/util/List;
            iload 5 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.jruby.util.io.SelectExecutor$ENXIOSelector
            astore 6 /* enxioSelector */
        start local 6 // org.jruby.util.io.SelectExecutor$ENXIOSelector enxioSelector
        24: .line 474
            aload 6 /* enxioSelector */
            getfield org.jruby.util.io.SelectExecutor$ENXIOSelector.selector:Ljava/nio/channels/Selector;
            invokevirtual java.nio.channels.Selector.wakeup:()Ljava/nio/channels/Selector;
            pop
        end local 6 // org.jruby.util.io.SelectExecutor$ENXIOSelector enxioSelector
        25: .line 472
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        26: iload 5 /* i */
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.enxioSelectors:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            if_icmplt 23
        end local 5 // int i
        27: .line 478
            iconst_0
            istore 5 /* i */
        start local 5 // int i
        28: goto 37
        29: .line 479
      StackMap locals:
      StackMap stack:
            aload 4 /* futures */
            iload 5 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.util.concurrent.Future
            astore 6 /* f */
        start local 6 // java.util.concurrent.Future f
        30: .line 480
            aload 6 /* f */
            invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
            pop
        end local 6 // java.util.concurrent.Future f
        31: .line 481
            goto 36
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
        32: pop
            goto 36
        33: .line 482
      StackMap locals:
      StackMap stack: java.util.concurrent.ExecutionException
            astore 6 /* eex */
        start local 6 // java.util.concurrent.ExecutionException eex
        34: .line 483
            aload 6 /* eex */
            invokevirtual java.util.concurrent.ExecutionException.getCause:()Ljava/lang/Throwable;
            instanceof java.io.IOException
            ifeq 36
        35: .line 484
            aload 6 /* eex */
            invokevirtual java.util.concurrent.ExecutionException.getCause:()Ljava/lang/Throwable;
            checkcast java.io.IOException
            athrow
        end local 6 // java.util.concurrent.ExecutionException eex
        36: .line 478
      StackMap locals:
      StackMap stack:
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        37: iload 5 /* i */
            aload 4 /* futures */
            invokeinterface java.util.List.size:()I
            if_icmplt 29
        end local 5 // int i
        end local 4 // java.util.List futures
        38: .line 488
            goto 45
        39: .line 489
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 4 /* i */
        start local 4 // int i
        40: goto 44
        41: .line 490
      StackMap locals: int
      StackMap stack:
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.selectors:Ljava/util/List;
            iload 4 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.nio.channels.Selector
            astore 5 /* selector */
        start local 5 // java.nio.channels.Selector selector
        42: .line 491
            iload 3 /* ready */
            aload 5 /* selector */
            invokevirtual java.nio.channels.Selector.selectNow:()I
            iadd
            istore 3 /* ready */
        end local 5 // java.nio.channels.Selector selector
        43: .line 489
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        44: iload 4 /* i */
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.selectors:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            if_icmplt 41
        end local 4 // int i
        45: .line 497
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 4 /* i */
        start local 4 // int i
        46: goto 55
        47: .line 498
      StackMap locals: int
      StackMap stack:
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.enxioSelectors:Ljava/util/List;
            iload 4 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.jruby.util.io.SelectExecutor$ENXIOSelector
            astore 5 /* enxioSelector */
        start local 5 // org.jruby.util.io.SelectExecutor$ENXIOSelector enxioSelector
        48: .line 499
            aload 5 /* enxioSelector */
            getfield org.jruby.util.io.SelectExecutor$ENXIOSelector.pipe:Ljava/nio/channels/Pipe;
            invokevirtual java.nio.channels.Pipe.source:()Ljava/nio/channels/Pipe$SourceChannel;
            astore 6 /* source */
        start local 6 // java.nio.channels.Pipe$SourceChannel source
        49: .line 500
            aload 6 /* source */
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.mainSelector:Ljava/nio/channels/Selector;
            invokevirtual java.nio.channels.Pipe$SourceChannel.keyFor:(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;
            astore 7 /* key */
        start local 7 // java.nio.channels.SelectionKey key
        50: .line 501
            aload 7 /* key */
            ifnull 54
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.mainSelector:Ljava/nio/channels/Selector;
            invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
            aload 7 /* key */
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 54
        51: .line 502
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.mainSelector:Ljava/nio/channels/Selector;
            invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
            aload 7 /* key */
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            pop
        52: .line 503
            iconst_1
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            astore 8 /* buf */
        start local 8 // java.nio.ByteBuffer buf
        53: .line 504
            aload 6 /* source */
            aload 8 /* buf */
            invokevirtual java.nio.channels.Pipe$SourceChannel.read:(Ljava/nio/ByteBuffer;)I
            pop
        end local 8 // java.nio.ByteBuffer buf
        end local 7 // java.nio.channels.SelectionKey key
        end local 6 // java.nio.channels.Pipe$SourceChannel source
        end local 5 // org.jruby.util.io.SelectExecutor$ENXIOSelector enxioSelector
        54: .line 497
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        55: iload 4 /* i */
            aload 2 /* s */
            getfield org.jruby.util.io.SelectExecutor.enxioSelectors:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            if_icmplt 47
        end local 4 // int i
        56: .line 507
            goto 59
      StackMap locals: org.jruby.util.io.SelectExecutor$1 org.jruby.runtime.ThreadContext org.jruby.util.io.SelectExecutor int
      StackMap stack: java.io.IOException
        57: astore 4 /* ioe */
        start local 4 // java.io.IOException ioe
        58: .line 508
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            aload 4 /* ioe */
            invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
            athrow
        end local 4 // java.io.IOException ioe
        59: .line 511
      StackMap locals:
      StackMap stack:
            iload 3 /* ready */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            areturn
        end local 3 // int ready
        end local 2 // org.jruby.util.io.SelectExecutor s
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.util.io.SelectExecutor$1 this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   60     0           this  Lorg/jruby/util/io/SelectExecutor$1;
            0   60     1        context  Lorg/jruby/runtime/ThreadContext;
            0   60     2              s  Lorg/jruby/util/io/SelectExecutor;
            1   60     3          ready  I
            5   10     4              i  I
            7    8     5       selector  Ljava/nio/channels/Selector;
           12   38     4        futures  Ljava/util/List<Ljava/util/concurrent/Future;>;
           13   18     5              i  I
           15   16     6  enxioSelector  Lorg/jruby/util/io/SelectExecutor$ENXIOSelector;
           22   27     5              i  I
           24   25     6  enxioSelector  Lorg/jruby/util/io/SelectExecutor$ENXIOSelector;
           28   38     5              i  I
           30   31     6              f  Ljava/util/concurrent/Future;
           34   36     6            eex  Ljava/util/concurrent/ExecutionException;
           40   45     4              i  I
           42   43     5       selector  Ljava/nio/channels/Selector;
           46   56     4              i  I
           48   54     5  enxioSelector  Lorg/jruby/util/io/SelectExecutor$ENXIOSelector;
           49   54     6         source  Ljava/nio/channels/Pipe$SourceChannel;
           50   54     7            key  Ljava/nio/channels/SelectionKey;
           53   54     8            buf  Ljava/nio/ByteBuffer;
           58   59     4            ioe  Ljava/io/IOException;
      Exception table:
        from    to  target  type
          29    31      32  Class java.lang.InterruptedException
          29    31      33  Class java.util.concurrent.ExecutionException
           1    56      57  Class java.io.IOException
    Exceptions:
      throws java.lang.InterruptedException
    MethodParameters:
         Name  Flags
      context  
      s        

  public void wakeup(org.jruby.RubyThread, org.jruby.util.io.SelectExecutor);
    descriptor: (Lorg/jruby/RubyThread;Lorg/jruby/util/io/SelectExecutor;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=3
        start local 0 // org.jruby.util.io.SelectExecutor$1 this
        start local 1 // org.jruby.RubyThread thread
        start local 2 // org.jruby.util.io.SelectExecutor selectExecutor
         0: .line 517
            aload 1 /* thread */
            invokevirtual org.jruby.RubyThread.getNativeThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
         1: .line 520
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         2: goto 6
         3: .line 521
      StackMap locals: int
      StackMap stack:
            aload 2 /* selectExecutor */
            getfield org.jruby.util.io.SelectExecutor.selectors:Ljava/util/List;
            iload 3 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.nio.channels.Selector
            astore 4 /* selector */
        start local 4 // java.nio.channels.Selector selector
         4: .line 522
            aload 4 /* selector */
            invokevirtual java.nio.channels.Selector.wakeup:()Ljava/nio/channels/Selector;
            pop
        end local 4 // java.nio.channels.Selector selector
         5: .line 520
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         6: iload 3 /* i */
            aload 2 /* selectExecutor */
            getfield org.jruby.util.io.SelectExecutor.selectors:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            if_icmplt 3
        end local 3 // int i
         7: .line 524
            return
        end local 2 // org.jruby.util.io.SelectExecutor selectExecutor
        end local 1 // org.jruby.RubyThread thread
        end local 0 // org.jruby.util.io.SelectExecutor$1 this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    8     0            this  Lorg/jruby/util/io/SelectExecutor$1;
            0    8     1          thread  Lorg/jruby/RubyThread;
            0    8     2  selectExecutor  Lorg/jruby/util/io/SelectExecutor;
            2    7     3               i  I
            4    5     4        selector  Ljava/nio/channels/Selector;
    MethodParameters:
                Name  Flags
      thread          
      selectExecutor  

  public java.lang.Object run(org.jruby.runtime.ThreadContext, java.lang.Object);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
         0: .line 1
            aload 0
            aload 1
            aload 2
            checkcast org.jruby.util.io.SelectExecutor
            invokevirtual org.jruby.util.io.SelectExecutor$1.run:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/SelectExecutor;)Ljava/lang/Integer;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.InterruptedException

  public void wakeup(org.jruby.RubyThread, java.lang.Object);
    descriptor: (Lorg/jruby/RubyThread;Ljava/lang/Object;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
         0: .line 1
            aload 0
            aload 1
            aload 2
            checkcast org.jruby.util.io.SelectExecutor
            invokevirtual org.jruby.util.io.SelectExecutor$1.wakeup:(Lorg/jruby/RubyThread;Lorg/jruby/util/io/SelectExecutor;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/lang/Object;Lorg/jruby/RubyThread$Task<Lorg/jruby/util/io/SelectExecutor;Ljava/lang/Integer;>;
SourceFile: "SelectExecutor.java"
EnclosingMethod: org.jruby.util.io.SelectExecutor
NestHost: org.jruby.util.io.SelectExecutor
InnerClasses:
  public abstract SourceChannel = java.nio.channels.Pipe$SourceChannel of java.nio.channels.Pipe
  public abstract Task = org.jruby.RubyThread$Task of org.jruby.RubyThread
  org.jruby.util.io.SelectExecutor$1
  private final ENXIOSelector = org.jruby.util.io.SelectExecutor$ENXIOSelector of org.jruby.util.io.SelectExecutor