public class org.jruby.util.Join$Spec
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.util.Join$Spec
  super_class: java.lang.Object
{
  private java.util.ArrayList<java.util.ArrayList<org.jruby.util.Join$Reaction>> reactionsPerChannel;
    descriptor: Ljava/util/ArrayList;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/ArrayList<Ljava/util/ArrayList<Lorg/jruby/util/Join$Reaction;>;>;

  private long asyncMask;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private long mask;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private volatile org.jruby.util.Join$Reaction[][] cachedReactionsPerChannel;
    descriptor: [[Lorg/jruby/util/Join$Reaction;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private static final org.jruby.util.Join$Reaction[] EMPTY_REACTIONS;
    descriptor: [Lorg/jruby/util/Join$Reaction;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 88
            iconst_0
            anewarray org.jruby.util.Join$Reaction
            putstatic org.jruby.util.Join$Spec.EMPTY_REACTIONS:[Lorg/jruby/util/Join$Reaction;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.jruby.util.Join$Spec this
         0: .line 54
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 49
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield org.jruby.util.Join$Spec.reactionsPerChannel:Ljava/util/ArrayList;
         2: .line 50
            aload 0 /* this */
            lconst_0
            putfield org.jruby.util.Join$Spec.asyncMask:J
         3: .line 51
            aload 0 /* this */
            lconst_0
            putfield org.jruby.util.Join$Spec.mask:J
         4: .line 52
            aload 0 /* this */
            aconst_null
            putfield org.jruby.util.Join$Spec.cachedReactionsPerChannel:[[Lorg/jruby/util/Join$Reaction;
         5: .line 54
            return
        end local 0 // org.jruby.util.Join$Spec this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/jruby/util/Join$Spec;

  public void addReaction(org.jruby.util.Join$Reaction);
    descriptor: (Lorg/jruby/util/Join$Reaction;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=6, args_size=2
        start local 0 // org.jruby.util.Join$Spec this
        start local 1 // org.jruby.util.Join$Reaction reaction
         0: .line 57
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.mask:J
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.asyncMask:J
            ldc -1
            lxor
            land
            aload 1 /* reaction */
            getfield org.jruby.util.Join$Reaction.asyncMask:J
            land
            lconst_0
            lcmp
            ifeq 2
         1: .line 58
            new java.lang.IllegalArgumentException
            dup
            ldc "Cannot use a synchronous channel in a non-head position"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 60
      StackMap locals:
      StackMap stack:
            aload 1 /* reaction */
            getfield org.jruby.util.Join$Reaction.mask:J
            aload 1 /* reaction */
            getfield org.jruby.util.Join$Reaction.asyncMask:J
            ldc -1
            lxor
            land
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.asyncMask:J
            land
            lconst_0
            lcmp
            ifeq 4
         3: .line 61
            new java.lang.IllegalArgumentException
            dup
            ldc "Cannot use an asynchronous channel in the head position of a synchronous reaction"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.jruby.util.Join$Spec.cachedReactionsPerChannel:[[Lorg/jruby/util/Join$Reaction;
         5: .line 64
            aload 1 /* reaction */
            getfield org.jruby.util.Join$Reaction.indices:[I
            astore 2 /* indices */
        start local 2 // int[] indices
         6: .line 65
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         7: goto 20
         8: .line 66
      StackMap locals: int[] int
      StackMap stack:
            aload 2 /* indices */
            iload 3 /* i */
            iaload
            istore 4 /* index */
        start local 4 // int index
         9: .line 67
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.reactionsPerChannel:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            iload 4 /* index */
            if_icmpgt 14
        10: .line 68
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.reactionsPerChannel:Ljava/util/ArrayList;
            iload 4 /* index */
            iconst_1
            iadd
            invokevirtual java.util.ArrayList.ensureCapacity:(I)V
        11: .line 69
            goto 13
        12: .line 70
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.reactionsPerChannel:Ljava/util/ArrayList;
            aconst_null
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        13: .line 69
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.reactionsPerChannel:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            iload 4 /* index */
            if_icmple 12
        14: .line 73
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.reactionsPerChannel:Ljava/util/ArrayList;
            iload 4 /* index */
            invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
            checkcast java.util.ArrayList
            astore 5 /* reactions */
        start local 5 // java.util.ArrayList reactions
        15: .line 74
            aload 5 /* reactions */
            ifnonnull 18
        16: .line 75
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 5 /* reactions */
        17: .line 76
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.reactionsPerChannel:Ljava/util/ArrayList;
            iload 4 /* index */
            aload 5 /* reactions */
            invokevirtual java.util.ArrayList.set:(ILjava/lang/Object;)Ljava/lang/Object;
            pop
        18: .line 78
      StackMap locals: java.util.ArrayList
      StackMap stack:
            aload 5 /* reactions */
            aload 1 /* reaction */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        end local 5 // java.util.ArrayList reactions
        end local 4 // int index
        19: .line 65
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        20: iload 3 /* i */
            aload 2 /* indices */
            arraylength
            if_icmplt 8
        end local 3 // int i
        21: .line 80
            aload 0 /* this */
            dup
            getfield org.jruby.util.Join$Spec.asyncMask:J
            aload 1 /* reaction */
            getfield org.jruby.util.Join$Reaction.asyncMask:J
            lor
            putfield org.jruby.util.Join$Spec.asyncMask:J
        22: .line 81
            aload 0 /* this */
            dup
            getfield org.jruby.util.Join$Spec.mask:J
            aload 1 /* reaction */
            getfield org.jruby.util.Join$Reaction.mask:J
            lor
            putfield org.jruby.util.Join$Spec.mask:J
        23: .line 82
            return
        end local 2 // int[] indices
        end local 1 // org.jruby.util.Join$Reaction reaction
        end local 0 // org.jruby.util.Join$Spec this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   24     0       this  Lorg/jruby/util/Join$Spec;
            0   24     1   reaction  Lorg/jruby/util/Join$Reaction;
            6   24     2    indices  [I
            7   21     3          i  I
            9   19     4      index  I
           15   19     5  reactions  Ljava/util/ArrayList<Lorg/jruby/util/Join$Reaction;>;
    MethodParameters:
          Name  Flags
      reaction  

  public org.jruby.util.Join createJoin();
    descriptor: ()Lorg/jruby/util/Join;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.util.Join$Spec this
         0: .line 85
            aload 0 /* this */
            getstatic org.jruby.util.Join.TRIVIAL_EXECUTOR:Ljava/util/concurrent/Executor;
            invokevirtual org.jruby.util.Join$Spec.createJoin:(Ljava/util/concurrent/Executor;)Lorg/jruby/util/Join;
            areturn
        end local 0 // org.jruby.util.Join$Spec this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/Join$Spec;

  public org.jruby.util.Join createJoin(java.util.concurrent.Executor);
    descriptor: (Ljava/util/concurrent/Executor;)Lorg/jruby/util/Join;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=6, args_size=2
        start local 0 // org.jruby.util.Join$Spec this
        start local 1 // java.util.concurrent.Executor executor
         0: .line 90
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.cachedReactionsPerChannel:[[Lorg/jruby/util/Join$Reaction;
            ifnonnull 11
         1: .line 91
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.reactionsPerChannel:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            istore 2 /* length */
        start local 2 // int length
         2: .line 92
            iload 2 /* length */
            anewarray org.jruby.util.Join$Reaction[]
            astore 3 /* localReactionsPerChannel */
        start local 3 // org.jruby.util.Join$Reaction[][] localReactionsPerChannel
         3: .line 93
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         4: goto 9
         5: .line 94
      StackMap locals: int org.jruby.util.Join$Reaction[][] int
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.reactionsPerChannel:Ljava/util/ArrayList;
            iload 4 /* i */
            invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
            checkcast java.util.ArrayList
            astore 5 /* reactions */
        start local 5 // java.util.ArrayList reactions
         6: .line 95
            aload 5 /* reactions */
            ifnull 8
         7: .line 96
            aload 3 /* localReactionsPerChannel */
            iload 4 /* i */
            aload 5 /* reactions */
            getstatic org.jruby.util.Join$Spec.EMPTY_REACTIONS:[Lorg/jruby/util/Join$Reaction;
            invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast org.jruby.util.Join$Reaction[]
            aastore
        end local 5 // java.util.ArrayList reactions
         8: .line 93
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
         9: iload 4 /* i */
            iload 2 /* length */
            if_icmplt 5
        end local 4 // int i
        10: .line 99
            aload 0 /* this */
            aload 3 /* localReactionsPerChannel */
            putfield org.jruby.util.Join$Spec.cachedReactionsPerChannel:[[Lorg/jruby/util/Join$Reaction;
        end local 3 // org.jruby.util.Join$Reaction[][] localReactionsPerChannel
        end local 2 // int length
        11: .line 101
      StackMap locals:
      StackMap stack:
            new org.jruby.util.Join
            dup
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.asyncMask:J
            aload 0 /* this */
            getfield org.jruby.util.Join$Spec.cachedReactionsPerChannel:[[Lorg/jruby/util/Join$Reaction;
            aload 1 /* executor */
            invokespecial org.jruby.util.Join.<init>:(J[[Lorg/jruby/util/Join$Reaction;Ljava/util/concurrent/Executor;)V
            areturn
        end local 1 // java.util.concurrent.Executor executor
        end local 0 // org.jruby.util.Join$Spec this
      LocalVariableTable:
        Start  End  Slot                      Name  Signature
            0   12     0                      this  Lorg/jruby/util/Join$Spec;
            0   12     1                  executor  Ljava/util/concurrent/Executor;
            2   11     2                    length  I
            3   11     3  localReactionsPerChannel  [[Lorg/jruby/util/Join$Reaction;
            4   10     4                         i  I
            6    8     5                 reactions  Ljava/util/ArrayList<Lorg/jruby/util/Join$Reaction;>;
    MethodParameters:
          Name  Flags
      executor  final
}
SourceFile: "Join.java"
NestHost: org.jruby.util.Join
InnerClasses:
  public abstract Reaction = org.jruby.util.Join$Reaction of org.jruby.util.Join
  public Spec = org.jruby.util.Join$Spec of org.jruby.util.Join