class io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf extends io.netty.buffer.UnpooledUnsafeDirectByteBuf
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf
super_class: io.netty.buffer.UnpooledUnsafeDirectByteBuf
{
void <init>(io.netty.buffer.ByteBufAllocator, int, int);
descriptor: (Lio/netty/buffer/ByteBufAllocator;II)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokespecial io.netty.buffer.UnpooledUnsafeDirectByteBuf.<init>:(Lio/netty/buffer/ByteBufAllocator;II)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledUnsafeNoCleanerDirectByteBuf;
0 2 1 alloc Lio/netty/buffer/ByteBufAllocator;
0 2 2 initialCapacity I
0 2 3 maxCapacity I
MethodParameters:
Name Flags
alloc
initialCapacity
maxCapacity
protected java.nio.ByteBuffer allocateDirect(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic io.netty.util.internal.PlatformDependent.allocateDirectNoCleaner:(I)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeNoCleanerDirectByteBuf;
0 1 1 initialCapacity I
MethodParameters:
Name Flags
initialCapacity
java.nio.ByteBuffer reallocateDirect(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
invokestatic io.netty.util.internal.PlatformDependent.reallocateDirectNoCleaner:(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeNoCleanerDirectByteBuf;
0 1 1 oldBuffer Ljava/nio/ByteBuffer;
0 1 2 initialCapacity I
MethodParameters:
Name Flags
oldBuffer
initialCapacity
protected void freeDirect(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.netty.util.internal.PlatformDependent.freeDirectNoCleaner:(Ljava/nio/ByteBuffer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledUnsafeNoCleanerDirectByteBuf;
0 2 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public io.netty.buffer.ByteBuf capacity(int);
descriptor: (I)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf.checkNewCapacity:(I)V
1: aload 0
invokevirtual io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf.capacity:()I
istore 2
start local 2 2: iload 1
iload 2
if_icmpne 4
3: aload 0
areturn
4: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf.reallocateDirect:(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
astore 3
start local 3 5: iload 1
iload 2
if_icmpge 11
6: aload 0
invokevirtual io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf.readerIndex:()I
iload 1
if_icmpge 10
7: aload 0
invokevirtual io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf.writerIndex:()I
iload 1
if_icmple 11
8: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf.writerIndex:(I)Lio/netty/buffer/ByteBuf;
pop
9: goto 11
10: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
iload 1
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf.setIndex:(II)Lio/netty/buffer/ByteBuf;
pop
11: StackMap locals:
StackMap stack:
aload 0
aload 3
iconst_0
invokevirtual io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf.setByteBuffer:(Ljava/nio/ByteBuffer;Z)V
12: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/netty/buffer/UnpooledUnsafeNoCleanerDirectByteBuf;
0 13 1 newCapacity I
2 13 2 oldCapacity I
5 13 3 newBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
newCapacity
}
SourceFile: "UnpooledUnsafeNoCleanerDirectByteBuf.java"