io.netty.buffer.PoolArena$DirectArena.class Maven / Gradle / Ivy
???? 2 ? %io/netty/buffer/PoolArena$DirectArena 2Lio/netty/buffer/PoolArena; io/netty/buffer/PoolArena PoolArena.java DirectArena 0(Lio/netty/buffer/PooledByteBufAllocator;IIIII)V
this 'Lio/netty/buffer/PoolArena$DirectArena; parent (Lio/netty/buffer/PooledByteBufAllocator; pageSize I maxOrder
pageShifts chunkSize directMemoryCacheAlignment isDirect ()Z offsetCacheLine (Ljava/nio/ByteBuffer;)I
HAS_UNSAFE Z (io/netty/util/internal/PlatformDependent directBufferAddress (Ljava/nio/ByteBuffer;)J !
" directMemoryCacheAlignmentMask $ % memory Ljava/nio/ByteBuffer; newChunk !(IIII)Lio/netty/buffer/PoolChunk; + io/netty/buffer/PoolChunk - allocateDirect (I)Ljava/nio/ByteBuffer; / 0
1 5(Lio/netty/buffer/PoolArena;Ljava/lang/Object;IIIII)V 3
. 4
6 newUnpooledChunk (I)Lio/netty/buffer/PoolChunk; 2(Lio/netty/buffer/PoolArena;Ljava/lang/Object;II)V :
. ; capacity useDirectBufferNoCleaner >
? allocateDirectNoCleaner A 0
B java/nio/ByteBuffer D
E 1 destroyChunk (Lio/netty/buffer/PoolChunk;)V Ljava/lang/Object; ' I . J freeDirectNoCleaner (Ljava/nio/ByteBuffer;)V L M
N freeDirectBuffer P M
Q chunk 2Lio/netty/buffer/PoolChunk; Lio/netty/buffer/PoolChunk;
newByteBuf "(I)Lio/netty/buffer/PooledByteBuf; )io/netty/buffer/PooledUnsafeDirectByteBuf X newInstance .(I)Lio/netty/buffer/PooledUnsafeDirectByteBuf; Z [
Y \ #io/netty/buffer/PooledDirectByteBuf ^ ((I)Lio/netty/buffer/PooledDirectByteBuf; Z `
_ a maxCapacity
memoryCopy 0(Ljava/nio/ByteBuffer;ILjava/nio/ByteBuffer;II)V
copyMemory (JJJ)V f g
h duplicate ()Ljava/nio/ByteBuffer; j k
E l position (I)Ljava/nio/Buffer; n o
E p java/nio/Buffer r limit t o
s u put ,(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer; w x
E y src srcOffset dst dstOffset length *(Ljava/lang/Object;ILjava/lang/Object;II)V d e
? Code LocalVariableTable LineNumberTable
StackMapTable Signature 8(IIII)Lio/netty/buffer/PoolChunk; 5(I)Lio/netty/buffer/PoolChunk; LocalVariableTypeTable 5(Lio/netty/buffer/PoolChunk;)V 9(I)Lio/netty/buffer/PooledByteBuf;
SourceFile InnerClasses 0
? x *+? ? ? H
?
?
? ? , ? ?
? ? ? ] ? ? +? #*? &??? ? ?
' ( ? ? ? ? ? @ ) * ? ?
=*? ,? ? .Y*? 2? 5?*? ,`? 2:? .Y**? 7? 5? ? > =
= = = = ' ' ( ? " ? ? ? ? ? '? 6? <? ? ? ? 8 9 ? ? 0*? ,? ? .Y*? 2? *? ,`? 2M? .Y*,*,? 7?