All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.netty.buffer.PoolArena.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????2rio/netty/buffer/PoolArenaILjava/lang/Object;Lio/netty/buffer/PoolArenaMetric;java/lang/Objectio/netty/buffer/PoolArenaMetricPoolArena.javaio/netty/buffer/PoolArena$1	%io/netty/buffer/PoolArena$DirectArenaDirectArena#io/netty/buffer/PoolArena$HeapArena	HeapArena#io/netty/buffer/PoolArena$SizeClass	SizeClass
HAS_UNSAFEZnumTinySubpagePoolsI parent(Lio/netty/buffer/PooledByteBufAllocator;maxOrderpageSize
pageShifts	chunkSizesubpageOverflowMasknumSmallSubpagePoolsdirectMemoryCacheAlignmentdirectMemoryCacheAlignmentMasktinySubpagePools[Lio/netty/buffer/PoolSubpage;#[Lio/netty/buffer/PoolSubpage;smallSubpagePoolsq050Lio/netty/buffer/PoolChunkList;$Lio/netty/buffer/PoolChunkList;q025q000qInitq075q100chunkListMetricsLjava/util/List;7Ljava/util/List;allocationsNormalJallocationsTiny$Lio/netty/util/internal/LongCounter;allocationsSmallallocationsHugeactiveBytesHugedeallocationsTinydeallocationsSmalldeallocationsNormaldeallocationsHugenumThreadCaches+Ljava/util/concurrent/atomic/AtomicInteger;$assertionsDisabled0(Lio/netty/buffer/PooledByteBufAllocator;IIIII)V()V@B
C(io/netty/util/internal/PlatformDependentEnewLongCounter&()Lio/netty/util/internal/LongCounter;GH
FI45	K65	M75	O85	Q<5	S)java/util/concurrent/atomic/AtomicIntegerU
VC=>	X	Z	\	^	`	b!	d"	f	hnewSubpagePoolArray!(I)[Lio/netty/buffer/PoolSubpage;jk
l#$	n&io/netty/buffer/PooledByteBufAllocatorpnewSubpagePoolHead (I)Lio/netty/buffer/PoolSubpage;rs
t 	v&$	xio/netty/buffer/PoolChunkListz???@(Lio/netty/buffer/PoolArena;Lio/netty/buffer/PoolChunkList;III)V@}
{~.(	?-(	?'(	?*(	?+(	??,(	?prevList"(Lio/netty/buffer/PoolChunkList;)V??
{?java/util/ArrayList?(I)V@?
??java/util/List?add(Ljava/lang/Object;)Z????java/util/Collections?unmodifiableList"(Ljava/util/List;)Ljava/util/List;??
??/0	?ithis Lio/netty/buffer/PoolArena;Lio/netty/buffer/PoolArena;cacheAlignmentmetricsio/netty/buffer/PoolSubpage?
??prevLio/netty/buffer/PoolSubpage;??	??next??	??head"Lio/netty/buffer/PoolSubpage;sizeisDirect()ZallocateD(Lio/netty/buffer/PoolThreadCache;II)Lio/netty/buffer/PooledByteBuf;
newByteBuf"(I)Lio/netty/buffer/PooledByteBuf;??
?D(Lio/netty/buffer/PoolThreadCache;Lio/netty/buffer/PooledByteBuf;I)V??
?cache!Lio/netty/buffer/PoolThreadCache;reqCapacitymaxCapacitybuf$Lio/netty/buffer/PooledByteBuf;Lio/netty/buffer/PooledByteBuf;tinyIdx(I)InormCapacitysmallIdxtableIdx
isTinyOrSmall(I)ZisTinynormalizeCapacity??
???
???
?io/netty/buffer/PoolThreadCache?allocateTiny?(Lio/netty/buffer/PoolArena;Lio/netty/buffer/PooledByteBuf;II)Z??
????
?
allocateSmall??
????
?$?	?doNotDestroy?	??elemSize?	??java/lang/AssertionError?
?C()J??
??chunkLio/netty/buffer/PoolChunk;??	??io/netty/buffer/PoolChunk?initBufWithSubpage$(Lio/netty/buffer/PooledByteBuf;JI)V??
??incTinySmallAllocation(Z)V??
java/lang/ThrowableallocateNormal$(Lio/netty/buffer/PooledByteBuf;II)V
io/netty/buffer/PooledByteBuf?
?
23	allocateHuge#(Lio/netty/buffer/PooledByteBuf;I)V
tablehandlestiny$(Lio/netty/buffer/PooledByteBuf;II)Z?
{newChunk!(IIII)Lio/netty/buffer/PoolChunk;
(I)J?
?initBuf ?
?!(Lio/netty/buffer/PoolChunk;)V?#
{$c Lio/netty/buffer/PoolChunk;"io/netty/util/internal/LongCounter(	increment*B)+newUnpooledChunk(I)Lio/netty/buffer/PoolChunk;-.
/()I1
?2(J)V?4)5initUnpooled(Lio/netty/buffer/PoolChunk;I)V78
	9freeA(Lio/netty/buffer/PoolChunk;JILio/netty/buffer/PoolThreadCache;)Vunpooled=	?>destroyChunk@#
A	sizeClass((I)Lio/netty/buffer/PoolArena$SizeClass;CD
E`(Lio/netty/buffer/PoolArena;Lio/netty/buffer/PoolChunk;JILio/netty/buffer/PoolArena$SizeClass;)Z?G
?H	freeChunkD(Lio/netty/buffer/PoolChunk;JLio/netty/buffer/PoolArena$SizeClass;)VJK
L%Lio/netty/buffer/PoolArena$SizeClass;NormalON	PTinyRN	SSmallUN	V.$SwitchMap$io$netty$buffer$PoolArena$SizeClass[IXY	
Zordinal\1
];3	_:3	a93	cjava/lang/Errore
fC(	?h(Lio/netty/buffer/PoolChunk;J)Z;j
{kfindSubpagePoolHead"java/lang/IllegalArgumentExceptionnjava/lang/StringBuilderp
qC
capacity: sappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;uv
qw(I)Ljava/lang/StringBuilder;uy
qz (expected: 0+)|toString()Ljava/lang/String;~
q?(Ljava/lang/String;)V@?
o?
alignCapacity??
?normalizedCapacitydelta
reallocate$(Lio/netty/buffer/PooledByteBuf;IZ)V?1
	?
newCapacity: ?length?		?		?3		?memoryLjava/lang/Object;??		?offset?		?	maxLength?		?readerIndex?1
	?writerIndex?1
	?threadCache#()Lio/netty/buffer/PoolThreadCache;??
q?
memoryCopy*(Ljava/lang/Object;ILjava/lang/Object;II)V??
?setIndex(II)Lio/netty/buffer/ByteBuf;??
	???		?;<
?newCapacity
freeOldMemoryoldCapacityoldChunk	oldHandle	oldMemoryTT;	oldOffsetoldMaxLengthget?1
V?numTinySubpagesnumSmallSubpages
numChunkLists?1??tinySubpages()Ljava/util/List;subPageMetricList0([Lio/netty/buffer/PoolSubpage;)Ljava/util/List;??
?
smallSubpages
chunkLists
?C Lio/netty/buffer/PoolSubpage<*>;pages![Lio/netty/buffer/PoolSubpage<*>;5Ljava/util/List;numAllocationsvalue??)?allocsNormalnumTinyAllocationsnumSmallAllocationsnumNormalAllocationsnumDeallocationsdeallocsnumTinyDeallocationsnumSmallDeallocationsnumNormalDeallocationsnumHugeAllocationsnumHugeDeallocationsnumActiveAllocationsjava/lang/Math?max(JJ)J??
??valnumActiveTinyAllocations??
???
?numActiveSmallAllocations??
???
?numActiveNormalAllocationsnumActiveHugeAllocations??
???
?numActiveBytes(I)Ljava/lang/Object;????#io/netty/buffer/PoolChunkListMetric?iterator()Ljava/util/Iterator;java/util/IteratorhasNext?()Ljava/lang/Object;?
io/netty/buffer/PoolChunkMetric
2m!Lio/netty/buffer/PoolChunkMetric;Chunk(s) at 0~25%:!io/netty/util/internal/StringUtilNEWLINELjava/lang/String;	-(Ljava/lang/Object;)Ljava/lang/StringBuilder;u
qChunk(s) at 0~50%:Chunk(s) at 25~75%:Chunk(s) at 50~100%:!Chunk(s) at 75~100%:#Chunk(s) at 100%:%tiny subpages:'appendPoolSubPages:(Ljava/lang/StringBuilder;[Lio/netty/buffer/PoolSubpage;)V)*
+small subpages:-Ljava/lang/StringBuilder;: 0subpagesfinalize3B
4destroyPoolSubPages!([Lio/netty/buffer/PoolSubpage;)V67
8destroyPoolChunkLists#([Lio/netty/buffer/PoolChunkList;)V:;
<destroy>B
??page [Lio/netty/buffer/PoolChunkList;B(Lio/netty/buffer/PoolArena;)V>D
{E	chunkList%[Lio/netty/buffer/PoolChunkList;java/lang/ClassJdesiredAssertionStatusL?
KM	hasUnsafeO?
FP	R
ConstantValue	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable%(I)Lio/netty/buffer/PoolSubpage;&(I)[Lio/netty/buffer/PoolSubpage;I(Lio/netty/buffer/PoolThreadCache;II)Lio/netty/buffer/PooledByteBuf;I(Lio/netty/buffer/PoolThreadCache;Lio/netty/buffer/PooledByteBuf;I)V)(Lio/netty/buffer/PooledByteBuf;II)V((Lio/netty/buffer/PooledByteBuf;I)VF(Lio/netty/buffer/PoolChunk;JILio/netty/buffer/PoolThreadCache;)VI(Lio/netty/buffer/PoolChunk;JLio/netty/buffer/PoolArena$SizeClass;)V)(Lio/netty/buffer/PooledByteBuf;IZ)V7()Ljava/util/List;9()Ljava/util/List;X([Lio/netty/buffer/PoolSubpage<*>;)Ljava/util/List;&(IIII)Lio/netty/buffer/PoolChunk;#(I)Lio/netty/buffer/PoolChunk;'(I)Lio/netty/buffer/PooledByteBuf;(TT;ITT;II)V#(Lio/netty/buffer/PoolChunk;)V=(Ljava/lang/StringBuilder;[Lio/netty/buffer/PoolSubpage<*>;)V
Exceptions$([Lio/netty/buffer/PoolSubpage<*>;)V(([Lio/netty/buffer/PoolChunkList;)V
SourceFileInnerClasses T !"#$U%&$U%'(U)*(U)+(U),(U)-(U).(U)/0U1234565758593:3;3<5=>?7@AVR?*?D*?J?L*?J?N*?J?P*?J?R*?J?T*?VY?W?Y*+?[*?]*?_*?a*?c*?e*d?g*d??i** ?m?o6*?o??*?o*?uS????*	d?w***?w?m?y6*?y??*?y*?uS????*?{Y*d|???*?{Y**??Kd???*?{Y**??2d???*?{Y**??K???*?{Y**??2???*?{Y**??????*??*????*??*????*??*????*??*????*????*??*??????Y??:*????W*????W*????W*????W*????W*????W*?????Wf
q??????????????R?0X????R?1Y?-VCDEF M'P2W7X<YAZG[M\S][^d_n`{a?`?d?e?f?g?f?j?k?lmn+oAqLrWsbtmuuv?x?y?z?{?|?}?~???Z?qq???rsV{??Y??M,,??,,??,?W ??	??X??	??Y?	???U[jkVK???W???X??Y?U\????V?*??:*+???W4????????X????Y???U]??V.|?W?Y???Vw<
|=?
|=?????W ???Y??????Z?
??V`*?i~???W???X??Y?Z
@??VC?~???W?Y?Z@??Vh5*??6*?ՙ???6? +*,?ݙ???6*?o:?+*,?????6*?y:2:Y:	???:

?U??
??

?????Y??
??7??	????Y??
??,??*?	ñ	ç:
	?
?*Y:	?*,?	ç:	??*??*?c?8+*,???*Y:?*,?*Y?
a?
ç:???	*,??`?????????????? ##(#W?
0	?6$?+3gY?
M??S?$?Z???5??5??5??5?.?X>6%gY?
S?%Z???5??5??Y?%?????(?)?0?9?E?F?M?S?Z?`?g?n????????????????????????????????.?4?Z?)???2????E??
?	?????	??	?U^VA?*??+??7*??+??**??+??*??+??*??+???**?]*?_*?a*?c?:?7??	????Y??+?"*???%?W>??????????X0&?`(3X ??????X0&'Y*
?!?;?A?B?X?`?u?~???Z
?A?2?U_??Vv?*?L?,?*?N?,?W??X??Y???ZV?$*?0N*?R-?3??6+-?:*?P?,?W*$??$??$???X $??$???'Y#U`;<V
Q+???'+?36*+?B*?Rt??6*?T?,?(*?F:?*+ ?I??*+ ?M?WH
?3CNQ??Q??Q3Q?Q??XQ??Q?'Y.

(+3GHPZ+??UaCDVy*?՚?Q??י	?T??W?W???X??YZBJKVl?*Y:²[?^.?A'4*Y?`
a?`?%*Y?b
a?b?*Y?d
a?d??fY?g?+?i+ ?l??6ç:???*+?B?mppupW>j@???????3?CNx@X?????'Y:$%('2(5*?+B-L.O0W2j3x4}6?8Z'
?(@G??	UbmsV?1?י|=*?oN?=
|<?
|?$1??1??-$X %1??-%Y*
=>?ABCD"E(G-JZ?
??U[??Vo??%?oY?qY?rt?x?{}?x?????*?c?*?e??*????ךS=??|?=|?=|?=|?=|?=??|=??*?e?*?g~???Y???*?e?	*???~???~`?W HN??????X???YZNO&R.S?VFYHZK[Q\W]]^d_k`nbrcve?g?j?k?o?p?sZ	&D?6???Vz*?g~=??*?e`d?W ????X??Y
wxZ?G??V1
??+????oY?qY?r??x?{?????+??6??+??:+??7+??:+??6	+??6
+??6+??6**?[??+???*	+??+?????<?6?*?6*	`+??+??`d???	Y66+??W?*
+?????Wz??????????.??;???A??3G???M??	S??
Y??_}?X*??????;??'G???Yf|}(?.?4?5?;?A?G?M?S?Y?_?l?r?????????????????????Z'??Q	?Uc=1VD*?Y???W??X??Y??1VB*?o??W??X??Y??1VB*?y??W??X??Y??1VF
*?????W
??X
??Y???VD*?o?̰W??X??Y?Ud??VD*?y?̰W??X??Y?Ud??VA*???W??X??Y?Ue
??VR??Y??L*M,?>6?=,2:????$??:+??W??:???????+?W*0?.??R?$J?0X*0?.??R??J??Y.???&?)?0?9?@?G?J?P?Z&??????????Uf??V?5*YL?*?
A+ç
:+??*?L??*?N??a a*?P??a?W 	?35?? ?3X5??Y??	??Z????VF
*?L???W
??X
??Y???VF
*?N???W
??X
??Y?!??VA*?
?W??X??Y???V?+*YL?*?d*?ba*?`aA+ç
:+?? *?T??a?W ?3+???3X+??Y????Z??!??VA*?d?W??X??Y?!??VA*?b?W??X??Y!??VA*?`?W??X??Y??VF
*?P???W
??X
??Y
??VF
*?T???W
??X
??Y??V?T*?L??*?N??a*?P??a*?T??e@*YN?*?
*?d*?ba*?`aea@-ç
:-??	??,DGGKGWT??(,?3XT??Y!(,BNZ?G???VJ*??*??e	??W??X??Y!??VJ*??*??e	??W??X??Y&??V? *YL?*?
*?`eA+ç
:+?? 	??W ?3 ???3X ??Y,-./Z????VJ*??*??e	??W??X??Y4??Vp*?R??@*YN?6*?????B*??????:?	???:??a@??߄???-ç
:-??	??`ccgcW*JM?p??
f?3Xp??Y&	9
:;<J=U>X;^@jAZ??"?#?D?Ug-.Uh??Ui??Uj@#Uk!~V?ϻqY?r?x??x*?????x?x??x*?????x ?x??x*?????x"?x??x*?????x$?x??x*?????x&?x??x*?????x(?xL+*?o?,+??x.?xW+*?y?,+??xW+???W????+?/X???Y? L
MNOP#Q)R0S6T<UBVIWOXUY[Zb[h\n]t^{_?`?a?b?c?d?e?f?g?h?i?j?l
)*VM=+??G+2N-??-??2*??x?{1?xW-??:*?W??:-????????W4:??/?J?M?/M2$X :??/?M2?Y:pqrsvw%x)y/{6|=}C~FpL?Z???????Ul3BV?*?5*?y?9*?o?9*?{Y*??SY*??SY*??SY*??SY*??SY*??S?=?GL*?y?9*?o?9*?{Y*??SY*??SY*??SY*??SY*??SY*??S?=+??HW???X???Y&	????E?H?P?W???Z?H?Cm
67V?*L+?=>?+2:?@????WA??$XA???Y????Z
???Un?:;V?!+M,?>6?,2:*?F????W G(!??!?BX G)!??!?HY??? ?Z
?C?UoIBV>?N????Q?S?Y
 Z@Upq"

@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy