class jdk.incubator.http.HttpClientImpl$SelectorAttachment
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.incubator.http.HttpClientImpl$SelectorAttachment
  super_class: java.lang.Object
{
  private final java.nio.channels.SelectableChannel chan;
    descriptor: Ljava/nio/channels/SelectableChannel;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.nio.channels.Selector selector;
    descriptor: Ljava/nio/channels/Selector;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.Set<jdk.incubator.http.AsyncEvent> pending;
    descriptor: Ljava/util/Set;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Set<Ljdk/incubator/http/AsyncEvent;>;

  private static final java.lang.System$Logger debug;
    descriptor: Ljava/lang/System$Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private int interestOps;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 789
            ldc "SelectorAttachment"
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic get(Ljava/lang/String;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  java/lang/String.toString()Ljava/lang/String; (5)
                  ()Ljava/lang/String;
            getstatic jdk.incubator.http.HttpClientImpl.DEBUG:Z
            invokestatic jdk.incubator.http.internal.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
         1: .line 788
            putstatic jdk.incubator.http.HttpClientImpl$SelectorAttachment.debug:Ljava/lang/System$Logger;
         2: .line 789
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(java.nio.channels.SelectableChannel, java.nio.channels.Selector);
    descriptor: (Ljava/nio/channels/SelectableChannel;Ljava/nio/channels/Selector;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
        start local 1 // java.nio.channels.SelectableChannel chan
        start local 2 // java.nio.channels.Selector selector
         0: .line 792
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 793
            aload 0 /* this */
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            putfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/Set;
         2: .line 794
            aload 0 /* this */
            aload 1 /* chan */
            putfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.chan:Ljava/nio/channels/SelectableChannel;
         3: .line 795
            aload 0 /* this */
            aload 2 /* selector */
            putfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.selector:Ljava/nio/channels/Selector;
         4: .line 796
            return
        end local 2 // java.nio.channels.Selector selector
        end local 1 // java.nio.channels.SelectableChannel chan
        end local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Ljdk/incubator/http/HttpClientImpl$SelectorAttachment;
            0    5     1      chan  Ljava/nio/channels/SelectableChannel;
            0    5     2  selector  Ljava/nio/channels/Selector;
    MethodParameters:
          Name  Flags
      chan      
      selector  

  void register(jdk.incubator.http.AsyncEvent);
    descriptor: (Ljdk/incubator/http/AsyncEvent;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
        start local 1 // jdk.incubator.http.AsyncEvent e
         0: .line 799
            aload 1 /* e */
            invokevirtual jdk.incubator.http.AsyncEvent.interestOps:()I
            istore 2 /* newOps */
        start local 2 // int newOps
         1: .line 800
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.interestOps:I
            iload 2 /* newOps */
            iand
            iload 2 /* newOps */
            if_icmpeq 2
            iconst_1
            goto 3
      StackMap locals: int
      StackMap stack:
         2: iconst_0
      StackMap locals:
      StackMap stack: int
         3: istore 3 /* reRegister */
        start local 3 // boolean reRegister
         4: .line 801
            aload 0 /* this */
            dup
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.interestOps:I
            iload 2 /* newOps */
            ior
            putfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.interestOps:I
         5: .line 802
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/Set;
            aload 1 /* e */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
         6: .line 803
            iload 3 /* reRegister */
            ifeq 8
         7: .line 805
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.chan:Ljava/nio/channels/SelectableChannel;
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.selector:Ljava/nio/channels/Selector;
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.interestOps:I
            aload 0 /* this */
            invokevirtual java.nio.channels.SelectableChannel.register:(Ljava/nio/channels/Selector;ILjava/lang/Object;)Ljava/nio/channels/SelectionKey;
            pop
         8: .line 807
      StackMap locals: int
      StackMap stack:
            return
        end local 3 // boolean reRegister
        end local 2 // int newOps
        end local 1 // jdk.incubator.http.AsyncEvent e
        end local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    9     0        this  Ljdk/incubator/http/HttpClientImpl$SelectorAttachment;
            0    9     1           e  Ljdk/incubator/http/AsyncEvent;
            1    9     2      newOps  I
            4    9     3  reRegister  Z
    Exceptions:
      throws java.nio.channels.ClosedChannelException
    MethodParameters:
      Name  Flags
      e     

  java.util.stream.Stream<jdk.incubator.http.AsyncEvent> events(int);
    descriptor: (I)Ljava/util/stream/Stream;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
        start local 1 // int interestOps
         0: .line 814
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/Set;
            invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
         1: .line 815
            iload 1 /* interestOps */
            invokedynamic test(I)Ljava/util/function/Predicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Z
                  jdk/incubator/http/HttpClientImpl$SelectorAttachment.lambda$1(ILjdk/incubator/http/AsyncEvent;)Z (6)
                  (Ljdk/incubator/http/AsyncEvent;)Z
            invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
         2: .line 814
            areturn
        end local 1 // int interestOps
        end local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0         this  Ljdk/incubator/http/HttpClientImpl$SelectorAttachment;
            0    3     1  interestOps  I
    Signature: (I)Ljava/util/stream/Stream<Ljdk/incubator/http/AsyncEvent;>;
    MethodParameters:
             Name  Flags
      interestOps  

  void resetInterestOps(int);
    descriptor: (I)V
    flags: (0x0000) 
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
        start local 1 // int interestOps
         0: .line 823
            iconst_0
            istore 2 /* newOps */
        start local 2 // int newOps
         1: .line 825
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3 /* itr */
        start local 3 // java.util.Iterator itr
         2: .line 826
            goto 12
         3: .line 827
      StackMap locals: int java.util.Iterator
      StackMap stack:
            aload 3 /* itr */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.incubator.http.AsyncEvent
            astore 4 /* event */
        start local 4 // jdk.incubator.http.AsyncEvent event
         4: .line 828
            aload 4 /* event */
            invokevirtual jdk.incubator.http.AsyncEvent.interestOps:()I
            istore 5 /* evops */
        start local 5 // int evops
         5: .line 829
            aload 4 /* event */
            invokevirtual jdk.incubator.http.AsyncEvent.repeating:()Z
            ifeq 8
         6: .line 830
            iload 2 /* newOps */
            iload 5 /* evops */
            ior
            istore 2 /* newOps */
         7: .line 831
            goto 12
         8: .line 833
      StackMap locals: jdk.incubator.http.AsyncEvent int
      StackMap stack:
            iload 5 /* evops */
            iload 1 /* interestOps */
            iand
            ifeq 11
         9: .line 834
            aload 3 /* itr */
            invokeinterface java.util.Iterator.remove:()V
        10: .line 835
            goto 12
        11: .line 836
      StackMap locals:
      StackMap stack:
            iload 2 /* newOps */
            iload 5 /* evops */
            ior
            istore 2 /* newOps */
        end local 5 // int evops
        end local 4 // jdk.incubator.http.AsyncEvent event
        12: .line 826
      StackMap locals:
      StackMap stack:
            aload 3 /* itr */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
        13: .line 840
            aload 0 /* this */
            iload 2 /* newOps */
            putfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.interestOps:I
        14: .line 841
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.chan:Ljava/nio/channels/SelectableChannel;
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.selector:Ljava/nio/channels/Selector;
            invokevirtual java.nio.channels.SelectableChannel.keyFor:(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;
            astore 4 /* key */
        start local 4 // java.nio.channels.SelectionKey key
        15: .line 842
            iload 2 /* newOps */
            ifne 18
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/Set;
            invokeinterface java.util.Set.isEmpty:()Z
            ifeq 18
        16: .line 843
            aload 4 /* key */
            invokevirtual java.nio.channels.SelectionKey.cancel:()V
        17: .line 844
            goto 23
        18: .line 846
      StackMap locals: java.nio.channels.SelectionKey
      StackMap stack:
            aload 4 /* key */
            iload 2 /* newOps */
            invokevirtual java.nio.channels.SelectionKey.interestOps:(I)Ljava/nio/channels/SelectionKey;
            pop
        19: .line 847
            goto 23
      StackMap locals:
      StackMap stack: java.nio.channels.CancelledKeyException
        20: astore 5 /* x */
        start local 5 // java.nio.channels.CancelledKeyException x
        21: .line 849
            getstatic jdk.incubator.http.HttpClientImpl$SelectorAttachment.debug:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            new java.lang.StringBuilder
            dup
            ldc "key cancelled for "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.chan:Ljava/nio/channels/SelectableChannel;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
        22: .line 850
            aload 0 /* this */
            aload 5 /* x */
            invokevirtual jdk.incubator.http.HttpClientImpl$SelectorAttachment.abortPending:(Ljava/lang/Throwable;)V
        end local 5 // java.nio.channels.CancelledKeyException x
        23: .line 853
      StackMap locals:
      StackMap stack:
            return
        end local 4 // java.nio.channels.SelectionKey key
        end local 3 // java.util.Iterator itr
        end local 2 // int newOps
        end local 1 // int interestOps
        end local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   24     0         this  Ljdk/incubator/http/HttpClientImpl$SelectorAttachment;
            0   24     1  interestOps  I
            1   24     2       newOps  I
            2   24     3          itr  Ljava/util/Iterator<Ljdk/incubator/http/AsyncEvent;>;
            4   12     4        event  Ljdk/incubator/http/AsyncEvent;
            5   12     5        evops  I
           15   24     4          key  Ljava/nio/channels/SelectionKey;
           21   23     5            x  Ljava/nio/channels/CancelledKeyException;
      Exception table:
        from    to  target  type
          18    19      20  Class java.nio.channels.CancelledKeyException
    MethodParameters:
             Name  Flags
      interestOps  

  void abortPending(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=8, args_size=2
        start local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
        start local 1 // java.lang.Throwable x
         0: .line 856
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/Set;
            invokeinterface java.util.Set.isEmpty:()Z
            ifne 9
         1: .line 857
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/Set;
            iconst_0
            anewarray jdk.incubator.http.AsyncEvent
            invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast jdk.incubator.http.AsyncEvent[]
            astore 2 /* evts */
        start local 2 // jdk.incubator.http.AsyncEvent[] evts
         2: .line 858
            aload 0 /* this */
            getfield jdk.incubator.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/Set;
            invokeinterface java.util.Set.clear:()V
         3: .line 859
            aload 1 /* x */
            invokestatic jdk.incubator.http.internal.common.Utils.getIOException:(Ljava/lang/Throwable;)Ljava/io/IOException;
            astore 3 /* io */
        start local 3 // java.io.IOException io
         4: .line 860
            aload 2 /* evts */
            dup
            astore 7
            arraylength
            istore 6
            iconst_0
            istore 5
            goto 8
      StackMap locals: jdk.incubator.http.HttpClientImpl$SelectorAttachment java.lang.Throwable jdk.incubator.http.AsyncEvent[] java.io.IOException top int int jdk.incubator.http.AsyncEvent[]
      StackMap stack:
         5: aload 7
            iload 5
            aaload
            astore 4 /* event */
        start local 4 // jdk.incubator.http.AsyncEvent event
         6: .line 861
            aload 4 /* event */
            aload 3 /* io */
            invokevirtual jdk.incubator.http.AsyncEvent.abort:(Ljava/io/IOException;)V
        end local 4 // jdk.incubator.http.AsyncEvent event
         7: .line 860
            iinc 5 1
      StackMap locals:
      StackMap stack:
         8: iload 5
            iload 6
            if_icmplt 5
        end local 3 // java.io.IOException io
        end local 2 // jdk.incubator.http.AsyncEvent[] evts
         9: .line 864
      StackMap locals: jdk.incubator.http.HttpClientImpl$SelectorAttachment java.lang.Throwable
      StackMap stack:
            return
        end local 1 // java.lang.Throwable x
        end local 0 // jdk.incubator.http.HttpClientImpl$SelectorAttachment this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   10     0   this  Ljdk/incubator/http/HttpClientImpl$SelectorAttachment;
            0   10     1      x  Ljava/lang/Throwable;
            2    9     2   evts  [Ljdk/incubator/http/AsyncEvent;
            4    9     3     io  Ljava/io/IOException;
            6    7     4  event  Ljdk/incubator/http/AsyncEvent;
    MethodParameters:
      Name  Flags
      x     

  private static boolean lambda$1(int, jdk.incubator.http.AsyncEvent);
    descriptor: (ILjdk/incubator/http/AsyncEvent;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 1 // jdk.incubator.http.AsyncEvent ev
         0: .line 815
            aload 1 /* ev */
            invokevirtual jdk.incubator.http.AsyncEvent.interestOps:()I
            iload 0
            iand
            ifeq 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 1 // jdk.incubator.http.AsyncEvent ev
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     1    ev  Ljdk/incubator/http/AsyncEvent;
}
SourceFile: "HttpClientImpl.java"
NestHost: jdk.incubator.http.HttpClientImpl
InnerClasses:
  public abstract Logger = java.lang.System$Logger of java.lang.System
  public final Level = java.lang.System$Logger$Level of java.lang.System$Logger
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  private SelectorAttachment = jdk.incubator.http.HttpClientImpl$SelectorAttachment of jdk.incubator.http.HttpClientImpl