public class io.netty.channel.AdaptiveRecvByteBufAllocator extends io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.channel.AdaptiveRecvByteBufAllocator
super_class: io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator
{
static final int DEFAULT_MINIMUM;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 64
static final int DEFAULT_INITIAL;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1024
static final int DEFAULT_MAXIMUM;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 65536
private static final int INDEX_INCREMENT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int INDEX_DECREMENT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int[] SIZE_TABLE;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final io.netty.channel.AdaptiveRecvByteBufAllocator DEFAULT;
descriptor: Lio/netty/channel/AdaptiveRecvByteBufAllocator;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
private final int minIndex;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int maxIndex;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int initial;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0
start local 0 1: bipush 16
istore 1
start local 1 2: goto 5
3: StackMap locals: java.util.List int
StackMap stack:
aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: iinc 1 16
StackMap locals:
StackMap stack:
5: iload 1
sipush 512
if_icmplt 3
end local 1 6: sipush 512
istore 1
start local 1 7: goto 10
8: StackMap locals:
StackMap stack:
aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: iload 1
iconst_1
ishl
istore 1
StackMap locals:
StackMap stack:
10: iload 1
ifgt 8
end local 1 11: aload 0
invokeinterface java.util.List.size:()I
newarray 10
putstatic io.netty.channel.AdaptiveRecvByteBufAllocator.SIZE_TABLE:[I
12: iconst_0
istore 1
start local 1 13: goto 16
14: StackMap locals:
StackMap stack:
getstatic io.netty.channel.AdaptiveRecvByteBufAllocator.SIZE_TABLE:[I
iload 1
aload 0
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iastore
15: iinc 1 1
StackMap locals:
StackMap stack:
16: iload 1
getstatic io.netty.channel.AdaptiveRecvByteBufAllocator.SIZE_TABLE:[I
arraylength
if_icmplt 14
end local 1 end local 0 17: new io.netty.channel.AdaptiveRecvByteBufAllocator
dup
invokespecial io.netty.channel.AdaptiveRecvByteBufAllocator.<init>:()V
putstatic io.netty.channel.AdaptiveRecvByteBufAllocator.DEFAULT:Lio/netty/channel/AdaptiveRecvByteBufAllocator;
return
LocalVariableTable:
Start End Slot Name Signature
1 17 0 sizeTable Ljava/util/List<Ljava/lang/Integer;>;
2 6 1 i I
7 11 1 i I
13 17 1 i I
private static int getSizeTableIndex(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: getstatic io.netty.channel.AdaptiveRecvByteBufAllocator.SIZE_TABLE:[I
arraylength
iconst_1
isub
istore 2
start local 2 2: StackMap locals: int int
StackMap stack:
iload 2
iload 1
if_icmpge 4
3: iload 1
ireturn
4: StackMap locals:
StackMap stack:
iload 2
iload 1
if_icmpne 6
5: iload 2
ireturn
6: StackMap locals:
StackMap stack:
iload 1
iload 2
iadd
iconst_1
iushr
istore 3
start local 3 7: getstatic io.netty.channel.AdaptiveRecvByteBufAllocator.SIZE_TABLE:[I
iload 3
iaload
istore 4
start local 4 8: getstatic io.netty.channel.AdaptiveRecvByteBufAllocator.SIZE_TABLE:[I
iload 3
iconst_1
iadd
iaload
istore 5
start local 5 9: iload 0
iload 5
if_icmple 12
10: iload 3
iconst_1
iadd
istore 1
11: goto 2
StackMap locals: int int int
StackMap stack:
12: iload 0
iload 4
if_icmpge 15
13: iload 3
iconst_1
isub
istore 2
14: goto 2
StackMap locals:
StackMap stack:
15: iload 0
iload 4
if_icmpne 17
16: iload 3
ireturn
17: StackMap locals:
StackMap stack:
iload 3
iconst_1
iadd
ireturn
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 18 0 size I
1 18 1 low I
2 18 2 high I
7 18 3 mid I
8 18 4 a I
9 18 5 b I
MethodParameters:
Name Flags
size final
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
bipush 64
sipush 1024
ldc 65536
invokespecial io.netty.channel.AdaptiveRecvByteBufAllocator.<init>:(III)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/AdaptiveRecvByteBufAllocator;
public void <init>(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.<init>:()V
1: iload 1
ifgt 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "minimum: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.channel.AdaptiveRecvByteBufAllocator int int int
StackMap stack:
iload 2
iload 1
if_icmpge 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "initial: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpge 7
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "maximum: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
iload 1
invokestatic io.netty.channel.AdaptiveRecvByteBufAllocator.getSizeTableIndex:(I)I
istore 4
start local 4 8: getstatic io.netty.channel.AdaptiveRecvByteBufAllocator.SIZE_TABLE:[I
iload 4
iaload
iload 1
if_icmpge 11
9: aload 0
iload 4
iconst_1
iadd
putfield io.netty.channel.AdaptiveRecvByteBufAllocator.minIndex:I
10: goto 12
11: StackMap locals: int
StackMap stack:
aload 0
iload 4
putfield io.netty.channel.AdaptiveRecvByteBufAllocator.minIndex:I
12: StackMap locals:
StackMap stack:
iload 3
invokestatic io.netty.channel.AdaptiveRecvByteBufAllocator.getSizeTableIndex:(I)I
istore 5
start local 5 13: getstatic io.netty.channel.AdaptiveRecvByteBufAllocator.SIZE_TABLE:[I
iload 5
iaload
iload 3
if_icmple 16
14: aload 0
iload 5
iconst_1
isub
putfield io.netty.channel.AdaptiveRecvByteBufAllocator.maxIndex:I
15: goto 17
16: StackMap locals: int
StackMap stack:
aload 0
iload 5
putfield io.netty.channel.AdaptiveRecvByteBufAllocator.maxIndex:I
17: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield io.netty.channel.AdaptiveRecvByteBufAllocator.initial:I
18: 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 19 0 this Lio/netty/channel/AdaptiveRecvByteBufAllocator;
0 19 1 minimum I
0 19 2 initial I
0 19 3 maximum I
8 19 4 minIndex I
13 19 5 maxIndex I
MethodParameters:
Name Flags
minimum
initial
maximum
public io.netty.channel.RecvByteBufAllocator$Handle newHandle();
descriptor: ()Lio/netty/channel/RecvByteBufAllocator$Handle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new io.netty.channel.AdaptiveRecvByteBufAllocator$HandleImpl
dup
aload 0
aload 0
getfield io.netty.channel.AdaptiveRecvByteBufAllocator.minIndex:I
aload 0
getfield io.netty.channel.AdaptiveRecvByteBufAllocator.maxIndex:I
aload 0
getfield io.netty.channel.AdaptiveRecvByteBufAllocator.initial:I
invokespecial io.netty.channel.AdaptiveRecvByteBufAllocator$HandleImpl.<init>:(Lio/netty/channel/AdaptiveRecvByteBufAllocator;III)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/AdaptiveRecvByteBufAllocator;
public io.netty.channel.AdaptiveRecvByteBufAllocator respectMaybeMoreData(boolean);
descriptor: (Z)Lio/netty/channel/AdaptiveRecvByteBufAllocator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.respectMaybeMoreData:(Z)Lio/netty/channel/DefaultMaxMessagesRecvByteBufAllocator;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/AdaptiveRecvByteBufAllocator;
0 2 1 respectMaybeMoreData Z
MethodParameters:
Name Flags
respectMaybeMoreData
public io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator respectMaybeMoreData(boolean);
descriptor: (Z)Lio/netty/channel/DefaultMaxMessagesRecvByteBufAllocator;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual io.netty.channel.AdaptiveRecvByteBufAllocator.respectMaybeMoreData:(Z)Lio/netty/channel/AdaptiveRecvByteBufAllocator;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AdaptiveRecvByteBufAllocator.java"
NestMembers:
io.netty.channel.AdaptiveRecvByteBufAllocator$HandleImpl
InnerClasses:
private final HandleImpl = io.netty.channel.AdaptiveRecvByteBufAllocator$HandleImpl of io.netty.channel.AdaptiveRecvByteBufAllocator
public abstract Handle = io.netty.channel.RecvByteBufAllocator$Handle of io.netty.channel.RecvByteBufAllocator