final class jdk.incubator.http.WindowController
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.incubator.http.WindowController
  super_class: java.lang.Object
{
  static final boolean DEBUG;
    descriptor: Z
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static final java.lang.System$Logger DEBUG_LOGGER;
    descriptor: Ljava/lang/System$Logger;
    flags: (0x0018) ACC_STATIC, ACC_FINAL

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

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

  private final java.util.Map<java.lang.Integer, java.lang.Integer> streams;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/Integer;>;

  private final java.util.Map<java.lang.Integer, java.util.Map$Entry<jdk.incubator.http.Stream<?>, java.lang.Integer>> pending;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/Integer;Ljava/util/Map$Entry<Ljdk/incubator/http/Stream<*>;Ljava/lang/Integer;>;>;

  private final java.util.concurrent.locks.ReentrantLock controllerLock;
    descriptor: Ljava/util/concurrent/locks/ReentrantLock;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 50
            ldc Ljdk/incubator/http/WindowController;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic jdk.incubator.http.WindowController.$assertionsDisabled:Z
         3: .line 52
            getstatic jdk.incubator.http.internal.common.Utils.DEBUG:Z
            putstatic jdk.incubator.http.WindowController.DEBUG:Z
         4: .line 54
            ldc "WindowController"
            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.WindowController.DEBUG:Z
            invokestatic jdk.incubator.http.internal.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
         5: .line 53
            putstatic jdk.incubator.http.WindowController.DEBUG_LOGGER:Ljava/lang/System$Logger;
         6: .line 59
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.incubator.http.WindowController this
         0: .line 75
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 65
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.incubator.http.WindowController.streams:Ljava/util/Map;
         2: .line 69
            aload 0 /* this */
         3: .line 70
            new java.util.LinkedHashMap
            dup
            invokespecial java.util.LinkedHashMap.<init>:()V
            putfield jdk.incubator.http.WindowController.pending:Ljava/util/Map;
         4: .line 72
            aload 0 /* this */
            new java.util.concurrent.locks.ReentrantLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
            putfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
         5: .line 76
            aload 0 /* this */
            ldc 65535
            putfield jdk.incubator.http.WindowController.connectionWindowSize:I
         6: .line 77
            return
        end local 0 // jdk.incubator.http.WindowController this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/incubator/http/WindowController;

  void registerStream(int, int);
    descriptor: (II)V
    flags: (0x0000) 
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // jdk.incubator.http.WindowController this
        start local 1 // int streamid
        start local 2 // int initialStreamWindowSize
         0: .line 86
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         1: .line 88
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.streams:Ljava/util/Map;
            iload 1 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iload 2 /* initialStreamWindowSize */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Integer
            astore 3 /* old */
        start local 3 // java.lang.Integer old
         2: .line 89
            aload 3 /* old */
            ifnull 9
         3: .line 90
            new java.lang.InternalError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unexpected entry ["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         4: .line 91
            aload 3 /* old */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "] for streamid: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 1 /* streamid */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         5: .line 90
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.lang.Integer old
         6: .line 92
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 4
         7: .line 93
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
         8: .line 94
            aload 4
            athrow
         9: .line 93
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        10: .line 95
            return
        end local 2 // int initialStreamWindowSize
        end local 1 // int streamid
        end local 0 // jdk.incubator.http.WindowController this
      LocalVariableTable:
        Start  End  Slot                     Name  Signature
            0   11     0                     this  Ljdk/incubator/http/WindowController;
            0   11     1                 streamid  I
            0   11     2  initialStreamWindowSize  I
            2    6     3                      old  Ljava/lang/Integer;
      Exception table:
        from    to  target  type
           1     6       6  any
    MethodParameters:
                         Name  Flags
      streamid                 
      initialStreamWindowSize  

  void removeStream(int);
    descriptor: (I)V
    flags: (0x0000) 
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // jdk.incubator.http.WindowController this
        start local 1 // int streamid
         0: .line 99
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         1: .line 101
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.streams:Ljava/util/Map;
            iload 1 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Integer
            astore 2 /* old */
        start local 2 // java.lang.Integer old
         2: .line 105
            iload 1 /* streamid */
            iconst_2
            irem
            iconst_1
            if_icmpne 3
            iconst_1
            goto 4
      StackMap locals: java.lang.Integer
      StackMap stack:
         3: iconst_0
      StackMap locals:
      StackMap stack: int
         4: istore 3 /* isClientStream */
        start local 3 // boolean isClientStream
         5: .line 106
            aload 2 /* old */
            ifnonnull 7
            iload 3 /* isClientStream */
            ifeq 7
         6: .line 107
            new java.lang.InternalError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Expected entry for streamid: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* streamid */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 108
      StackMap locals: int
      StackMap stack:
            aload 2 /* old */
            ifnull 12
            iload 3 /* isClientStream */
            ifne 12
         8: .line 109
            new java.lang.InternalError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unexpected entry for streamid: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* streamid */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // boolean isClientStream
        end local 2 // java.lang.Integer old
         9: .line 111
      StackMap locals: jdk.incubator.http.WindowController int
      StackMap stack: java.lang.Throwable
            astore 4
        10: .line 112
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        11: .line 113
            aload 4
            athrow
        12: .line 112
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        13: .line 114
            return
        end local 1 // int streamid
        end local 0 // jdk.incubator.http.WindowController this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   14     0            this  Ljdk/incubator/http/WindowController;
            0   14     1        streamid  I
            2    9     2             old  Ljava/lang/Integer;
            5    9     3  isClientStream  Z
      Exception table:
        from    to  target  type
           1     9       9  any
    MethodParameters:
          Name  Flags
      streamid  

  int tryAcquire(int, int, jdk.incubator.http.Stream<?>);
    descriptor: (IILjdk/incubator/http/Stream;)I
    flags: (0x0000) 
    Code:
      stack=8, locals=8, args_size=4
        start local 0 // jdk.incubator.http.WindowController this
        start local 1 // int requestAmount
        start local 2 // int streamid
        start local 3 // jdk.incubator.http.Stream stream
         0: .line 133
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         1: .line 135
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.streams:Ljava/util/Map;
            iload 2 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Integer
            astore 4 /* streamSize */
        start local 4 // java.lang.Integer streamSize
         2: .line 136
            aload 4 /* streamSize */
            ifnonnull 6
         3: .line 137
            new java.lang.InternalError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Expected entry for streamid: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         4: .line 138
            iload 2 /* streamid */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         5: .line 137
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 139
      StackMap locals: java.lang.Integer
      StackMap stack:
            iload 1 /* requestAmount */
         7: .line 140
            aload 4 /* streamSize */
            invokevirtual java.lang.Integer.intValue:()I
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.connectionWindowSize:I
            invokestatic java.lang.Math.min:(II)I
         8: .line 139
            invokestatic java.lang.Math.min:(II)I
            istore 5 /* x */
        start local 5 // int x
         9: .line 142
            iload 5 /* x */
            ifgt 19
        10: .line 143
            getstatic jdk.incubator.http.WindowController.DEBUG_LOGGER:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
        11: .line 144
            ldc "Stream %d requesting %d but only %d available (stream: %d, connection: %d)"
            iconst_5
            anewarray java.lang.Object
            dup
            iconst_0
        12: .line 145
            iload 2 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iload 1 /* requestAmount */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            aload 4 /* streamSize */
            invokevirtual java.lang.Integer.intValue:()I
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.connectionWindowSize:I
            invokestatic java.lang.Math.min:(II)I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_3
        13: .line 146
            aload 4 /* streamSize */
            aastore
            dup
            iconst_4
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.connectionWindowSize:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        14: .line 143
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
        15: .line 149
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.pending:Ljava/util/Map;
            iload 2 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 3 /* stream */
            iload 1 /* requestAmount */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokestatic java.util.Map.entry:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map$Entry;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        16: .line 150
            iload 5 /* x */
            istore 7
        17: .line 166
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        18: .line 150
            iload 7
            ireturn
        19: .line 154
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.pending:Ljava/util/Map;
            iload 2 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
        20: .line 157
            aload 4 /* streamSize */
            invokevirtual java.lang.Integer.intValue:()I
            iload 5 /* x */
            isub
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            astore 4 /* streamSize */
        21: .line 158
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.streams:Ljava/util/Map;
            iload 2 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 4 /* streamSize */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        22: .line 159
            aload 0 /* this */
            dup
            getfield jdk.incubator.http.WindowController.connectionWindowSize:I
            iload 5 /* x */
            isub
            putfield jdk.incubator.http.WindowController.connectionWindowSize:I
        23: .line 160
            getstatic jdk.incubator.http.WindowController.DEBUG_LOGGER:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
        24: .line 161
            ldc "Stream %d amount allocated %d, now %d available (stream: %d, connection: %d)"
            iconst_5
            anewarray java.lang.Object
            dup
            iconst_0
        25: .line 162
            iload 2 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iload 5 /* x */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            aload 4 /* streamSize */
            invokevirtual java.lang.Integer.intValue:()I
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.connectionWindowSize:I
            invokestatic java.lang.Math.min:(II)I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_3
        26: .line 163
            aload 4 /* streamSize */
            aastore
            dup
            iconst_4
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.connectionWindowSize:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        27: .line 160
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
        28: .line 164
            iload 5 /* x */
            istore 7
        29: .line 166
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        30: .line 164
            iload 7
            ireturn
        end local 5 // int x
        end local 4 // java.lang.Integer streamSize
        31: .line 165
      StackMap locals: jdk.incubator.http.WindowController int int jdk.incubator.http.Stream
      StackMap stack: java.lang.Throwable
            astore 6
        32: .line 166
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        33: .line 167
            aload 6
            athrow
        end local 3 // jdk.incubator.http.Stream stream
        end local 2 // int streamid
        end local 1 // int requestAmount
        end local 0 // jdk.incubator.http.WindowController this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   34     0           this  Ljdk/incubator/http/WindowController;
            0   34     1  requestAmount  I
            0   34     2       streamid  I
            0   34     3         stream  Ljdk/incubator/http/Stream<*>;
            2   31     4     streamSize  Ljava/lang/Integer;
            9   31     5              x  I
      Exception table:
        from    to  target  type
           1    17      31  any
          19    29      31  any
    Signature: (IILjdk/incubator/http/Stream<*>;)I
    MethodParameters:
               Name  Flags
      requestAmount  
      streamid       
      stream         

  boolean increaseConnectionWindow(int);
    descriptor: (I)Z
    flags: (0x0000) 
    Code:
      stack=7, locals=11, args_size=2
        start local 0 // jdk.incubator.http.WindowController this
        start local 1 // int amount
         0: .line 181
            aconst_null
            astore 2 /* candidates */
        start local 2 // java.util.List candidates
         1: .line 182
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         2: .line 184
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.connectionWindowSize:I
            istore 3 /* size */
        start local 3 // int size
         3: .line 185
            iload 3 /* size */
            iload 1 /* amount */
            iadd
            istore 3 /* size */
         4: .line 186
            iload 3 /* size */
            ifge 7
         5: .line 217
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
         6: .line 187
            iconst_0
            ireturn
         7: .line 188
      StackMap locals: java.util.List int
      StackMap stack:
            aload 0 /* this */
            iload 3 /* size */
            putfield jdk.incubator.http.WindowController.connectionWindowSize:I
         8: .line 189
            getstatic jdk.incubator.http.WindowController.DEBUG_LOGGER:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "Connection window size is now %d"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 3 /* size */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
         9: .line 194
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.pending:Ljava/util/Map;
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
        10: .line 193
            astore 4 /* iter */
        start local 4 // java.util.Iterator iter
        11: .line 196
            goto 26
        12: .line 197
      StackMap locals: java.util.Iterator
      StackMap stack:
            aload 4 /* iter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 5 /* item */
        start local 5 // java.util.Map$Entry item
        13: .line 198
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.streams:Ljava/util/Map;
            aload 5 /* item */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Integer
            astore 6 /* streamSize */
        start local 6 // java.lang.Integer streamSize
        14: .line 199
            aload 6 /* streamSize */
            ifnonnull 17
        15: .line 200
            aload 4 /* iter */
            invokeinterface java.util.Iterator.remove:()V
        16: .line 201
            goto 26
        17: .line 202
      StackMap locals: java.util.Map$Entry java.lang.Integer
      StackMap stack:
            aload 5 /* item */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 7 /* e */
        start local 7 // java.util.Map$Entry e
        18: .line 203
            aload 7 /* e */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            istore 8 /* requestedAmount */
        start local 8 // int requestedAmount
        19: .line 206
            iconst_1
            istore 9 /* minAmount */
        start local 9 // int minAmount
        20: .line 207
            iload 3 /* size */
            iload 9 /* minAmount */
            if_icmplt 26
            aload 6 /* streamSize */
            invokevirtual java.lang.Integer.intValue:()I
            iload 9 /* minAmount */
            if_icmplt 26
        21: .line 208
            iload 3 /* size */
            aload 6 /* streamSize */
            invokevirtual java.lang.Integer.intValue:()I
            iload 8 /* requestedAmount */
            invokestatic java.lang.Math.min:(II)I
            isub
            istore 3 /* size */
        22: .line 209
            aload 4 /* iter */
            invokeinterface java.util.Iterator.remove:()V
        23: .line 210
            aload 2 /* candidates */
            ifnonnull 25
        24: .line 211
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 2 /* candidates */
        25: .line 212
      StackMap locals: java.util.Map$Entry int int
      StackMap stack:
            aload 2 /* candidates */
            aload 7 /* e */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast jdk.incubator.http.Stream
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 9 // int minAmount
        end local 8 // int requestedAmount
        end local 7 // java.util.Map$Entry e
        end local 6 // java.lang.Integer streamSize
        end local 5 // java.util.Map$Entry item
        26: .line 196
      StackMap locals: jdk.incubator.http.WindowController int java.util.List int java.util.Iterator
      StackMap stack:
            aload 4 /* iter */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifeq 31
            iload 3 /* size */
            ifgt 12
        end local 4 // java.util.Iterator iter
        end local 3 // int size
        27: .line 216
            goto 31
      StackMap locals: jdk.incubator.http.WindowController int java.util.List
      StackMap stack: java.lang.Throwable
        28: astore 10
        29: .line 217
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        30: .line 218
            aload 10
            athrow
        31: .line 217
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        32: .line 219
            aload 2 /* candidates */
            ifnull 34
        33: .line 220
            aload 2 /* candidates */
            invokedynamic accept()Ljava/util/function/Consumer;
              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;)V
                  jdk/incubator/http/Stream.signalWindowUpdate()V (5)
                  (Ljdk/incubator/http/Stream;)V
            invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
        34: .line 222
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 2 // java.util.List candidates
        end local 1 // int amount
        end local 0 // jdk.incubator.http.WindowController this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   35     0             this  Ljdk/incubator/http/WindowController;
            0   35     1           amount  I
            1   35     2       candidates  Ljava/util/List<Ljdk/incubator/http/Stream<*>;>;
            3   27     3             size  I
           11   27     4             iter  Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/lang/Integer;Ljava/util/Map$Entry<Ljdk/incubator/http/Stream<*>;Ljava/lang/Integer;>;>;>;
           13   26     5             item  Ljava/util/Map$Entry<Ljava/lang/Integer;Ljava/util/Map$Entry<Ljdk/incubator/http/Stream<*>;Ljava/lang/Integer;>;>;
           14   26     6       streamSize  Ljava/lang/Integer;
           18   26     7                e  Ljava/util/Map$Entry<Ljdk/incubator/http/Stream<*>;Ljava/lang/Integer;>;
           19   26     8  requestedAmount  I
           20   26     9        minAmount  I
      Exception table:
        from    to  target  type
           2     5      28  any
           7    28      28  any
    MethodParameters:
        Name  Flags
      amount  

  boolean increaseStreamWindow(int, int);
    descriptor: (II)Z
    flags: (0x0000) 
    Code:
      stack=7, locals=8, args_size=3
        start local 0 // jdk.incubator.http.WindowController this
        start local 1 // int amount
        start local 2 // int streamid
         0: .line 236
            aconst_null
            astore 3 /* s */
        start local 3 // jdk.incubator.http.Stream s
         1: .line 237
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         2: .line 239
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.streams:Ljava/util/Map;
            iload 2 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Integer
            astore 4 /* size */
        start local 4 // java.lang.Integer size
         3: .line 240
            aload 4 /* size */
            ifnonnull 5
         4: .line 241
            new java.lang.InternalError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Expected entry for streamid: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 2 /* streamid */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 242
      StackMap locals: jdk.incubator.http.Stream java.lang.Integer
      StackMap stack:
            aload 4 /* size */
            invokevirtual java.lang.Integer.intValue:()I
            iload 1 /* amount */
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            astore 4 /* size */
         6: .line 243
            aload 4 /* size */
            invokevirtual java.lang.Integer.intValue:()I
            ifge 9
         7: .line 261
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
         8: .line 244
            iconst_0
            ireturn
         9: .line 245
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.streams:Ljava/util/Map;
            iload 2 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 4 /* size */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        10: .line 246
            getstatic jdk.incubator.http.WindowController.DEBUG_LOGGER:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
        11: .line 247
            ldc "Stream %s window size is now %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iload 2 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 4 /* size */
            aastore
        12: .line 246
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
        13: .line 249
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.pending:Ljava/util/Map;
            iload 2 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 5 /* p */
        start local 5 // java.util.Map$Entry p
        14: .line 250
            aload 5 /* p */
            ifnull 24
        15: .line 251
            iconst_1
            istore 6 /* minAmount */
        start local 6 // int minAmount
        16: .line 254
            aload 4 /* size */
            invokevirtual java.lang.Integer.intValue:()I
            iload 6 /* minAmount */
            if_icmplt 24
        17: .line 255
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.connectionWindowSize:I
            iload 6 /* minAmount */
            if_icmplt 24
        18: .line 256
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.pending:Ljava/util/Map;
            iload 2 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
        19: .line 257
            aload 5 /* p */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast jdk.incubator.http.Stream
            astore 3 /* s */
        end local 6 // int minAmount
        end local 5 // java.util.Map$Entry p
        end local 4 // java.lang.Integer size
        20: .line 260
            goto 24
      StackMap locals: jdk.incubator.http.WindowController int int jdk.incubator.http.Stream
      StackMap stack: java.lang.Throwable
        21: astore 7
        22: .line 261
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        23: .line 262
            aload 7
            athrow
        24: .line 261
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        25: .line 264
            aload 3 /* s */
            ifnull 27
        26: .line 265
            aload 3 /* s */
            invokevirtual jdk.incubator.http.Stream.signalWindowUpdate:()V
        27: .line 267
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 3 // jdk.incubator.http.Stream s
        end local 2 // int streamid
        end local 1 // int amount
        end local 0 // jdk.incubator.http.WindowController this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   28     0       this  Ljdk/incubator/http/WindowController;
            0   28     1     amount  I
            0   28     2   streamid  I
            1   28     3          s  Ljdk/incubator/http/Stream<*>;
            3   20     4       size  Ljava/lang/Integer;
           14   20     5          p  Ljava/util/Map$Entry<Ljdk/incubator/http/Stream<*>;Ljava/lang/Integer;>;
           16   20     6  minAmount  I
      Exception table:
        from    to  target  type
           2     7      21  any
           9    21      21  any
    MethodParameters:
          Name  Flags
      amount    
      streamid  

  void adjustActiveStreams(int);
    descriptor: (I)V
    flags: (0x0000) 
    Code:
      stack=7, locals=7, args_size=2
        start local 0 // jdk.incubator.http.WindowController this
        start local 1 // int adjustAmount
         0: .line 276
            getstatic jdk.incubator.http.WindowController.$assertionsDisabled:Z
            ifne 1
            iload 1 /* adjustAmount */
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 278
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         2: .line 280
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.streams:Ljava/util/Map;
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3
            goto 12
      StackMap locals: jdk.incubator.http.WindowController int top java.util.Iterator
      StackMap stack:
         3: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 2 /* entry */
        start local 2 // java.util.Map$Entry entry
         4: .line 281
            aload 2 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            istore 4 /* streamid */
        start local 4 // int streamid
         5: .line 284
            iload 4 /* streamid */
            ifeq 12
            iload 4 /* streamid */
            iconst_2
            irem
            ifeq 12
         6: .line 285
            aload 2 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.lang.Integer
            astore 5 /* size */
        start local 5 // java.lang.Integer size
         7: .line 286
            aload 5 /* size */
            invokevirtual java.lang.Integer.intValue:()I
            iload 1 /* adjustAmount */
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            astore 5 /* size */
         8: .line 287
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.streams:Ljava/util/Map;
            iload 4 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 5 /* size */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         9: .line 288
            getstatic jdk.incubator.http.WindowController.DEBUG_LOGGER:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
        10: .line 289
            ldc "Stream %s window size is now %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iload 4 /* streamid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 5 /* size */
            aastore
        11: .line 288
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
        end local 5 // java.lang.Integer size
        end local 4 // int streamid
        end local 2 // java.util.Map$Entry entry
        12: .line 280
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
        13: .line 292
            goto 17
      StackMap locals: jdk.incubator.http.WindowController int
      StackMap stack: java.lang.Throwable
        14: astore 6
        15: .line 293
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        16: .line 294
            aload 6
            athrow
        17: .line 293
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        18: .line 295
            return
        end local 1 // int adjustAmount
        end local 0 // jdk.incubator.http.WindowController this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   19     0          this  Ljdk/incubator/http/WindowController;
            0   19     1  adjustAmount  I
            4   12     2         entry  Ljava/util/Map$Entry<Ljava/lang/Integer;Ljava/lang/Integer;>;
            5   12     4      streamid  I
            7   12     5          size  Ljava/lang/Integer;
      Exception table:
        from    to  target  type
           2    14      14  any
    MethodParameters:
              Name  Flags
      adjustAmount  

  int connectionWindowSize();
    descriptor: ()I
    flags: (0x0000) 
    Code:
      stack=1, locals=3, args_size=1
        start local 0 // jdk.incubator.http.WindowController this
         0: .line 299
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         1: .line 301
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.connectionWindowSize:I
            istore 2
         2: .line 303
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
         3: .line 301
            iload 2
            ireturn
         4: .line 302
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 1
         5: .line 303
            aload 0 /* this */
            getfield jdk.incubator.http.WindowController.controllerLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
         6: .line 304
            aload 1
            athrow
        end local 0 // jdk.incubator.http.WindowController this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/incubator/http/WindowController;
      Exception table:
        from    to  target  type
           1     2       4  any
}
SourceFile: "WindowController.java"
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
  public abstract Entry = java.util.Map$Entry of java.util.Map