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

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

There is a newer version: 129
Show newest version
????2eio/netty/buffer/PoolThreadCachejava/lang/ObjectPoolThreadCache.java!io/netty/buffer/PoolThreadCache$21io/netty/buffer/PoolThreadCache$MemoryRegionCacheMemoryRegionCache7io/netty/buffer/PoolThreadCache$NormalMemoryRegionCacheNormalMemoryRegionCache8io/netty/buffer/PoolThreadCache$SubPageMemoryRegionCacheSubPageMemoryRegionCache!io/netty/buffer/PoolThreadCache$1#io/netty/buffer/PoolArena$SizeClassio/netty/buffer/PoolArena	SizeClasslogger/Lio/netty/util/internal/logging/InternalLogger;	heapArenaLio/netty/buffer/PoolArena;Lio/netty/buffer/PoolArena<[B>;directArena2Lio/netty/buffer/PoolArena;tinySubPageHeapCaches4[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;8[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<[B>;smallSubPageHeapCachestinySubPageDirectCachesK[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;smallSubPageDirectCachesnormalHeapCachesnormalDirectCachesnumShiftsNormalDirectInumShiftsNormalHeapfreeSweepAllocationThresholddeathWatchThreadLjava/lang/Thread;freeTaskLjava/lang/Runnable;allocations$assertionsDisabledZ>(Lio/netty/buffer/PoolArena;Lio/netty/buffer/PoolArena;IIIII)V()V35
6"java/lang/IllegalArgumentException8java/lang/StringBuilder:
;6maxCachedBufferCapacity: =append-(Ljava/lang/String;)Ljava/lang/StringBuilder;?@
;A(I)Ljava/lang/StringBuilder;?C
;D (expected: >= 0)FtoString()Ljava/lang/String;HI
;J(Ljava/lang/String;)V3L
9MfreeSweepAllocationThreshold: O (expected: > 0)Q+)	S	U	WTiny%Lio/netty/buffer/PoolArena$SizeClass;YZ	[createSubPageCaches](IILio/netty/buffer/PoolArena$SizeClass;)[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;]^
_# 	anumSmallSubpagePoolsc)	dSmallfZ	g% 	ipageSizek)	llog2(I)Ino
p()	rcreateNormalCachesS(IILio/netty/buffer/PoolArena;)[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;tu
v' 	xnumThreadCaches+Ljava/util/concurrent/atomic/AtomicInteger;z{	|)java/util/concurrent/atomic/AtomicInteger~getAndIncrement()I??
? 	?" 	?*)	?& 	?$(Lio/netty/buffer/PoolThreadCache;)V3?
?./	?java/lang/Thread?
currentThread()Ljava/lang/Thread;??
??,-	? io/netty/util/ThreadDeathWatcher?watch)(Ljava/lang/Thread;Ljava/lang/Runnable;)V??
??this!Lio/netty/buffer/PoolThreadCache;
tinyCacheSizesmallCacheSizenormalCacheSizemaxCachedBufferCapacity )(ILio/netty/buffer/PoolArena$SizeClass;)V3?
?icache9[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;	cacheSize	numCaches	sizeClass	chunkSize?)	?java/lang/Math?min(II)I??
??max??
??(I)V3?
?	arraySizearea Lio/netty/buffer/PoolArena;valresallocateTiny?(Lio/netty/buffer/PoolArena;Lio/netty/buffer/PooledByteBuf;II)ZcacheForTinyQ(Lio/netty/buffer/PoolArena;I)Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;??
?allocateV(Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;Lio/netty/buffer/PooledByteBuf;I)Z??
?Lio/netty/buffer/PoolArena<*>;buf"Lio/netty/buffer/PooledByteBuf<*>;Lio/netty/buffer/PooledByteBuf;reqCapacitynormCapacity
allocateSmall
cacheForSmall??
?allocateNormalcacheForNormal??
?#(Lio/netty/buffer/PooledByteBuf;I)Z??
	?0)	?trim?5
?6Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;3Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;	allocatedadd`(Lio/netty/buffer/PoolArena;Lio/netty/buffer/PoolChunk;JILio/netty/buffer/PoolArena$SizeClass;)Zv(Lio/netty/buffer/PoolArena;ILio/netty/buffer/PoolArena$SizeClass;)Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;??
?(Lio/netty/buffer/PoolChunk;J)Z??
	?chunkLio/netty/buffer/PoolChunk;handleJ.$SwitchMap$io$netty$buffer$PoolArena$SizeClass[I??	?ordinal??
?java/lang/Error?
?6free12	?java/lang/AssertionError?
6unwatch?
?free05
7([Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;)I?
		-io/netty/util/internal/logging/InternalLogger
isDebugEnabled()Z/Freed {} thread-local buffer(s) from thread: {}java/lang/IntegervalueOf(I)Ljava/lang/Integer;
getNameI
?debug9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V getAndDecrement"?
#numFreed6(Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;)I?&
'ccaches7[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;??
	,7([Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;)V?.
/6(Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;)V?1
2
	?tinyIdx5o
6isDirect8
9j([Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;I)Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;?;
<idxsmallIdx?o
@
access$000x0java/lang/ClassEdesiredAssertionStatusG
FH4io/netty/util/internal/logging/InternalLoggerFactoryJgetInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;LM
KN	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTableY(Lio/netty/buffer/PoolArena<[B>;Lio/netty/buffer/PoolArena;IIIII)Vx(IILio/netty/buffer/PoolArena$SizeClass;)[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;s(IILio/netty/buffer/PoolArena;)[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;E(Lio/netty/buffer/PoolArena<*>;Lio/netty/buffer/PooledByteBuf<*>;II)ZY(Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;Lio/netty/buffer/PooledByteBuf;I)Zc(Lio/netty/buffer/PoolArena<*>;Lio/netty/buffer/PoolChunk;JILio/netty/buffer/PoolArena$SizeClass;)Z|(Lio/netty/buffer/PoolArena<*>;ILio/netty/buffer/PoolArena$SizeClass;)Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;:([Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;)I9(Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;)I:([Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;)V9(Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;)VW(Lio/netty/buffer/PoolArena<*>;I)Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;?([Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;I)Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;
SourceFileInnerClasses0PP P!" P!# P$% P$& P!' P$()*)+),-./0)1234Q?e*?7?$?9Y?;Y?<>?B?EG?B?K?N??$?9Y?;Y?<P?B?ER?B?K?N?*?T*+?V*,?X,?B* ?\?`?b*,?e?h?`?j*,?m?q?s*,?w?y,?}??W?*?b*?j*?y*?s+?B* ?\?`??*+?e?h?`??*+?m?q??*+?w??+?}??W?*??*??*??*??*?b?&*?j?*?y?*???*???
*???$*?Y*????*????*??*?????
*??*???RRe??eee?)e?)e?)e?)e+)SeeT?#EF	G*J0KQNWO\PaQeRrT?W?X?[?^?_?`?a?c?e?g?j?k?n?qrs
tx9zE?L?Z?_?d?U#	?*&?R?B) 	PV
]^Q?*?'?	N6-??-?Y,??S????-??R4?)	? *?)*?)*?ZS	??T??	?? ?&?(?U????PW
tuQ
H?E,????>,?ml?q`??6?	:6???Y??S??????RH(?)
9?)(?)%!? H?)H?)H?S%!??H??T&	??
??%?0?=?C?F?U?(???PX
noQd<?
z;?????R?)?)T?????U???Q|**+??,?̬R4??????)?)S????T?PY??Q|**+??,?̬R4??????)?)S????T?PY??Q|**+??,?̬R4??????)?)S????T?PY??Q?,+??+,??6*Y??`Z??*?T?*??*???R4,??,??,??,?)?2S,??T???? ?%?)?U?"PZ??Q?*+??:??,!???RH????????)?Z??S????T????U?	P[??Q?A??-??.?1#**+?ڰ*+?ְ*+?Ȱ??Y???R*A??A?A?)A?ZSA??T?$?+?2?9?U$P\?5Qp,*???#???*????Y??*??*???*??R,??T???'?+?U
5Q?y*?b?
*?j?
`*?y?
`*???
`*???
`*???
`<?#?????????!*?X?*?X?}?$W*?V?*?V?}?$W?Ry??0I%)T6
??#+0?T	[
f
mxU?T
?Q?,*??<*M,?>6?,2:?(`?+2:?3????R)?"* S)?"*+T/0232!5U???P_
?1Q[
*??*?4?R
??S
??T89;	<UP`??Q??7>+?:?*?b?=?*???=?R*????)>)S??T?@ACU?Pa??Q??A>+?:?*?j?=?*???=?R*????)>)S??TGHIKU?Pa??Q?-+?:?*?sz?q>*?y?=?*??z?q>*???=?R4	>)-??-?-?)$	>)S-??TOPQS$TUPa
?;Qj*?*?d??*2?R? >)S??TXY[UPbB?Q/*??RC?T'D5Q@?I?????O??T
')U@cd2	


@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy