![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.buffer.PoolChunk.class Maven / Gradle / Ivy
The newest version!
???? 2] ?
. ? K ? K ? K ? K ? K ? K ? K ? K ? K ?
K ? K ? K ? K ? K ? ? ?
? ?
?
?
?
? K ? K ? K ?
K ? K ? ?
? K ? ?
K ? d
K ?
K ? ? ? ?
K ?
K ?
K ?
K
K
K
K
K
K
!
!
!
K
K !
? !????
!
K ? ?
K!"
#$
%&
'()
*
+
,-. INTEGER_SIZE_MINUS_ONE I
ConstantValue arena Lio/netty/buffer/PoolArena; Signature Lio/netty/buffer/PoolArena; memory Ljava/lang/Object; TT; unpooled Z offset memoryMap [B depthMap subpages [Lio/netty/buffer/PoolSubpage; #[Lio/netty/buffer/PoolSubpage; subpageOverflowMask pageSize
pageShifts maxOrder chunkSize
log2ChunkSize maxSubpageAllocs unusable B cachedNioBuffers Ljava/util/Deque; (Ljava/util/Deque; freeBytes parent Lio/netty/buffer/PoolChunkList; $Lio/netty/buffer/PoolChunkList; prev Lio/netty/buffer/PoolChunk; Lio/netty/buffer/PoolChunk; next $assertionsDisabled 5(Lio/netty/buffer/PoolArena;Ljava/lang/Object;IIIII)V Code LineNumberTable LocalVariableTable p depth d this memoryMapIndex LocalVariableTypeTable
StackMapTable"/ +(Lio/netty/buffer/PoolArena;TT;IIIII)V 2(Lio/netty/buffer/PoolArena;Ljava/lang/Object;II)V size ((Lio/netty/buffer/PoolArena;TT;II)V newSubpageArray !(I)[Lio/netty/buffer/PoolSubpage; &(I)[Lio/netty/buffer/PoolSubpage; usage ()I0 (I)I freePercentage allocate $(Lio/netty/buffer/PooledByteBuf;II)Z handle J buf Lio/netty/buffer/PooledByteBuf; reqCapacity normCapacity nioBuffer Ljava/nio/ByteBuffer; $Lio/netty/buffer/PooledByteBuf; ? )(Lio/netty/buffer/PooledByteBuf;II)Z updateParentsAlloc (I)V parentId val1 val2 val id updateParentsFree logChild allocateNode initial value allocateRun (I)J allocateSubpage
subpageIdx subpage Lio/netty/buffer/PoolSubpage; head "Lio/netty/buffer/PoolSubpage; ? h free (JLjava/nio/ByteBuffer;)V memoryMapIdx bitmapIdx initBuf 9(Lio/netty/buffer/PooledByteBuf;Ljava/nio/ByteBuffer;JI)V >(Lio/netty/buffer/PooledByteBuf;Ljava/nio/ByteBuffer;JI)V initBufWithSubpage :(Lio/netty/buffer/PooledByteBuf;Ljava/nio/ByteBuffer;JII)V ?(Lio/netty/buffer/PooledByteBuf;Ljava/nio/ByteBuffer;JII)V (I)B setValue (IB)V log2 runLength runOffset shift (J)I toString ()Ljava/lang/String; destroy ()V ILjava/lang/Object;Lio/netty/buffer/PoolChunkMetric;
SourceFile PoolChunk.java java/lang/Integer ? a b Z [ ^ _ k W l W m W n W c W q r ? ? o W j W v W ~ b java/lang/AssertionError java/lang/StringBuilder !maxOrder should be < 30, but is: 1213 ? ? 4 p W d e f e ? ? g h java/util/ArrayDeque ? s t io/netty/buffer/PoolSubpage ? ? ? ? ? ?567 java/nio/ByteBuffer ? ? ? ? ? ? ? ? #val = %d, id & initial = %d, d = %d java/lang/Object89:9;<=> ? ? ? ? ? ?/?@ ? ? ? ? ABC ?D ? ? ? ?E bF W ?G ? ? ? ?HI WJK9L wMNOPBQ ? ? io/netty/buffer/PoolChunkR ? Chunk(STUVL : %, 1WXYZ[\ io/netty/buffer/PoolChunkMetric io/netty/buffer/PoolArena java/lang/Throwable append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; (Ljava/lang/Object;)V java/util/Deque pollLast ()Ljava/lang/Object; java/lang/Byte valueOf (B)Ljava/lang/Byte; (I)Ljava/lang/Integer; java/lang/String format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; findSubpagePoolHead (I)Lio/netty/buffer/PoolSubpage; ?(Lio/netty/buffer/PoolSubpage;Lio/netty/buffer/PoolChunk;IIII)V init !(Lio/netty/buffer/PoolSubpage;I)V ()J doNotDestroy elemSize !(Lio/netty/buffer/PoolSubpage;I)Z &io/netty/buffer/PooledByteBufAllocator (DEFAULT_MAX_CACHED_BYTEBUFFERS_PER_CHUNK offer (Ljava/lang/Object;)Z (I)Ljava/lang/String; (Lio/netty/buffer/PooledByteBufAllocator; threadCache #()Lio/netty/buffer/PoolThreadCache; io/netty/buffer/PooledByteBuf X(Lio/netty/buffer/PoolChunk;Ljava/nio/ByteBuffer;JIIILio/netty/buffer/PoolThreadCache;)V numberOfLeadingZeros java/lang/System identityHashCode (Ljava/lang/Object;)I toHexString (C)Ljava/lang/StringBuilder; destroyChunk (Lio/netty/buffer/PoolChunk;)V java/lang/Class desiredAssertionStatus ()Z 0 K . U V W X Y Z [ \ ] ^ _ \ ` a b c W d e f e g h \ i j W k W l W m W n W o W p W q r s t \ u v W w x \ y z { \ | } { \ | ~ b ? ? N ?*? *? *+? *,? *? *? *? *? *?
*`?? *? ?
*d?? *? ? ? &? ? Y? Y? ? ? ? ? ?*x? **? x?? **? ??? 66 ? 6 x6
6
? *? ?T*? ?T????߄ ???***? ? ? *? Y? ? ? ? v ? ? ? ? ? ? ? $ ? * ? 0 ? 9 ? B ? K ? Q ? z ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? z ? $ ? W ? ' ? W
? : ? W ? ? { ? Z [ ? ^ _ ? k W ? m W ? l W ? n W ? c W ? W ? W ? ? ? | ? Z ] ? ^ ` ? ' ? z ? ? ? ? $? ? #? \ ? ? ? b*? *? *+? *,? *?
*? *? *? *? *? *? *? **? `?? *? **? ? ?
*? *? ? ? J ? ? ? ? ? ? ? # ? ( ? - ? 2 ? 7 ? <