abstract class jdk.incubator.http.WindowUpdateSender
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: jdk.incubator.http.WindowUpdateSender
super_class: java.lang.Object
{
static final boolean DEBUG;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
final java.lang.System$Logger debug;
descriptor: Ljava/lang/System$Logger;
flags: (0x0010) ACC_FINAL
final int limit;
descriptor: I
flags: (0x0010) ACC_FINAL
final jdk.incubator.http.Http2Connection connection;
descriptor: Ljdk/incubator/http/Http2Connection;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicInteger received;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0010) ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.incubator.http.internal.common.Utils.DEBUG:Z
putstatic jdk.incubator.http.WindowUpdateSender.DEBUG:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.incubator.http.Http2Connection);
descriptor: (Ljdk/incubator/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.incubator.http.Http2Connection.clientSettings:Ljdk/incubator/http/internal/frame/SettingsFrame;
iconst_4
invokevirtual jdk.incubator.http.internal.frame.SettingsFrame.getParameter:(I)I
invokespecial jdk.incubator.http.WindowUpdateSender.<init>:(Ljdk/incubator/http/Http2Connection;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/WindowUpdateSender;
0 2 1 connection Ljdk/incubator/http/Http2Connection;
MethodParameters:
Name Flags
connection
void <init>(jdk.incubator.http.Http2Connection, int);
descriptor: (Ljdk/incubator/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.incubator.http.Http2Connection.getMaxReceiveFrameSize:()I
iload 2
invokespecial jdk.incubator.http.WindowUpdateSender.<init>:(Ljdk/incubator/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/incubator/http/WindowUpdateSender;
0 2 1 connection Ljdk/incubator/http/Http2Connection;
0 2 2 initWindowSize I
MethodParameters:
Name Flags
connection
initWindowSize
void <init>(jdk.incubator.http.Http2Connection, int, int);
descriptor: (Ljdk/incubator/http/Http2Connection;II)V
flags: (0x0000)
Code:
stack=7, 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/incubator/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/incubator/http/WindowUpdateSender.dbgString()Ljava/lang/String; (5)
()Ljava/lang/String;
getstatic jdk.incubator.http.WindowUpdateSender.DEBUG:Z
invokestatic jdk.incubator.http.internal.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
putfield jdk.incubator.http.WindowUpdateSender.debug:Ljava/lang/System$Logger;
3: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield jdk.incubator.http.WindowUpdateSender.received:Ljava/util/concurrent/atomic/AtomicInteger;
4: aload 0
aload 1
putfield jdk.incubator.http.WindowUpdateSender.connection:Ljdk/incubator/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.incubator.http.WindowUpdateSender.limit:I
9: aload 0
getfield jdk.incubator.http.WindowUpdateSender.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "maxFrameSize=%d, initWindowSize=%d, limit=%d"
iconst_3
anewarray java.lang.Object
dup
iconst_0
10: 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.incubator.http.WindowUpdateSender.limit:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
11: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
12: 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 13 0 this Ljdk/incubator/http/WindowUpdateSender;
0 13 1 connection Ljdk/incubator/http/Http2Connection;
0 13 2 maxFrameSize I
0 13 3 initWindowSize I
6 13 4 v0 I
7 13 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=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.WindowUpdateSender.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "update: %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
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
1: aload 0
getfield jdk.incubator.http.WindowUpdateSender.received:Ljava/util/concurrent/atomic/AtomicInteger;
iload 1
invokevirtual java.util.concurrent.atomic.AtomicInteger.addAndGet:(I)I
aload 0
getfield jdk.incubator.http.WindowUpdateSender.limit:I
if_icmple 11
2: aload 0
dup
astore 2
monitorenter
3: aload 0
getfield jdk.incubator.http.WindowUpdateSender.received:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
istore 3
start local 3 4: iload 3
aload 0
getfield jdk.incubator.http.WindowUpdateSender.limit:I
if_icmple 7
5: aload 0
getfield jdk.incubator.http.WindowUpdateSender.received:Ljava/util/concurrent/atomic/AtomicInteger;
iload 3
ineg
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndAdd:(I)I
pop
6: aload 0
iload 3
invokevirtual jdk.incubator.http.WindowUpdateSender.sendWindowUpdate:(I)V
end local 3 7: StackMap locals: jdk.incubator.http.WindowUpdateSender
StackMap stack:
aload 2
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/incubator/http/WindowUpdateSender;
0 12 1 delta I
4 7 3 tosend I
Exception table:
from to target type
3 8 9 any
9 10 9 any
MethodParameters:
Name Flags
delta
void sendWindowUpdate(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.WindowUpdateSender.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
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 java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
getfield jdk.incubator.http.WindowUpdateSender.connection:Ljdk/incubator/http/Http2Connection;
new jdk.incubator.http.internal.frame.WindowUpdateFrame
dup
aload 0
invokevirtual jdk.incubator.http.WindowUpdateSender.getStreamId:()I
iload 1
invokespecial jdk.incubator.http.internal.frame.WindowUpdateFrame.<init>:(II)V
invokevirtual jdk.incubator.http.Http2Connection.sendUnorderedFrame:(Ljdk/incubator/http/internal/frame/Http2Frame;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/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=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "WindowUpdateSender(stream: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.incubator.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
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/WindowUpdateSender;
}
SourceFile: "WindowUpdateSender.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