abstract class jdk.internal.net.http.WindowUpdateSender
  minor version: 0
  major version: 59
  flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
  this_class: jdk.internal.net.http.WindowUpdateSender
  super_class: java.lang.Object
{
  final jdk.internal.net.http.common.Logger debug;
    descriptor: Ljdk/internal/net/http/common/Logger;
    flags: (0x0010) ACC_FINAL

  final int limit;
    descriptor: I
    flags: (0x0010) ACC_FINAL

  final jdk.internal.net.http.Http2Connection connection;
    descriptor: Ljdk/internal/net/http/Http2Connection;
    flags: (0x0010) ACC_FINAL

  final java.util.concurrent.atomic.AtomicInteger received;
    descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
    flags: (0x0010) ACC_FINAL

  volatile java.lang.String dbgString;
    descriptor: Ljava/lang/String;
    flags: (0x0040) ACC_VOLATILE

  void <init>(jdk.internal.net.http.Http2Connection);
    descriptor: (Ljdk/internal/net/http/Http2Connection;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.WindowUpdateSender this
        start local 1 // jdk.internal.net.http.Http2Connection connection
         0: .line 45
            aload 0 /* this */
            aload 1 /* connection */
            aload 1 /* connection */
            getfield jdk.internal.net.http.Http2Connection.clientSettings:Ljdk/internal/net/http/frame/SettingsFrame;
            iconst_4
            invokevirtual jdk.internal.net.http.frame.SettingsFrame.getParameter:(I)I
            invokespecial jdk.internal.net.http.WindowUpdateSender.<init>:(Ljdk/internal/net/http/Http2Connection;I)V
         1: .line 46
            return
        end local 1 // jdk.internal.net.http.Http2Connection connection
        end local 0 // jdk.internal.net.http.WindowUpdateSender this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    2     0        this  Ljdk/internal/net/http/WindowUpdateSender;
            0    2     1  connection  Ljdk/internal/net/http/Http2Connection;
    MethodParameters:
            Name  Flags
      connection  

  void <init>(jdk.internal.net.http.Http2Connection, int);
    descriptor: (Ljdk/internal/net/http/Http2Connection;I)V
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // jdk.internal.net.http.WindowUpdateSender this
        start local 1 // jdk.internal.net.http.Http2Connection connection
        start local 2 // int initWindowSize
         0: .line 49
            aload 0 /* this */
            aload 1 /* connection */
            aload 1 /* connection */
            invokevirtual jdk.internal.net.http.Http2Connection.getMaxReceiveFrameSize:()I
            iload 2 /* initWindowSize */
            invokespecial jdk.internal.net.http.WindowUpdateSender.<init>:(Ljdk/internal/net/http/Http2Connection;II)V
         1: .line 50
            return
        end local 2 // int initWindowSize
        end local 1 // jdk.internal.net.http.Http2Connection connection
        end local 0 // jdk.internal.net.http.WindowUpdateSender this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    2     0            this  Ljdk/internal/net/http/WindowUpdateSender;
            0    2     1      connection  Ljdk/internal/net/http/Http2Connection;
            0    2     2  initWindowSize  I
    MethodParameters:
                Name  Flags
      connection      
      initWindowSize  

  void <init>(jdk.internal.net.http.Http2Connection, int, int);
    descriptor: (Ljdk/internal/net/http/Http2Connection;II)V
    flags: (0x0000) 
    Code:
      stack=6, locals=6, args_size=4
        start local 0 // jdk.internal.net.http.WindowUpdateSender this
        start local 1 // jdk.internal.net.http.Http2Connection connection
        start local 2 // int maxFrameSize
        start local 3 // int initWindowSize
         0: .line 52
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 37
            aload 0 /* this */
         2: .line 38
            aload 0 /* this */
            invokedynamic get(Ljdk/internal/net/http/WindowUpdateSender;)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;
                  jdk/internal/net/http/WindowUpdateSender.dbgString()Ljava/lang/String; (5)
                  ()Ljava/lang/String;
            getstatic jdk.internal.net.http.common.Utils.DEBUG:Z
            invokestatic jdk.internal.net.http.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljdk/internal/net/http/common/Logger;
            putfield jdk.internal.net.http.WindowUpdateSender.debug:Ljdk/internal/net/http/common/Logger;
         3: .line 42
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicInteger
            dup
            iconst_0
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
            putfield jdk.internal.net.http.WindowUpdateSender.received:Ljava/util/concurrent/atomic/AtomicInteger;
         4: .line 53
            aload 0 /* this */
            aload 1 /* connection */
            putfield jdk.internal.net.http.WindowUpdateSender.connection:Ljdk/internal/net/http/Http2Connection;
         5: .line 54
            iconst_0
            iload 3 /* initWindowSize */
            iload 2 /* maxFrameSize */
            isub
            invokestatic java.lang.Math.max:(II)I
            istore 4 /* v0 */
        start local 4 // int v0
         6: .line 55
            iload 3 /* initWindowSize */
            iload 2 /* maxFrameSize */
            iconst_1
            isub
            iadd
            iload 2 /* maxFrameSize */
            idiv
            istore 5 /* v1 */
        start local 5 // int v1
         7: .line 56
            iload 5 /* v1 */
            iload 2 /* maxFrameSize */
            imul
            iconst_2
            idiv
            istore 5 /* v1 */
         8: .line 61
            aload 0 /* this */
            iload 4 /* v0 */
            iload 5 /* v1 */
            invokestatic java.lang.Math.min:(II)I
            putfield jdk.internal.net.http.WindowUpdateSender.limit:I
         9: .line 62
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 13
        10: .line 63
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.debug:Ljdk/internal/net/http/common/Logger;
            ldc "maxFrameSize=%d, initWindowSize=%d, limit=%d"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
        11: .line 64
            iload 2 /* maxFrameSize */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iload 3 /* initWindowSize */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.limit:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        12: .line 63
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        13: .line 65
      StackMap locals: jdk.internal.net.http.WindowUpdateSender jdk.internal.net.http.Http2Connection int int int int
      StackMap stack:
            return
        end local 5 // int v1
        end local 4 // int v0
        end local 3 // int initWindowSize
        end local 2 // int maxFrameSize
        end local 1 // jdk.internal.net.http.Http2Connection connection
        end local 0 // jdk.internal.net.http.WindowUpdateSender this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   14     0            this  Ljdk/internal/net/http/WindowUpdateSender;
            0   14     1      connection  Ljdk/internal/net/http/Http2Connection;
            0   14     2    maxFrameSize  I
            0   14     3  initWindowSize  I
            6   14     4              v0  I
            7   14     5              v1  I
    MethodParameters:
                Name  Flags
      connection      
      maxFrameSize    
      initWindowSize  

  abstract int getStreamId();
    descriptor: ()I
    flags: (0x0400) ACC_ABSTRACT

  void update(int);
    descriptor: (I)V
    flags: (0x0000) 
    Code:
      stack=6, locals=5, args_size=2
        start local 0 // jdk.internal.net.http.WindowUpdateSender this
        start local 1 // int delta
         0: .line 70
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.received:Ljava/util/concurrent/atomic/AtomicInteger;
            iload 1 /* delta */
            invokevirtual java.util.concurrent.atomic.AtomicInteger.addAndGet:(I)I
            istore 2 /* rcv */
        start local 2 // int rcv
         1: .line 71
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 2
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.debug:Ljdk/internal/net/http/common/Logger;
            ldc "update: %d, received: %d, limit: %d"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            iload 1 /* delta */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iload 2 /* rcv */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.limit:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         2: .line 72
      StackMap locals: int
      StackMap stack:
            iload 2 /* rcv */
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.limit:I
            if_icmple 12
         3: .line 73
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         4: .line 74
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.received:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            istore 4 /* tosend */
        start local 4 // int tosend
         5: .line 75
            iload 4 /* tosend */
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.limit:I
            if_icmple 8
         6: .line 76
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.received:Ljava/util/concurrent/atomic/AtomicInteger;
            iload 4 /* tosend */
            ineg
            invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndAdd:(I)I
            pop
         7: .line 77
            aload 0 /* this */
            iload 4 /* tosend */
            invokevirtual jdk.internal.net.http.WindowUpdateSender.sendWindowUpdate:(I)V
        end local 4 // int tosend
         8: .line 73
      StackMap locals: jdk.internal.net.http.WindowUpdateSender
      StackMap stack:
            aload 3
            monitorexit
         9: goto 12
      StackMap locals:
      StackMap stack: java.lang.Throwable
        10: aload 3
            monitorexit
        11: athrow
        12: .line 81
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int rcv
        end local 1 // int delta
        end local 0 // jdk.internal.net.http.WindowUpdateSender this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   13     0    this  Ljdk/internal/net/http/WindowUpdateSender;
            0   13     1   delta  I
            1   13     2     rcv  I
            5    8     4  tosend  I
      Exception table:
        from    to  target  type
           4     9      10  any
          10    11      10  any
    MethodParameters:
       Name  Flags
      delta  

  void sendWindowUpdate(int);
    descriptor: (I)V
    flags: (0x0000) 
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.WindowUpdateSender this
        start local 1 // int delta
         0: .line 84
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 1
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.debug:Ljdk/internal/net/http/common/Logger;
            ldc "sending window update: %d"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 1 /* delta */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         1: .line 85
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.connection:Ljdk/internal/net/http/Http2Connection;
            new jdk.internal.net.http.frame.WindowUpdateFrame
            dup
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.WindowUpdateSender.getStreamId:()I
            iload 1 /* delta */
            invokespecial jdk.internal.net.http.frame.WindowUpdateFrame.<init>:(II)V
            invokevirtual jdk.internal.net.http.Http2Connection.sendUnorderedFrame:(Ljdk/internal/net/http/frame/Http2Frame;)V
         2: .line 86
            return
        end local 1 // int delta
        end local 0 // jdk.internal.net.http.WindowUpdateSender this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Ljdk/internal/net/http/WindowUpdateSender;
            0    3     1  delta  I
    MethodParameters:
       Name  Flags
      delta  

  java.lang.String dbgString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // jdk.internal.net.http.WindowUpdateSender this
         0: .line 90
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.dbgString:Ljava/lang/String;
            astore 1 /* dbg */
        start local 1 // java.lang.String dbg
         1: .line 91
            aload 1 /* dbg */
            ifnull 2
            aload 1 /* dbg */
            areturn
         2: .line 92
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.connection:Ljdk/internal/net/http/Http2Connection;
            getfield jdk.internal.net.http.Http2Connection.connection:Ljdk/internal/net/http/HttpConnection;
            invokevirtual jdk.internal.net.http.HttpConnection.getConnectionFlow:()Ljdk/internal/net/http/common/FlowTube;
            astore 2 /* tube */
        start local 2 // jdk.internal.net.http.common.FlowTube tube
         3: .line 93
            aload 2 /* tube */
            ifnonnull 5
         4: .line 94
            new java.lang.StringBuilder
            dup
            ldc "WindowUpdateSender(stream: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.WindowUpdateSender.getStreamId:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
         5: .line 96
      StackMap locals: jdk.internal.net.http.common.FlowTube
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.WindowUpdateSender.getStreamId:()I
            istore 3 /* streamId */
        start local 3 // int streamId
         6: .line 97
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            getfield jdk.internal.net.http.WindowUpdateSender.connection:Ljdk/internal/net/http/Http2Connection;
            invokevirtual jdk.internal.net.http.Http2Connection.dbgString:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ":WindowUpdateSender(stream: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 3 /* streamId */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 1 /* dbg */
         7: .line 98
            iload 3 /* streamId */
            ifne 8
            aload 1 /* dbg */
            goto 9
      StackMap locals: int
      StackMap stack:
         8: aload 0 /* this */
            aload 1 /* dbg */
            dup_x1
            putfield jdk.internal.net.http.WindowUpdateSender.dbgString:Ljava/lang/String;
      StackMap locals:
      StackMap stack: java.lang.String
         9: areturn
        end local 3 // int streamId
        end local 2 // jdk.internal.net.http.common.FlowTube tube
        end local 1 // java.lang.String dbg
        end local 0 // jdk.internal.net.http.WindowUpdateSender this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Ljdk/internal/net/http/WindowUpdateSender;
            1   10     1       dbg  Ljava/lang/String;
            3   10     2      tube  Ljdk/internal/net/http/common/FlowTube;
            6   10     3  streamId  I
}
SourceFile: "WindowUpdateSender.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles