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 start local 1 0: aload 0
aload 1
aload 1
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: return
end local 1 end local 0 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 start local 1 start local 2 0: aload 0
aload 1
aload 1
invokevirtual jdk.internal.net.http.Http2Connection.getMaxReceiveFrameSize:()I
iload 2
invokespecial jdk.internal.net.http.WindowUpdateSender.<init>:(Ljdk/internal/net/http/Http2Connection;II)V
1: return
end local 2 end local 1 end local 0 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 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: aload 0
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: aload 0
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: aload 0
aload 1
putfield jdk.internal.net.http.WindowUpdateSender.connection:Ljdk/internal/net/http/Http2Connection;
5: iconst_0
iload 3
iload 2
isub
invokestatic java.lang.Math.max:(II)I
istore 4
start local 4 6: iload 3
iload 2
iconst_1
isub
iadd
iload 2
idiv
istore 5
start local 5 7: iload 5
iload 2
imul
iconst_2
idiv
istore 5
8: aload 0
iload 4
iload 5
invokestatic java.lang.Math.min:(II)I
putfield jdk.internal.net.http.WindowUpdateSender.limit:I
9: aload 0
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: aload 0
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: iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield jdk.internal.net.http.WindowUpdateSender.limit:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
12: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
13: StackMap locals: jdk.internal.net.http.WindowUpdateSender jdk.internal.net.http.Http2Connection int int int int
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 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 start local 1 0: aload 0
getfield jdk.internal.net.http.WindowUpdateSender.received:Ljava/util/concurrent/atomic/AtomicInteger;
iload 1
invokevirtual java.util.concurrent.atomic.AtomicInteger.addAndGet:(I)I
istore 2
start local 2 1: aload 0
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
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
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
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: StackMap locals: int
StackMap stack:
iload 2
aload 0
getfield jdk.internal.net.http.WindowUpdateSender.limit:I
if_icmple 12
3: aload 0
dup
astore 3
monitorenter
4: aload 0
getfield jdk.internal.net.http.WindowUpdateSender.received:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
istore 4
start local 4 5: iload 4
aload 0
getfield jdk.internal.net.http.WindowUpdateSender.limit:I
if_icmple 8
6: aload 0
getfield jdk.internal.net.http.WindowUpdateSender.received:Ljava/util/concurrent/atomic/AtomicInteger;
iload 4
ineg
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndAdd:(I)I
pop
7: aload 0
iload 4
invokevirtual jdk.internal.net.http.WindowUpdateSender.sendWindowUpdate:(I)V
end local 4 8: 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: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 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 start local 1 0: aload 0
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
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
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: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.WindowUpdateSender.connection:Ljdk/internal/net/http/Http2Connection;
new jdk.internal.net.http.frame.WindowUpdateFrame
dup
aload 0
invokevirtual jdk.internal.net.http.WindowUpdateSender.getStreamId:()I
iload 1
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: return
end local 1 end local 0 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 0: aload 0
getfield jdk.internal.net.http.WindowUpdateSender.dbgString:Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
areturn
2: StackMap locals: java.lang.String
StackMap stack:
aload 0
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
start local 2 3: aload 2
ifnonnull 5
4: new java.lang.StringBuilder
dup
ldc "WindowUpdateSender(stream: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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: StackMap locals: jdk.internal.net.http.common.FlowTube
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.WindowUpdateSender.getStreamId:()I
istore 3
start local 3 6: new java.lang.StringBuilder
dup
aload 0
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
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
7: iload 3
ifne 8
aload 1
goto 9
StackMap locals: int
StackMap stack:
8: aload 0
aload 1
dup_x1
putfield jdk.internal.net.http.WindowUpdateSender.dbgString:Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
9: areturn
end local 3 end local 2 end local 1 end local 0 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