public final class org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper extends org.glassfish.grizzly.memory.ByteBufferWrapper implements org.glassfish.grizzly.Cacheable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper
super_class: org.glassfish.grizzly.memory.ByteBufferWrapper
{
final org.glassfish.grizzly.memory.ByteBufferManager this$0;
descriptor: Lorg/glassfish/grizzly/memory/ByteBufferManager;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.glassfish.grizzly.memory.ByteBufferManager, java.nio.ByteBuffer);
descriptor: (Lorg/glassfish/grizzly/memory/ByteBufferManager;Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper.this$0:Lorg/glassfish/grizzly/memory/ByteBufferManager;
1: aload 0
aload 2
invokespecial org.glassfish.grizzly.memory.ByteBufferWrapper.<init>:(Ljava/nio/ByteBuffer;)V
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/memory/ByteBufferManager$SmallByteBufferWrapper;
0 3 2 underlyingByteBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
this$0 final
underlyingByteBuffer
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.glassfish.grizzly.memory.ByteBufferWrapper.prepareDispose:()V
1: aload 0
getfield org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper.visible:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
2: aload 0
invokevirtual org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper.recycle:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/memory/ByteBufferManager$SmallByteBufferWrapper;
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper.visible:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 0
getfield org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper.this$0:Lorg/glassfish/grizzly/memory/ByteBufferManager;
getfield org.glassfish.grizzly.memory.ByteBufferManager.maxSmallBufferSize:I
if_icmpne 5
1: aload 0
iconst_0
putfield org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper.allowBufferDispose:Z
2: aload 0
aconst_null
putfield org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper.disposeStackTrace:Ljava/lang/Exception;
3: aload 0
getfield org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper.this$0:Lorg/glassfish/grizzly/memory/ByteBufferManager;
getfield org.glassfish.grizzly.memory.ByteBufferManager.SMALL_BUFFER_CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
aload 0
invokestatic org.glassfish.grizzly.ThreadCache.putToCache:(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;Ljava/lang/Object;)Z
ifeq 5
4: aload 0
getfield org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper.this$0:Lorg/glassfish/grizzly/memory/ByteBufferManager;
getfield org.glassfish.grizzly.memory.ByteBufferManager.monitoringConfig:Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
aload 0
getfield org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper.this$0:Lorg/glassfish/grizzly/memory/ByteBufferManager;
getfield org.glassfish.grizzly.memory.ByteBufferManager.maxSmallBufferSize:I
invokestatic org.glassfish.grizzly.memory.ProbeNotifier.notifyBufferReleasedToPool:(Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;I)V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/memory/ByteBufferManager$SmallByteBufferWrapper;
protected org.glassfish.grizzly.memory.ByteBufferWrapper wrapByteBuffer(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lorg/glassfish/grizzly/memory/ByteBufferWrapper;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper.this$0:Lorg/glassfish/grizzly/memory/ByteBufferManager;
aload 1
invokevirtual org.glassfish.grizzly.memory.ByteBufferManager.wrap:(Ljava/nio/ByteBuffer;)Lorg/glassfish/grizzly/memory/ByteBufferWrapper;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/memory/ByteBufferManager$SmallByteBufferWrapper;
0 1 1 byteBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
byteBuffer final
}
SourceFile: "ByteBufferManager.java"
NestHost: org.glassfish.grizzly.memory.ByteBufferManager
InnerClasses:
public final CachedTypeIndex = org.glassfish.grizzly.ThreadCache$CachedTypeIndex of org.glassfish.grizzly.ThreadCache
protected final SmallByteBufferWrapper = org.glassfish.grizzly.memory.ByteBufferManager$SmallByteBufferWrapper of org.glassfish.grizzly.memory.ByteBufferManager