classes.io.netty.buffer.PoolThreadCache.class Maven / Gradle / Ivy
???? 2a
O ?
Q ?
? ? O ? ?
? O ? ? ?
? ?
?
? ?
?
? ? ? O ? O ? O ? ? ?
O ? O ? ? ? ? ? O ? ? ?
O ? O ?
O ? O ? ? ?
? ? O ? O ? O ? O ?
?
) ?
.
O
O
O
O
( O
O
O
( R
?
; ?
?
O O
?
?
O!
("
O#
O$
(
?%
?&
O'
?()
*+,- InnerClasses MemoryRegionCache NormalMemoryRegionCache SubPageMemoryRegionCache logger /Lio/netty/util/internal/logging/InternalLogger; heapArena Lio/netty/buffer/PoolArena; Signature Lio/netty/buffer/PoolArena<[B>; directArena 2Lio/netty/buffer/PoolArena; tinySubPageHeapCaches 4[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache; 8[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<[B>; smallSubPageHeapCaches tinySubPageDirectCaches K[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache; smallSubPageDirectCaches normalHeapCaches normalDirectCaches numShiftsNormalDirect I numShiftsNormalHeap freeSweepAllocationThreshold allocations thread Ljava/lang/Thread; freeTask Ljava/lang/Runnable; >(Lio/netty/buffer/PoolArena;Lio/netty/buffer/PoolArena;IIIII)V Code LineNumberTable LocalVariableTable this !Lio/netty/buffer/PoolThreadCache;
tinyCacheSize smallCacheSize normalCacheSize maxCachedBufferCapacity LocalVariableTypeTable
StackMapTable). Y(Lio/netty/buffer/PoolArena<[B>;Lio/netty/buffer/PoolArena;IIIII)V createSubPageCaches/ SizeClass ](IILio/netty/buffer/PoolArena$SizeClass;)[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache; i cache cacheSize numCaches sizeClass %Lio/netty/buffer/PoolArena$SizeClass; 9[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache; a x(IILio/netty/buffer/PoolArena$SizeClass;)[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache; createNormalCaches S(IILio/netty/buffer/PoolArena;)[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache; max arraySize area Lio/netty/buffer/PoolArena; s(IILio/netty/buffer/PoolArena;)[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache; log2 (I)I val res allocateTiny ?(Lio/netty/buffer/PoolArena;Lio/netty/buffer/PooledByteBuf;II)Z buf Lio/netty/buffer/PooledByteBuf; reqCapacity normCapacity Lio/netty/buffer/PoolArena<*>; "Lio/netty/buffer/PooledByteBuf<*>; E(Lio/netty/buffer/PoolArena<*>;Lio/netty/buffer/PooledByteBuf<*>;II)Z
allocateSmall allocateNormal allocate V(Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;Lio/netty/buffer/PooledByteBuf;I)Z 3Lio/netty/buffer/PoolThreadCache$MemoryRegionCache; allocated Z 6Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>; Y(Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;Lio/netty/buffer/PooledByteBuf;I)Z add `(Lio/netty/buffer/PoolArena;Lio/netty/buffer/PoolChunk;JILio/netty/buffer/PoolArena$SizeClass;)Z chunk Lio/netty/buffer/PoolChunk; handle J c(Lio/netty/buffer/PoolArena<*>;Lio/netty/buffer/PoolChunk;JILio/netty/buffer/PoolArena$SizeClass;)Z v(Lio/netty/buffer/PoolArena;ILio/netty/buffer/PoolArena$SizeClass;)Lio/netty/buffer/PoolThreadCache$MemoryRegionCache; |(Lio/netty/buffer/PoolArena<*>;ILio/netty/buffer/PoolArena$SizeClass;)Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>; free ()V free0 numFreed 7([Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;)I c arr$ len$ i$ caches 7[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>; :([Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;)I 6(Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;)I 9(Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;)I trim 7([Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;)V :([Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;)V 6(Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;)V 9(Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;)V cacheForTiny Q(Lio/netty/buffer/PoolArena;I)Lio/netty/buffer/PoolThreadCache$MemoryRegionCache; idx W(Lio/netty/buffer/PoolArena<*>;I)Lio/netty/buffer/PoolThreadCache$MemoryRegionCache<*>;
cacheForSmall cacheForNormal j([Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;I)Lio/netty/buffer/PoolThreadCache$MemoryRegionCache; ?([Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;I)Lio/netty/buffer/PoolThreadCache$MemoryRegionCache;
access$000 $(Lio/netty/buffer/PoolThreadCache;)V x0
SourceFile PoolThreadCache.java ? ? r ?012 n o !io/netty/buffer/PoolThreadCache$1 r ? p q "java/lang/IllegalArgumentException java/lang/StringBuilder maxCachedBufferCapacity: 3435 (expected: >= 0)67 r8 freeSweepAllocationThreshold: (expected: > 0) l j Z [ ^ [9 ? ? ? d a.: j; ? f a<