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

com.groupbyinc.flux.common.netty.buffer.PoolThreadCache.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2e7com/groupbyinc/flux/common/netty/buffer/PoolThreadCachejava/lang/ObjectPoolThreadCache.java9com/groupbyinc/flux/common/netty/buffer/PoolThreadCache$2Icom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCacheMemoryRegionCacheOcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$NormalMemoryRegionCacheNormalMemoryRegionCachePcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$SubPageMemoryRegionCacheSubPageMemoryRegionCache9com/groupbyinc/flux/common/netty/buffer/PoolThreadCache$1;com/groupbyinc/flux/common/netty/buffer/PoolArena$SizeClass1com/groupbyinc/flux/common/netty/buffer/PoolArena	SizeClassloggerGLcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;	heapArena3Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;7Lcom/groupbyinc/flux/common/netty/buffer/PoolArena<[B>;directArenaJLcom/groupbyinc/flux/common/netty/buffer/PoolArena;tinySubPageHeapCachesL[Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;P[Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache<[B>;smallSubPageHeapCachestinySubPageDirectCachesc[Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;smallSubPageDirectCachesnormalHeapCachesnormalDirectCachesnumShiftsNormalDirectInumShiftsNormalHeapfreeSweepAllocationThresholddeathWatchThreadLjava/lang/Thread;freeTaskLjava/lang/Runnable;allocations$assertionsDisabledZn(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;Lcom/groupbyinc/flux/common/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=Lcom/groupbyinc/flux/common/netty/buffer/PoolArena$SizeClass;YZ	[createSubPageCaches?(IILcom/groupbyinc/flux/common/netty/buffer/PoolArena$SizeClass;)[Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;]^
_# 	anumSmallSubpagePoolsc)	dSmallfZ	g% 	ipageSizek)	llog2(I)Ino
p()	rcreateNormalCaches?(IILcom/groupbyinc/flux/common/netty/buffer/PoolArena;)[Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;tu
v' 	xnumThreadCaches+Ljava/util/concurrent/atomic/AtomicInteger;z{	|)java/util/concurrent/atomic/AtomicInteger~getAndIncrement()I??
? 	?" 	?*)	?& 	?<(Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache;)V3?
?./	?java/lang/Thread?
currentThread()Ljava/lang/Thread;??
??,-	?8com/groupbyinc/flux/common/netty/util/ThreadDeathWatcher?watch)(Ljava/lang/Thread;Ljava/lang/Runnable;)V??
??this9Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache;
tinyCacheSizesmallCacheSizenormalCacheSizemaxCachedBufferCapacity A(ILcom/groupbyinc/flux/common/netty/buffer/PoolArena$SizeClass;)V3?
?icacheQ[Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;	cacheSize	numCaches	sizeClass	chunkSize?)	?java/lang/Math?min(II)I??
??max??
??(I)V3?
?	arraySizearea8Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;valresallocateTinyo(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBuf;II)ZcacheForTiny?(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;I)Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;??
?allocate?(Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBuf;I)Z??
?6Lcom/groupbyinc/flux/common/netty/buffer/PoolArena<*>;buf:Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBuf<*>;7Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBuf;reqCapacitynormCapacity
allocateSmall
cacheForSmall??
?allocateNormalcacheForNormal??
?;(Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBuf;I)Z??
	?0)	?trim?5
?NLcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;KLcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;	allocatedadd?(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;Lcom/groupbyinc/flux/common/netty/buffer/PoolChunk;JILcom/groupbyinc/flux/common/netty/buffer/PoolArena$SizeClass;)Z?(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;ILcom/groupbyinc/flux/common/netty/buffer/PoolArena$SizeClass;)Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;??
?7(Lcom/groupbyinc/flux/common/netty/buffer/PoolChunk;J)Z??
	?chunk3Lcom/groupbyinc/flux/common/netty/buffer/PoolChunk;handleJ.$SwitchMap$io$netty$buffer$PoolArena$SizeClass[I??	?ordinal??
?java/lang/Error?
?6free12	?java/lang/AssertionError?
6unwatch?
?free05
O([Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;)I?
		Ecom/groupbyinc/flux/common/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"?
#numFreedN(Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;)I?&
'ccachesO[Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;??
	,O([Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;)V?.
/N(Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;)V?1
2
	?tinyIdx5o
6isDirect8
9?([Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;I)Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;?;
<idxsmallIdx?o
@
access$000x0java/lang/ClassEdesiredAssertionStatusG
FHLcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLoggerFactoryJgetInstanceZ(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;LM
KN	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable?(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena<[B>;Lcom/groupbyinc/flux/common/netty/buffer/PoolArena;IIIII)V?(IILcom/groupbyinc/flux/common/netty/buffer/PoolArena$SizeClass;)[Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;?(IILcom/groupbyinc/flux/common/netty/buffer/PoolArena;)[Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;u(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena<*>;Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBuf<*>;II)Z?(Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBuf;I)Z?(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena<*>;Lcom/groupbyinc/flux/common/netty/buffer/PoolChunk;JILcom/groupbyinc/flux/common/netty/buffer/PoolArena$SizeClass;)Z?(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena<*>;ILcom/groupbyinc/flux/common/netty/buffer/PoolArena$SizeClass;)Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;R([Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;)IQ(Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;)IR([Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;)VQ(Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;)V?(Lcom/groupbyinc/flux/common/netty/buffer/PoolArena<*>;I)Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;?([Lcom/groupbyinc/flux/common/netty/buffer/PoolThreadCache$MemoryRegionCache;I)Lcom/groupbyinc/flux/common/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 - 2024 Weber Informatics LLC | Privacy Policy