final class org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool implements org.glassfish.grizzly.memory.ThreadLocalPool<org.glassfish.grizzly.memory.HeapBuffer>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool
super_class: java.lang.Object
{
private byte[] pool;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int leftPos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int rightPos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int start;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int end;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.nio.ByteBuffer[] byteBufferCache;
descriptor: [Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int byteBufferCacheSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final org.glassfish.grizzly.memory.HeapMemoryManager mm;
descriptor: Lorg/glassfish/grizzly/memory/HeapMemoryManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.glassfish.grizzly.memory.HeapMemoryManager);
descriptor: (Lorg/glassfish/grizzly/memory/HeapMemoryManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
bipush 8
invokespecial org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.<init>:(Lorg/glassfish/grizzly/memory/HeapMemoryManager;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
0 2 1 mm Lorg/glassfish/grizzly/memory/HeapMemoryManager;
MethodParameters:
Name Flags
mm final
public void <init>(org.glassfish.grizzly.memory.HeapMemoryManager, int);
descriptor: (Lorg/glassfish/grizzly/memory/HeapMemoryManager;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCacheSize:I
2: aload 0
iload 2
anewarray java.nio.ByteBuffer
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCache:[Ljava/nio/ByteBuffer;
3: aload 0
aload 1
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.mm:Lorg/glassfish/grizzly/memory/HeapMemoryManager;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
0 5 1 mm Lorg/glassfish/grizzly/memory/HeapMemoryManager;
0 5 2 maxByteBufferCacheSize I
MethodParameters:
Name Flags
mm final
maxByteBufferCacheSize final
public org.glassfish.grizzly.memory.HeapBuffer allocate(int);
descriptor: (I)Lorg/glassfish/grizzly/memory/HeapBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.mm:Lorg/glassfish/grizzly/memory/HeapMemoryManager;
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.pool:[B
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
iload 1
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager.createTrimAwareBuffer:([BII)Lorg/glassfish/grizzly/memory/HeapMemoryManager$TrimmableHeapBuffer;
astore 2
start local 2 1: aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCacheSize:I
ifle 4
2: aload 2
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCache:[Ljava/nio/ByteBuffer;
aload 0
dup
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCacheSize:I
iconst_1
isub
dup_x1
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCacheSize:I
aaload
putfield org.glassfish.grizzly.memory.HeapBuffer.byteBuffer:Ljava/nio/ByteBuffer;
3: aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCache:[Ljava/nio/ByteBuffer;
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCacheSize:I
aconst_null
aastore
4: StackMap locals: org.glassfish.grizzly.memory.HeapBuffer
StackMap stack:
aload 0
dup
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
iload 1
iadd
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
0 6 1 size I
1 6 2 allocated Lorg/glassfish/grizzly/memory/HeapBuffer;
MethodParameters:
Name Flags
size final
public org.glassfish.grizzly.memory.HeapBuffer reallocate(org.glassfish.grizzly.memory.HeapBuffer, int);
descriptor: (Lorg/glassfish/grizzly/memory/HeapBuffer;I)Lorg/glassfish/grizzly/memory/HeapBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.isLastAllocated:(Lorg/glassfish/grizzly/memory/HeapBuffer;)Z
ifeq 6
aload 0
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.remaining:()I
iload 2
aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.cap:I
isub
dup
istore 3
start local 3 1: if_icmplt 6
2: aload 0
dup
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
iload 3
iadd
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
3: aload 1
iload 2
putfield org.glassfish.grizzly.memory.HeapBuffer.cap:I
4: aload 1
iload 2
putfield org.glassfish.grizzly.memory.HeapBuffer.lim:I
5: aload 1
areturn
end local 3 6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
0 7 1 heapBuffer Lorg/glassfish/grizzly/memory/HeapBuffer;
0 7 2 newSize I
1 6 3 diff I
MethodParameters:
Name Flags
heapBuffer final
newSize final
public boolean release(org.glassfish.grizzly.memory.HeapBuffer);
descriptor: (Lorg/glassfish/grizzly/memory/HeapBuffer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.byteBuffer:Ljava/nio/ByteBuffer;
ifnull 1
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCacheSize:I
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCache:[Ljava/nio/ByteBuffer;
arraylength
if_icmpge 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: aload 0
aload 1
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.isLastAllocated:(Lorg/glassfish/grizzly/memory/HeapBuffer;)Z
ifeq 9
4: aload 0
dup
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.cap:I
isub
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
5: aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.leftPos:I
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
if_icmpne 7
6: aload 0
aload 0
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.start:I
dup_x1
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.leftPos:I
7: StackMap locals: int
StackMap stack:
iconst_1
istore 3
start local 3 8: goto 23
end local 3 StackMap locals:
StackMap stack:
9: aload 0
aload 1
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.isReleasableLeft:(Lorg/glassfish/grizzly/memory/HeapBuffer;)Z
ifeq 15
10: aload 0
dup
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.leftPos:I
aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.cap:I
iadd
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.leftPos:I
11: aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.leftPos:I
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
if_icmpne 13
12: aload 0
aload 0
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.start:I
dup_x1
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.leftPos:I
13: StackMap locals:
StackMap stack:
iconst_1
istore 3
start local 3 14: goto 23
end local 3 StackMap locals:
StackMap stack:
15: aload 0
aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.cap:I
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.wantReset:(I)Z
ifeq 19
16: aload 0
aload 1
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.reset:(Lorg/glassfish/grizzly/memory/HeapBuffer;)V
17: iconst_1
istore 3
start local 3 18: goto 23
end local 3 19: StackMap locals:
StackMap stack:
iload 2
ifeq 20
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.pool:[B
aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.heap:[B
if_acmpne 20
iconst_1
goto 21
StackMap locals:
StackMap stack:
20: iconst_0
StackMap locals:
StackMap stack: int
21: istore 2
22: iconst_0
istore 3
start local 3 23: StackMap locals: int
StackMap stack:
iload 2
ifeq 25
24: aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCache:[Ljava/nio/ByteBuffer;
aload 0
dup
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCacheSize:I
dup_x1
iconst_1
iadd
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCacheSize:I
aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.byteBuffer:Ljava/nio/ByteBuffer;
aastore
25: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
0 26 1 heapBuffer Lorg/glassfish/grizzly/memory/HeapBuffer;
3 26 2 canCacheByteBuffer Z
8 9 3 result Z
14 15 3 result Z
18 19 3 result Z
23 26 3 result Z
MethodParameters:
Name Flags
heapBuffer final
public void reset(org.glassfish.grizzly.memory.HeapBuffer);
descriptor: (Lorg/glassfish/grizzly/memory/HeapBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.heap:[B
aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.offset:I
aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.cap:I
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.reset:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
0 2 1 heapBuffer Lorg/glassfish/grizzly/memory/HeapBuffer;
MethodParameters:
Name Flags
heapBuffer final
public void reset(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.pool:[B
aload 1
if_acmpeq 3
1: aload 0
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.clearByteBufferCache:()V
2: aload 0
aload 1
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.pool:[B
3: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 0
iload 2
dup_x1
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.start:I
dup_x1
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.leftPos:I
4: aload 0
iload 2
iload 3
iadd
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.end:I
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
0 6 1 heap [B
0 6 2 offset I
0 6 3 capacity I
MethodParameters:
Name Flags
heap final
offset final
capacity final
public boolean wantReset(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.remaining:()I
isub
sipush 1024
if_icmple 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
0 2 1 size I
MethodParameters:
Name Flags
size final
public boolean isLastAllocated(org.glassfish.grizzly.memory.HeapBuffer);
descriptor: (Lorg/glassfish/grizzly/memory/HeapBuffer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.heap:[B
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.pool:[B
if_acmpne 1
aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.offset:I
aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.cap:I
iadd
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
0 2 1 oldHeapBuffer Lorg/glassfish/grizzly/memory/HeapBuffer;
MethodParameters:
Name Flags
oldHeapBuffer final
private boolean isReleasableLeft(org.glassfish.grizzly.memory.HeapBuffer);
descriptor: (Lorg/glassfish/grizzly/memory/HeapBuffer;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.heap:[B
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.pool:[B
if_acmpne 1
aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.offset:I
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.leftPos:I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
0 2 1 oldHeapBuffer Lorg/glassfish/grizzly/memory/HeapBuffer;
MethodParameters:
Name Flags
oldHeapBuffer final
public org.glassfish.grizzly.memory.HeapBuffer reduceLastAllocated(org.glassfish.grizzly.memory.HeapBuffer);
descriptor: (Lorg/glassfish/grizzly/memory/HeapBuffer;)Lorg/glassfish/grizzly/memory/HeapBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.offset:I
aload 1
getfield org.glassfish.grizzly.memory.HeapBuffer.cap:I
iadd
istore 2
start local 2 1: aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.mm:Lorg/glassfish/grizzly/memory/HeapMemoryManager;
getfield org.glassfish.grizzly.memory.HeapMemoryManager.monitoringConfig:Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
iload 2
isub
invokestatic org.glassfish.grizzly.memory.ProbeNotifier.notifyBufferReleasedToPool:(Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;I)V
2: aload 0
iload 2
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
3: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
0 4 1 heapBuffer Lorg/glassfish/grizzly/memory/HeapBuffer;
1 4 2 newPos I
MethodParameters:
Name Flags
heapBuffer final
public int remaining();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.end:I
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
public boolean hasRemaining();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.end:I
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
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 "(pool="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.pool:[B
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " pos="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.rightPos:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " cap="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.end:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)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/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
private void clearByteBufferCache();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCache:[Ljava/nio/ByteBuffer;
iconst_0
aload 0
getfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCacheSize:I
aconst_null
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;IILjava/lang/Object;)V
1: aload 0
iconst_0
putfield org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.byteBufferCacheSize:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/memory/HeapMemoryManager$HeapBufferThreadLocalPool;
public void reset(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.glassfish.grizzly.memory.HeapBuffer
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.reset:(Lorg/glassfish/grizzly/memory/HeapBuffer;)V
return
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object allocate(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.allocate:(I)Lorg/glassfish/grizzly/memory/HeapBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isLastAllocated(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.glassfish.grizzly.memory.HeapBuffer
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.isLastAllocated:(Lorg/glassfish/grizzly/memory/HeapBuffer;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object reallocate(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.glassfish.grizzly.memory.HeapBuffer
iload 2
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.reallocate:(Lorg/glassfish/grizzly/memory/HeapBuffer;I)Lorg/glassfish/grizzly/memory/HeapBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean release(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.glassfish.grizzly.memory.HeapBuffer
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.release:(Lorg/glassfish/grizzly/memory/HeapBuffer;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object reduceLastAllocated(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.glassfish.grizzly.memory.HeapBuffer
invokevirtual org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool.reduceLastAllocated:(Lorg/glassfish/grizzly/memory/HeapBuffer;)Lorg/glassfish/grizzly/memory/HeapBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/glassfish/grizzly/memory/ThreadLocalPool<Lorg/glassfish/grizzly/memory/HeapBuffer;>;
SourceFile: "HeapMemoryManager.java"
NestHost: org.glassfish.grizzly.memory.HeapMemoryManager
InnerClasses:
private final HeapBufferThreadLocalPool = org.glassfish.grizzly.memory.HeapMemoryManager$HeapBufferThreadLocalPool of org.glassfish.grizzly.memory.HeapMemoryManager
private final TrimmableHeapBuffer = org.glassfish.grizzly.memory.HeapMemoryManager$TrimmableHeapBuffer of org.glassfish.grizzly.memory.HeapMemoryManager