io.netty.buffer.PoolChunkList.class Maven / Gradle / Ivy
???? 2 ? io/netty/buffer/PoolChunkList MLjava/lang/Object;Lio/netty/buffer/PoolChunkListMetric; java/lang/Object #io/netty/buffer/PoolChunkListMetric PoolChunkList.java
EMPTY_METRICS Ljava/util/Iterator; 7Ljava/util/Iterator; arena Lio/netty/buffer/PoolArena; Lio/netty/buffer/PoolArena; nextList Lio/netty/buffer/PoolChunkList; $Lio/netty/buffer/PoolChunkList; minUsage I maxUsage maxCapacity head Lio/netty/buffer/PoolChunk; Lio/netty/buffer/PoolChunk; prevList $assertionsDisabled Z @(Lio/netty/buffer/PoolArena;Lio/netty/buffer/PoolChunkList;III)V ()V
! java/lang/AssertionError #
$ io/netty/buffer/PoolArena &
( * , . calculateMaxCapacity (II)I 0 1
2 4 this chunkSize minUsage0 (I)I 8 9
: d "(Lio/netty/buffer/PoolChunkList;)V ? allocate $(Lio/netty/buffer/PooledByteBuf;II)Z C io/netty/buffer/PoolChunk E (I)J A G
F H next J F K initBuf $(Lio/netty/buffer/PooledByteBuf;JI)V M N
F O usage ()I Q R
F S remove (Lio/netty/buffer/PoolChunk;)V U V
W add Y V
Z handle J cur buf $Lio/netty/buffer/PooledByteBuf; Lio/netty/buffer/PooledByteBuf; reqCapacity normCapacity free (Lio/netty/buffer/PoolChunk;J)Z (J)V d f
F g move0 (Lio/netty/buffer/PoolChunk;)Z i j
k chunk move add0 o V
p n j
r parent t F u prev w F x java/lang/Math z min | 1
{ } max 1
{ ? value iterator ()Ljava/util/Iterator;
? java/util/ArrayList ?
? java/util/List ? (Ljava/lang/Object;)Z Y ? ? ? ? ? ? ? java/lang/Throwable ? metrics 3Ljava/util/List; Ljava/util/List; toString ()Ljava/lang/String; java/lang/StringBuilder ?
? none ? append -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? !io/netty/util/internal/StringUtil ? NEWLINE Ljava/lang/String; ? ? ? ? -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ? ?
? ? Ljava/lang/StringBuilder; destroy (Lio/netty/buffer/PoolArena;)V destroyChunk ? V
' ? java/lang/Class ? desiredAssertionStatus ()Z ? ?
? ? java/util/Collections ? emptyList ()Ljava/util/List; ? ?
? ? Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable J(Lio/netty/buffer/PoolArena;Lio/netty/buffer/PoolChunkList;III)V '(Lio/netty/buffer/PoolChunkList;)V )(Lio/netty/buffer/PooledByteBuf;II)Z $(Lio/netty/buffer/PoolChunk;J)Z #(Lio/netty/buffer/PoolChunk;)Z #(Lio/netty/buffer/PoolChunk;)V 9()Ljava/util/Iterator; #(Lio/netty/buffer/PoolArena;)V
SourceFile 0
?
? ? ? ? ? ? 8*? ? "? ? ? $Y? %?*+? )*,? +*? -*? /*? 3? 5? ? > 8 6 8
8 8 8 8 7 ? 8 6 8 8 ? " + , - . " / ' 0 - 1 7 2 ? ? ' ? ?
0 1 ? e ? ;;d? ?? <?ei