classes.io.netty.buffer.PooledByteBufAllocator.class Maven / Gradle / Ivy
???? 2? R R R R R R R
R R R R R
R R R R
R
z
R!
R"#$
%&
'
()
*
+,
R-
R./
#01
%234
56 R7
589
+2 R:;<=>?
@ABC DE
@F@
GH
IJ =K
.LM
@N
RO =P
QR
STU
FN
V
W3X .Y
Z[
0\ ]^
_`a
bc Rde
fghi
jk
jlm
jn
op
oqr
Qstuvw ? xyz{y|}~y???????
Q? R?? PoolThreadLocalCache InnerClasses logger /Lio/netty/util/internal/logging/InternalLogger; DEFAULT_NUM_HEAP_ARENA I DEFAULT_NUM_DIRECT_ARENA DEFAULT_PAGE_SIZE DEFAULT_MAX_ORDER DEFAULT_TINY_CACHE_SIZE DEFAULT_SMALL_CACHE_SIZE DEFAULT_NORMAL_CACHE_SIZE "DEFAULT_MAX_CACHED_BUFFER_CAPACITY DEFAULT_CACHE_TRIM_INTERVAL
MIN_PAGE_SIZE
ConstantValue MAX_CHUNK_SIZE DEFAULT (Lio/netty/buffer/PooledByteBufAllocator;
heapArenas [Lio/netty/buffer/PoolArena; Signature [Lio/netty/buffer/PoolArena<[B>; directArenas 3[Lio/netty/buffer/PoolArena;
tinyCacheSize smallCacheSize normalCacheSize heapArenaMetrics Ljava/util/List; 3Ljava/util/List; directArenaMetrics threadCache =Lio/netty/buffer/PooledByteBufAllocator$PoolThreadLocalCache; ()V Code LineNumberTable LocalVariableTable this (Z)V preferDirect Z (IIII)V
nHeapArena nDirectArena pageSize maxOrder (ZIIII)V (ZIIIIIII)V arena HeapArena %Lio/netty/buffer/PoolArena$HeapArena; i metrics DirectArena 'Lio/netty/buffer/PoolArena$DirectArena; chunkSize
pageShifts LocalVariableTypeTable
StackMapTablea?
newArenaArray (I)[Lio/netty/buffer/PoolArena; size :(I)[Lio/netty/buffer/PoolArena; validateAndCalculatePageShifts (I)I validateAndCalculateChunkSize (II)I
newHeapBuffer (II)Lio/netty/buffer/ByteBuf; buf Lio/netty/buffer/ByteBuf; initialCapacity maxCapacity cache !Lio/netty/buffer/PoolThreadCache; heapArena Lio/netty/buffer/PoolArena; Lio/netty/buffer/PoolArena<[B>;J;? newDirectBuffer directArena 2Lio/netty/buffer/PoolArena; defaultNumHeapArena ()I defaultNumDirectArena defaultPageSize defaultMaxOrder defaultTinyCacheSize defaultSmallCacheSize defaultNormalCacheSize isDirectBufferPooled ()Z hasThreadLocalCache
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; freeThreadLocalCache
numHeapArenas numDirectArenas ()Ljava/util/List; 5()Ljava/util/List; numThreadLocalCaches arenas total [Lio/netty/buffer/PoolArena<*>; ? #()Lio/netty/buffer/PoolThreadCache; dumpStats ()Ljava/lang/String; a arr$ len$ i$
heapArenasLen Ljava/lang/StringBuilder; directArenasLen$
access$000 F(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 t Ljava/lang/Throwable; pageSizeFallbackCause maxOrderFallbackCause runtime Ljava/lang/Runtime; defaultMinNumArena defaultChunkSizeh?
SourceFile PooledByteBufAllocator.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ;io/netty/buffer/PooledByteBufAllocator$PoolThreadLocalCache ?? ? ? ? ? "java/lang/IllegalArgumentException java/lang/StringBuilder ? ? nHeapArena: ???? (expected: >= 0)? ? ??
nDirectArea: ? ? ? ? java/util/ArrayList ?? #io/netty/buffer/PoolArena$HeapArena ???????? ? ?? ? %io/netty/buffer/PoolArena$DirectArena ? ? io/netty/buffer/PoolArena
pageSize: (expected: ) (expected: power of 2)?? ?
maxOrder: (expected: 0-14) 1pageSize (%d) << maxOrder (%d) must not exceed %d java/lang/Object??????? io/netty/buffer/PoolThreadCache ? ??? #io/netty/buffer/UnpooledHeapByteBuf ???? ? ??? ???? %io/netty/buffer/UnpooledDirectByteBuf? ?? ? ? ????? ? heap arena(s):????? direct arena(s): &io/netty/buffer/PooledByteBufAllocator??? } ~ io.netty.allocator.pageSize??? java/lang/Throwable io.netty.allocator.maxOrder???? ? io.netty.allocator.numHeapArenas?????? ? "io.netty.allocator.numDirectArenas?? io.netty.allocator.tinyCacheSize !io.netty.allocator.smallCacheSize "io.netty.allocator.normalCacheSize *io.netty.allocator.maxCachedBufferCapacity $io.netty.allocator.cacheTrimInterval?? ? &-Dio.netty.allocator.numHeapArenas: {}?? (-Dio.netty.allocator.numDirectArenas: {} !-Dio.netty.allocator.pageSize: {}?? !-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: {}? ? ? ? (io/netty/buffer/AbstractByteBufAllocator java/util/List io/netty/buffer/ByteBuf java/lang/Runtime +(Lio/netty/buffer/PooledByteBufAllocator;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString (Ljava/lang/String;)V (I)V /(Lio/netty/buffer/PooledByteBufAllocator;IIII)V add (Ljava/lang/Object;)Z java/util/Collections unmodifiableList "(Ljava/util/List;)Ljava/util/List; emptyList java/lang/Integer numberOfLeadingZeros valueOf (I)Ljava/lang/Integer; java/lang/String format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; get ()Ljava/lang/Object; allocate D(Lio/netty/buffer/PoolThreadCache;II)Lio/netty/buffer/PooledByteBuf; '(Lio/netty/buffer/ByteBufAllocator;II)V toLeakAwareBuffer 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; (io/netty/util/internal/PlatformDependent hasUnsafe !io/netty/buffer/UnsafeByteBufUtil newUnsafeDirectByteBuf S(Lio/netty/buffer/ByteBufAllocator;II)Lio/netty/buffer/UnpooledUnsafeDirectByteBuf; isSet remove numThreadCaches +Ljava/util/concurrent/atomic/AtomicInteger; )java/util/concurrent/atomic/AtomicInteger !io/netty/util/internal/StringUtil NEWLINE Ljava/lang/String; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger; )io/netty/util/internal/SystemPropertyUtil getInt (Ljava/lang/String;I)I
getRuntime ()Ljava/lang/Runtime; availableProcessors maxMemory ()J java/lang/Math min (JJ)J max maxDirectMemory -io/netty/util/internal/logging/InternalLogger isDebugEnabled debug '(Ljava/lang/String;Ljava/lang/Object;)V 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V directBufferPreferred ! R z } ~ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? : ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? &