final class org.xnio.ByteBufferSlicePool$PooledByteBuffer implements org.xnio.Pooled<java.nio.ByteBuffer>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.xnio.ByteBufferSlicePool$PooledByteBuffer
super_class: java.lang.Object
{
private final org.xnio.ByteBufferSlicePool$Slice region;
descriptor: Lorg/xnio/ByteBufferSlicePool$Slice;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0000)
final org.xnio.ByteBufferSlicePool this$0;
descriptor: Lorg/xnio/ByteBufferSlicePool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.xnio.ByteBufferSlicePool, org.xnio.ByteBufferSlicePool$Slice, java.nio.ByteBuffer);
descriptor: (Lorg/xnio/ByteBufferSlicePool;Lorg/xnio/ByteBufferSlicePool$Slice;Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.this$0:Lorg/xnio/ByteBufferSlicePool;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.region:Lorg/xnio/ByteBufferSlicePool$Slice;
2: aload 0
aload 3
putfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.buffer:Ljava/nio/ByteBuffer;
3: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/xnio/ByteBufferSlicePool$PooledByteBuffer;
0 4 2 region Lorg/xnio/ByteBufferSlicePool$Slice;
0 4 3 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
this$0 final
region final
buffer final
public void discard();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.buffer:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 0
aconst_null
putfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.buffer:Ljava/nio/ByteBuffer;
2: aload 1
ifnull 4
3: aload 0
getfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.this$0:Lorg/xnio/ByteBufferSlicePool;
getfield org.xnio.ByteBufferSlicePool.refSet:Ljava/util/Set;
new org.xnio.ByteBufferSlicePool$Ref
dup
aload 0
getfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.this$0:Lorg/xnio/ByteBufferSlicePool;
aload 1
aload 0
getfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.region:Lorg/xnio/ByteBufferSlicePool$Slice;
invokespecial org.xnio.ByteBufferSlicePool$Ref.<init>:(Lorg/xnio/ByteBufferSlicePool;Ljava/nio/ByteBuffer;Lorg/xnio/ByteBufferSlicePool$Slice;)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals: java.nio.ByteBuffer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/xnio/ByteBufferSlicePool$PooledByteBuffer;
1 5 1 buffer Ljava/nio/ByteBuffer;
public void free();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.buffer:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 0
aconst_null
putfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.buffer:Ljava/nio/ByteBuffer;
2: aload 1
ifnull 4
3: aload 0
getfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.this$0:Lorg/xnio/ByteBufferSlicePool;
aload 0
getfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.region:Lorg/xnio/ByteBufferSlicePool$Slice;
invokevirtual org.xnio.ByteBufferSlicePool.doFree:(Lorg/xnio/ByteBufferSlicePool$Slice;)V
4: StackMap locals: java.nio.ByteBuffer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/xnio/ByteBufferSlicePool$PooledByteBuffer;
1 5 1 buffer Ljava/nio/ByteBuffer;
public java.nio.ByteBuffer getResource();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.buffer:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
invokeinterface org.xnio._private.Messages.bufferFreed:()Ljava/lang/IllegalStateException;
athrow
3: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/xnio/ByteBufferSlicePool$PooledByteBuffer;
1 4 1 buffer Ljava/nio/ByteBuffer;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.xnio.ByteBufferSlicePool$PooledByteBuffer.free:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/ByteBufferSlicePool$PooledByteBuffer;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Pooled buffer "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.xnio.ByteBufferSlicePool$PooledByteBuffer.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/ByteBufferSlicePool$PooledByteBuffer;
public java.lang.Object getResource();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.xnio.ByteBufferSlicePool$PooledByteBuffer.getResource:()Ljava/nio/ByteBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.IllegalStateException
}
Signature: Ljava/lang/Object;Lorg/xnio/Pooled<Ljava/nio/ByteBuffer;>;
SourceFile: "ByteBufferSlicePool.java"
NestHost: org.xnio.ByteBufferSlicePool
InnerClasses:
private final PooledByteBuffer = org.xnio.ByteBufferSlicePool$PooledByteBuffer of org.xnio.ByteBufferSlicePool
final Ref = org.xnio.ByteBufferSlicePool$Ref of org.xnio.ByteBufferSlicePool
private final Slice = org.xnio.ByteBufferSlicePool$Slice of org.xnio.ByteBufferSlicePool