io.netty.buffer.PoolThreadCache.class Maven / Gradle / Ivy
???? 2e io/netty/buffer/PoolThreadCache java/lang/Object PoolThreadCache.java !io/netty/buffer/PoolThreadCache$2 1io/netty/buffer/PoolThreadCache$MemoryRegionCache MemoryRegionCache 7io/netty/buffer/PoolThreadCache$NormalMemoryRegionCache NormalMemoryRegionCache 8io/netty/buffer/PoolThreadCache$SubPageMemoryRegionCache SubPageMemoryRegionCache !io/netty/buffer/PoolThreadCache$1 #io/netty/buffer/PoolArena$SizeClass io/netty/buffer/PoolArena SizeClass logger /Lio/netty/util/internal/logging/InternalLogger; heapArena Lio/netty/buffer/PoolArena; 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 deathWatchThread Ljava/lang/Thread; freeTask Ljava/lang/Runnable; allocations $assertionsDisabled Z >(Lio/netty/buffer/PoolArena;Lio/netty/buffer/PoolArena;IIIII)V ()V 3 5
6 "java/lang/IllegalArgumentException 8 java/lang/StringBuilder :
; 6 maxCachedBufferCapacity: = append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? @
; A (I)Ljava/lang/StringBuilder; ? C
; D (expected: >= 0) F toString ()Ljava/lang/String; H I
; J (Ljava/lang/String;)V 3 L
9 M freeSweepAllocationThreshold: O (expected: > 0) Q + ) S U W Tiny %Lio/netty/buffer/PoolArena$SizeClass; Y Z [ createSubPageCaches ](IILio/netty/buffer/PoolArena$SizeClass;)[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache; ] ^
_ # a numSmallSubpagePools c ) d Small f Z g % i pageSize k ) l log2 (I)I n o
p ( ) r createNormalCaches S(IILio/netty/buffer/PoolArena;)[Lio/netty/buffer/PoolThreadCache$MemoryRegionCache; t u
v ' x numThreadCaches +Ljava/util/concurrent/atomic/AtomicInteger; z { | )java/util/concurrent/atomic/AtomicInteger ~ getAndIncrement ()I ? ?
? ? " ? * ) ? &