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

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

There is a newer version: 129
Show newest version
????2&io/netty/buffer/PooledByteBufAllocator(io/netty/buffer/AbstractByteBufAllocator.io/netty/buffer/ByteBufAllocatorMetricProviderPooledByteBufAllocator.java;io/netty/buffer/PooledByteBufAllocator$PoolThreadLocalCachePoolThreadLocalCache#io/netty/buffer/PoolArena$HeapArenaio/netty/buffer/PoolArena
	HeapArena%io/netty/buffer/PoolArena$DirectArenaDirectArenalogger/Lio/netty/util/internal/logging/InternalLogger;DEFAULT_NUM_HEAP_ARENAIDEFAULT_NUM_DIRECT_ARENADEFAULT_PAGE_SIZEDEFAULT_MAX_ORDERDEFAULT_TINY_CACHE_SIZEDEFAULT_SMALL_CACHE_SIZEDEFAULT_NORMAL_CACHE_SIZE"DEFAULT_MAX_CACHED_BUFFER_CAPACITYDEFAULT_CACHE_TRIM_INTERVAL!DEFAULT_USE_CACHE_FOR_ALL_THREADSZ%DEFAULT_DIRECT_MEMORY_CACHE_ALIGNMENT
MIN_PAGE_SIZEMAX_CHUNK_SIZE@DEFAULT(Lio/netty/buffer/PooledByteBufAllocator;
heapArenas[Lio/netty/buffer/PoolArena; [Lio/netty/buffer/PoolArena<[B>;directArenas3[Lio/netty/buffer/PoolArena;
tinyCacheSizesmallCacheSizenormalCacheSizeheapArenaMetricsLjava/util/List;3Ljava/util/List;directArenaMetricsthreadCache=Lio/netty/buffer/PooledByteBufAllocator$PoolThreadLocalCache;	chunkSizemetric.Lio/netty/buffer/PooledByteBufAllocatorMetric;()V(Z)V9;
<this	?	A	C	E(ZIIII)V9G
HpreferDirect(IIII)V
nHeapArenanDirectArenapageSizemaxOrderLjava/lang/Deprecated;	Q	S	U(ZIIIIIII)V9W
X 	Z!	\
(ZIIIIIIIZI)V9^
_(ZIIIIIIIZ)VuseCacheForAllThreads
<,(Lio/netty/buffer/PooledByteBufAllocator;Z)V9d
	e45	g-	i.	k/	mvalidateAndCalculateChunkSize(II)Iop
q6	s"java/lang/IllegalArgumentExceptionujava/lang/StringBuilderw9:
xynHeapArena: {append-(Ljava/lang/String;)Ljava/lang/StringBuilder;}~
x(I)Ljava/lang/StringBuilder;}?
x? (expected: >= 0)?toString()Ljava/lang/String;??
x?(Ljava/lang/String;)V9?
v?
nDirectArea: ?directMemoryCacheAlignment: ?%isDirectMemoryCacheAlignmentSupported()Z??
?+directMemoryCacheAlignment is not supported? (expected: power of two)?validateAndCalculatePageShifts(I)I??
?
newArenaArray(I)[Lio/netty/buffer/PoolArena;??
?()	?java/util/ArrayList?(I)V9?
??java/util/List?0(Lio/netty/buffer/PooledByteBufAllocator;IIIII)V9?
?add(Ljava/lang/Object;)Z????java/util/Collections?unmodifiableList"(Ljava/util/List;)Ljava/util/List;??
??01	?	emptyList()Ljava/util/List;??
??+)	?
?31	?,io/netty/buffer/PooledByteBufAllocatorMetric?+(Lio/netty/buffer/PooledByteBufAllocator;)V9?
??78	?arena%Lio/netty/buffer/PoolArena$HeapArena;imetrics'Lio/netty/buffer/PoolArena$DirectArena;directMemoryCacheAlignment
pageShiftssize
pageSize: ? (expected: ?)? (expected: power of 2)?java/lang/Integer?numberOfLeadingZeros??
??
maxOrder: ? (expected: 0-14)? 1pageSize (%d) << maxOrder (%d) must not exceed %d?java/lang/Object?valueOf(I)Ljava/lang/Integer;??
??java/lang/String?format9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
??
newHeapBuffer(II)Lio/netty/buffer/ByteBuf;get()Ljava/lang/Object;??
	?io/netty/buffer/PoolThreadCache?	heapArenaLio/netty/buffer/PoolArena;??	??allocateD(Lio/netty/buffer/PoolThreadCache;II)Lio/netty/buffer/PooledByteBuf;??
?(io/netty/util/internal/PlatformDependent	hasUnsafe?
)io/netty/buffer/UnpooledUnsafeHeapByteBuf'(Lio/netty/buffer/ByteBufAllocator;II)V9
	#io/netty/buffer/UnpooledHeapByteBuf
	io/netty/buffer/ByteBuftoLeakAwareBuffer4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
bufLio/netty/buffer/ByteBuf;initialCapacitymaxCapacitycache!Lio/netty/buffer/PoolThreadCache;Lio/netty/buffer/PoolArena<[B>;newDirectBufferdirectArena?	?!io/netty/buffer/UnsafeByteBufUtilnewUnsafeDirectByteBufS(Lio/netty/buffer/ByteBufAllocator;II)Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;!"
 #%io/netty/buffer/UnpooledDirectByteBuf%
&	/io/netty/buffer/AbstractReferenceCountedByteBuf(2Lio/netty/buffer/PoolArena;defaultNumHeapArena()IdefaultNumDirectArenadefaultPageSizedefaultMaxOrderdefaultTinyCacheSizedefaultSmallCacheSizedefaultNormalCacheSizeisDirectBufferPooledhasThreadLocalCacheisSet5?
	6freeThreadLocalCacheremove9:
	:0()Lio/netty/buffer/PooledByteBufAllocatorMetric;
numHeapArenas?,?>numDirectArenasnumThreadLocalCaches)numThreadCaches+Ljava/util/concurrent/atomic/AtomicInteger;CD	E)java/util/concurrent/atomic/AtomicIntegerG?,
HILio/netty/buffer/PoolArena<*>;arenas[Lio/netty/buffer/PoolArena<*>;totalusedHeapMemory()J
usedMemory([Lio/netty/buffer/PoolArena;)JQR
SusedDirectMemory????????numActiveBytesXP
Y???????usedJ#()Lio/netty/buffer/PoolThreadCache;	dumpStats
x? heap arena(s):b!io/netty/util/internal/StringUtildNEWLINELjava/lang/String;fg	eh-(Ljava/lang/Object;)Ljava/lang/StringBuilder;}j
xk direct arena(s):ma
heapArenasLenLjava/lang/StringBuilder;directArenasLen*()Lio/netty/buffer/ByteBufAllocatorMetric;7<
t
access$000F(Lio/netty/buffer/PooledByteBufAllocator;)[Lio/netty/buffer/PoolArena;x0
access$100
access$200+(Lio/netty/buffer/PooledByteBufAllocator;)I
access$300
access$400
access$500	
access$600	?java/lang/Throwable?4io/netty/util/internal/logging/InternalLoggerFactory?getInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;??
??	?io.netty.allocator.pageSize?)io/netty/util/internal/SystemPropertyUtil?getInt(Ljava/lang/String;I)I??
??io.netty.allocator.maxOrder?java/lang/Runtime?
getRuntime()Ljava/lang/Runtime;??
??io/netty/util/NettyRuntime?availableProcessors?,
?? io.netty.allocator.numHeapArenas?	maxMemory?P
??java/lang/Math?min(JJ)J??
??max?p
??"io.netty.allocator.numDirectArenas?maxDirectMemory?P
? io.netty.allocator.tinyCacheSize?!io.netty.allocator.smallCacheSize?"io.netty.allocator.normalCacheSize?*io.netty.allocator.maxCachedBufferCapacity??$io.netty.allocator.cacheTrimInterval?(io.netty.allocator.useCacheForAllThreads?
getBoolean(Ljava/lang/String;Z)Z??
??-io.netty.allocator.directMemoryCacheAlignment?-io/netty/util/internal/logging/InternalLogger?isDebugEnabled????&-Dio.netty.allocator.numHeapArenas: {}?debug'(Ljava/lang/String;Ljava/lang/Object;)V????(-Dio.netty.allocator.numDirectArenas: {}?!-Dio.netty.allocator.pageSize: {}?9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V????!-Dio.netty.allocator.maxOrder: {}?"-Dio.netty.allocator.chunkSize: {}?&-Dio.netty.allocator.tinyCacheSize: {}?'-Dio.netty.allocator.smallCacheSize: {}?(-Dio.netty.allocator.normalCacheSize: {}?0-Dio.netty.allocator.maxCachedBufferCapacity: {}?*-Dio.netty.allocator.cacheTrimInterval: {}?.-Dio.netty.allocator.useCacheForAllThreads: {}?java/lang/Boolean?(Z)Ljava/lang/Boolean;??
??directBufferPreferred??
?&'	?tLjava/lang/Throwable;pageSizeFallbackCausemaxOrderFallbackCauseruntimeLjava/lang/Runtime;defaultMinNumArenadefaultChunkSize
ConstantValue	SignatureCodeLocalVariableTableLineNumberTable
DeprecatedRuntimeVisibleAnnotationsLocalVariableTypeTable
StackMapTable:(I)[Lio/netty/buffer/PoolArena;5()Ljava/util/List;"([Lio/netty/buffer/PoolArena<*>;)J
SourceFileInnerClasses! !"#$%&'()*+),-./01231245678/9:4*?=?>'
??9;J*?@?B?D?F?I?>'J 
??9Ka*?I?4>'LMNO
?
?9Gu	*?R?T?V?Y?>>'J LMNO
??P9W?	*?[?]?`?\	>'J LMNO-./
??P9a?
*	?]?`?f
>'J LMNO-./b 	
??9^??*?c*?	Y*	?f?h*?j*?l*?n*?r?t?#?vY?xY?z|?????????????#?vY?xY?z?????????????
?$?vY?xY?z???
??????????
????
?vY????

t~
?$?vY?xY?z???
????????????6?a*??????Y*?????:6

*????2?Y**?t
??:*??
S??W?
???*?????*??*?????a*??????Y*?????:6

*????2?Y**?t
??:*??
S??W?
???*?????*??*????*??Y*?Ƶȱ?#??9?
E?1???q9?
nE?1?>'?J ?L?M?N?O?-?.?/?b 	??
???	E?2nE?2?+?????%?0?4?T?X?x?}??????????????????
?#?,?6?<?E?H?M?T?X?`?n?{?????????????
7
?T#%+?#??8????8?
??/???
???b?.?vY?xY?zҶ???Զ???ֶ??????d~?#?vY?xY?zҶ???ض????????d?bN2:Z
2'
op?g?#?vY?xY?z߶??????????=>?:?*?vY???Y??SY??SY%??S????x=??????**;?gNgO(?6.&!(".#4$A%T$['_"e)
&?0?	???H*?h????N-??:?-?:?"???Y*?
?
?Y*?
:??H H>'HH=7??B	7?./23#5B:
?#?I???D*?h????N-?:?-?:???*?$?
?&Y*?':??H D>'DD93?>	3*?@CD#F,G>K
?#?I)?	+,?@?R	-,?B?Y	.,?D?`	/,?F?g	0,?R?n	1,?T?u	2,?V?|	?????3?B
*?????
>'?
@4?2*?h?7?>'?P8:6*?h?;?>'
??P7</*?Ȱ>'?=,4
*?????
>'?P@,4
*?????
>'?P(?/*???>'?P+?/*???>'?PA,?D*???
*???*??L+??=+N-?66?-2:?F?J`=?????*1??D>'1L))N	1?K1LM"???1<B
#CB?B?
BB?P-,/*?j?>'P.,/*?l?>'P/,/*?n?>'#P6,/*?t?>'-POP2*???T?>'1UP2*???T?>'5?QR?:*?V?	@*N-?66?!-2:?Za@	??[??????  ??:L)
0]^	 ?K:LM&	9:<
= >(?.@2=8C
?
BB?
4_5*?h?????>'G`???*????*???,??n???i??W?,*??:?66?2:,?lW????,???>Io??o??>'?p,qgDr	Io?o*JOPQ"R(S,T0UIVPUVZg\o]u^y_}`?a?`?e
5D?+xB?
D?$xB?A7s/*?u?>'!vw/*???x'!yw/*???x'!z{/*?j?x'!|{/*?l?x'!}{/*?n?x'!~,???!?,???!?:??????? ??;L??W?
M,L ;?D???=N?D?rW?:N=?F??:??h6?D?Fx6?????m?m?m????????@?????m?m?m????????B????R????T?@???V?ø???? ??????˳[????]????????Բ@?????ڲB???+???ܲD??????ܲD??+??-????F???????F??-?????D?Fx??????R??????T??????V?????????????????????[?????Y???=????2:=?\	??????.???0?/2???N???U?^??8#568<9:;#='?0@2B:F=C?DBEEGIKNTUU^Vg[vYzW}V?\?a?_?]?\?d?e?f?j?n?q?t?wxy"z&{:}LP?d?v???????????????????
6	???????????z	





© 2015 - 2025 Weber Informatics LLC | Privacy Policy