classes.io.netty.buffer.PoolArena.class Maven / Gradle / Ivy
???? 2W
?r
st ?u ?v ?w ?x ?yz
r ?{ ?| ?} ?~ ? ?? ??
?? ??
?? ?? ??????
? ?? ?? ?? ?? ??? ??
??
!???
?? ???
&? &? &?
??
??
??
??
??
??
??
??
?? ?? &? &??
6r
&? &?
????
??
??
??
? ??
??
??
??
?
??
????
?? ??
??
??
??
?? ?? ?? ?? ??
?? ?? ?? ???
Vr ??
???
[r?
[?
[??
[?
Z?
??? ?? ?? ?? ?? ?? ??
??
??
??
??
?? ??
??
???
??
!r??
??
??
??
??
??
??
????? ?????? ??? ??
[???????
?
s ?
InnerClasses DirectArena HeapArena
SizeClass
HAS_UNSAFE Z numTinySubpagePools I
ConstantValue parent (Lio/netty/buffer/PooledByteBufAllocator; maxOrder pageSize
pageShifts chunkSize subpageOverflowMask numSmallSubpagePools tinySubpagePools [Lio/netty/buffer/PoolSubpage; Signature #[Lio/netty/buffer/PoolSubpage; smallSubpagePools q050 Lio/netty/buffer/PoolChunkList; $Lio/netty/buffer/PoolChunkList; q025 q000 qInit q075 q100 chunkListMetrics Ljava/util/List; 7Ljava/util/List; allocationsNormal J allocationsTiny $Lio/netty/util/internal/LongCounter; allocationsSmall allocationsHuge activeBytesHuge deallocationsTiny deallocationsSmall deallocationsNormal deallocationsHuge numThreadCaches +Ljava/util/concurrent/atomic/AtomicInteger; $assertionsDisabled /(Lio/netty/buffer/PooledByteBufAllocator;IIII)V Code LineNumberTable LocalVariableTable i this Lio/netty/buffer/PoolArena; metrics LocalVariableTypeTable Lio/netty/buffer/PoolArena;
StackMapTable newSubpagePoolHead (I)Lio/netty/buffer/PoolSubpage; head Lio/netty/buffer/PoolSubpage; "Lio/netty/buffer/PoolSubpage; %(I)Lio/netty/buffer/PoolSubpage; newSubpagePoolArray !(I)[Lio/netty/buffer/PoolSubpage; size &(I)[Lio/netty/buffer/PoolSubpage; isDirect ()Z allocate D(Lio/netty/buffer/PoolThreadCache;II)Lio/netty/buffer/PooledByteBuf; cache !Lio/netty/buffer/PoolThreadCache; reqCapacity maxCapacity buf Lio/netty/buffer/PooledByteBuf; $Lio/netty/buffer/PooledByteBuf; I(Lio/netty/buffer/PoolThreadCache;II)Lio/netty/buffer/PooledByteBuf; tinyIdx (I)I normCapacity smallIdx tableIdx
isTinyOrSmall (I)Z isTiny D(Lio/netty/buffer/PoolThreadCache;Lio/netty/buffer/PooledByteBuf;I)V table handle s tiny ?? I(Lio/netty/buffer/PoolThreadCache;Lio/netty/buffer/PooledByteBuf;I)V allocateNormal $(Lio/netty/buffer/PooledByteBuf;II)V c Lio/netty/buffer/PoolChunk; Lio/netty/buffer/PoolChunk; )(Lio/netty/buffer/PooledByteBuf;II)V allocateHuge #(Lio/netty/buffer/PooledByteBuf;I)V chunk ((Lio/netty/buffer/PooledByteBuf;I)V free A(Lio/netty/buffer/PoolChunk;JILio/netty/buffer/PoolThreadCache;)V sizeClass %Lio/netty/buffer/PoolArena$SizeClass;
F(Lio/netty/buffer/PoolChunk;JILio/netty/buffer/PoolThreadCache;)V ((I)Lio/netty/buffer/PoolArena$SizeClass; freeChunk D(Lio/netty/buffer/PoolChunk;JLio/netty/buffer/PoolArena$SizeClass;)V destroyChunk I(Lio/netty/buffer/PoolChunk;JLio/netty/buffer/PoolArena$SizeClass;)V findSubpagePoolHead elemSize normalizeCapacity normalizedCapacity
reallocate $(Lio/netty/buffer/PooledByteBuf;IZ)V newCapacity
freeOldMemory oldCapacity oldChunk oldHandle oldMemory Ljava/lang/Object; oldOffset oldMaxLength readerIndex writerIndex TT; )(Lio/netty/buffer/PooledByteBuf;IZ)V ()I numTinySubpages numSmallSubpages
numChunkLists tinySubpages ()Ljava/util/List; 7()Ljava/util/List;
smallSubpages
chunkLists 9()Ljava/util/List; subPageMetricList 0([Lio/netty/buffer/PoolSubpage;)Ljava/util/List; pages Lio/netty/buffer/PoolSubpage<*>; ![Lio/netty/buffer/PoolSubpage<*>; 5Ljava/util/List; X([Lio/netty/buffer/PoolSubpage<*>;)Ljava/util/List; numAllocations ()J allocsNormal numTinyAllocations numSmallAllocations numNormalAllocations numDeallocations deallocs numTinyDeallocations numSmallDeallocations numNormalDeallocations numHugeAllocations numHugeDeallocations numActiveAllocations val numActiveTinyAllocations numActiveSmallAllocations numActiveNormalAllocations numActiveHugeAllocations numActiveBytes m !Lio/netty/buffer/PoolChunkMetric; i$ Ljava/util/Iterator; newChunk !(IIII)Lio/netty/buffer/PoolChunk; &(IIII)Lio/netty/buffer/PoolChunk; newUnpooledChunk (I)Lio/netty/buffer/PoolChunk; #(I)Lio/netty/buffer/PoolChunk;
newByteBuf "(I)Lio/netty/buffer/PooledByteBuf; '(I)Lio/netty/buffer/PooledByteBuf;
memoryCopy *(Ljava/lang/Object;ILjava/lang/Object;II)V (TT;ITT;II)V (Lio/netty/buffer/PoolChunk;)V #(Lio/netty/buffer/PoolChunk;)V toString ()Ljava/lang/String; Ljava/lang/StringBuilder; appendPoolSubPages :(Ljava/lang/StringBuilder;[Lio/netty/buffer/PoolSubpage;)V subpages =(Ljava/lang/StringBuilder;[Lio/netty/buffer/PoolSubpage<*>;)V ()V ILjava/lang/Object;Lio/netty/buffer/PoolArenaMetric;
SourceFile PoolArena.java ?n ? ? ? ? ? ? ? ? ? ? )java/util/concurrent/atomic/AtomicInteger ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? io/netty/buffer/PoolChunkList ? ? ? ? ? ? ? ? ? ? ? ? ? java/util/ArrayList ? ? ? io/netty/buffer/PoolSubpage! ?" ?^_ ? ? ? ? ? ? ?#$ ? ?%$ ? ? ? ?&