![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.buffer.PooledByteBufAllocator.class Maven / Gradle / Ivy
The newest version!
???? 2OZ @[ @\ @] @^ @_ @` @a @b @c
@d @e @f @g @h
@i @j @k @l
@m @n @o
@p
?dq
rs
t @u
@v @w ?
xy ? ?
@z{|
%}~
(?
(?
(??
(?
@?
@??
1??
3???
?? @?
???
9? @??
<r @???????
??? ??
?@
??
?? O?
??
???
S??
U?
@? O?
???
Z?
??
?
??? ??
??
@?????????
?????????? @??
j
?
O?
(?? ??
(??
@?
??
?? @??
????
??
???
??
??
???
?????? ? ??
???
???? @??????????????????
f??
??? @??? 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 "DEFAULT_CACHE_TRIM_INTERVAL_MILLIS J !DEFAULT_USE_CACHE_FOR_ALL_THREADS Z %DEFAULT_DIRECT_MEMORY_CACHE_ALIGNMENT (DEFAULT_MAX_CACHED_BYTEBUFFERS_PER_CHUNK
MIN_PAGE_SIZE
ConstantValue MAX_CHUNK_SIZE trimTask Ljava/lang/Runnable; 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; chunkSize metric .Lio/netty/buffer/PooledByteBufAllocatorMetric; $assertionsDisabled ()V Code LineNumberTable LocalVariableTable this (Z)V preferDirect (IIII)V
nHeapArena nDirectArena pageSize maxOrder (ZIIII)V
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; (ZIIIIIII)V (ZIIIIIIIZ)V useCacheForAllThreads
(ZIIIIIIIZI)V arena HeapArena %Lio/netty/buffer/PoolArena$HeapArena; i metrics DirectArena 'Lio/netty/buffer/PoolArena$DirectArena; directMemoryCacheAlignment
pageShifts LocalVariableTypeTable
StackMapTable??
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>;???? newDirectBuffer directArena 2Lio/netty/buffer/PoolArena;? defaultNumHeapArena ()I defaultNumDirectArena defaultPageSize defaultMaxOrder defaultUseCacheForAllThreads ()Z defaultPreferDirect defaultTinyCacheSize defaultSmallCacheSize defaultNormalCacheSize %isDirectMemoryCacheAlignmentSupported isDirectBufferPooled hasThreadLocalCache freeThreadLocalCache 0()Lio/netty/buffer/PooledByteBufAllocatorMetric;
numHeapArenas numDirectArenas ()Ljava/util/List; 5()Ljava/util/List; numThreadLocalCaches arenas total Lio/netty/buffer/PoolArena<*>; [Lio/netty/buffer/PoolArena<*>; ? usedHeapMemory ()J usedDirectMemory
usedMemory ([Lio/netty/buffer/PoolArena;)J used "([Lio/netty/buffer/PoolArena<*>;)J #()Lio/netty/buffer/PoolThreadCache; trimCurrentThreadCache dumpStats ()Ljava/lang/String; a
heapArenasLen Ljava/lang/StringBuilder; directArenasLen~ *()Lio/netty/buffer/ByteBufAllocatorMetric;
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
access$700
access$800 >(Lio/netty/buffer/PooledByteBufAllocator;)Ljava/lang/Runnable; t Ljava/lang/Throwable; pageSizeFallbackCause maxOrderFallbackCause runtime Ljava/lang/Runtime; defaultMinNumArena defaultChunkSize??
SourceFile PooledByteBufAllocator.java java/lang/Integer ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? (io/netty/buffer/PooledByteBufAllocator$1 ? ;io/netty/buffer/PooledByteBufAllocator$PoolThreadLocalCache ? ? ? ? ? "java/lang/IllegalArgumentException +directMemoryCacheAlignment is not supported ? java/lang/StringBuilder ? ? directMemoryCacheAlignment: (expected: power of two) 9 ? ? ? ? java/util/ArrayList ?
#io/netty/buffer/PoolArena$HeapArena ??
? ?' %io/netty/buffer/PoolArena$DirectArena ? ? ,io/netty/buffer/PooledByteBufAllocatorMetric ? ? io/netty/buffer/PoolArena &io/netty/buffer/PooledByteBufAllocator
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/UnpooledUnsafeHeapByteBuf ? #io/netty/buffer/UnpooledHeapByteBuf !"# %io/netty/buffer/UnpooledDirectByteBuf$%&