final class io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf extends io.netty.buffer.UnpooledUnsafeDirectByteBuf
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf
super_class: io.netty.buffer.UnpooledUnsafeDirectByteBuf
{
private static final io.netty.util.Recycler<io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf> RECYCLER;
descriptor: Lio/netty/util/Recycler;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lio/netty/util/Recycler<Lio/netty/buffer/ByteBufUtil$ThreadLocalUnsafeDirectByteBuf;>;
private final io.netty.util.Recycler$Handle<io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf> handle;
descriptor: Lio/netty/util/Recycler$Handle;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/netty/util/Recycler$Handle<Lio/netty/buffer/ByteBufUtil$ThreadLocalUnsafeDirectByteBuf;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf$1
dup
invokespecial io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf$1.<init>:()V
1: putstatic io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf.RECYCLER:Lio/netty/util/Recycler;
2: return
LocalVariableTable:
Start End Slot Name Signature
static io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf newInstance();
descriptor: ()Lio/netty/buffer/ByteBufUtil$ThreadLocalUnsafeDirectByteBuf;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf.RECYCLER:Lio/netty/util/Recycler;
invokevirtual io.netty.util.Recycler.get:()Ljava/lang/Object;
checkcast io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf
astore 0
start local 0 1: aload 0
iconst_1
invokevirtual io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf.setRefCnt:(I)V
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 buf Lio/netty/buffer/ByteBufUtil$ThreadLocalUnsafeDirectByteBuf;
private void <init>(io.netty.util.Recycler$Handle<io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf>);
descriptor: (Lio/netty/util/Recycler$Handle;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.netty.buffer.UnpooledByteBufAllocator.DEFAULT:Lio/netty/buffer/UnpooledByteBufAllocator;
sipush 256
ldc 2147483647
invokespecial io.netty.buffer.UnpooledUnsafeDirectByteBuf.<init>:(Lio/netty/buffer/ByteBufAllocator;II)V
1: aload 0
aload 1
putfield io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf.handle:Lio/netty/util/Recycler$Handle;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/buffer/ByteBufUtil$ThreadLocalUnsafeDirectByteBuf;
0 3 1 handle Lio/netty/util/Recycler$Handle<Lio/netty/buffer/ByteBufUtil$ThreadLocalUnsafeDirectByteBuf;>;
Signature: (Lio/netty/util/Recycler$Handle<Lio/netty/buffer/ByteBufUtil$ThreadLocalUnsafeDirectByteBuf;>;)V
MethodParameters:
Name Flags
handle
protected void deallocate();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf.capacity:()I
getstatic io.netty.buffer.ByteBufUtil.THREAD_LOCAL_BUFFER_SIZE:I
if_icmple 3
1: aload 0
invokespecial io.netty.buffer.UnpooledUnsafeDirectByteBuf.deallocate:()V
2: goto 5
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf.clear:()Lio/netty/buffer/ByteBuf;
pop
4: aload 0
getfield io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf.handle:Lio/netty/util/Recycler$Handle;
aload 0
invokeinterface io.netty.util.Recycler$Handle.recycle:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/buffer/ByteBufUtil$ThreadLocalUnsafeDirectByteBuf;
}
SourceFile: "ByteBufUtil.java"
NestHost: io.netty.buffer.ByteBufUtil
InnerClasses:
final ThreadLocalUnsafeDirectByteBuf = io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf of io.netty.buffer.ByteBufUtil
io.netty.buffer.ByteBufUtil$ThreadLocalUnsafeDirectByteBuf$1
public abstract Handle = io.netty.util.Recycler$Handle of io.netty.util.Recycler