public class org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator extends org.apache.lucene.util.ByteBlockPool$Allocator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator
super_class: org.apache.lucene.util.ByteBlockPool$Allocator
{
private final org.apache.lucene.util.Counter bytesUsed;
descriptor: Lorg/apache/lucene/util/Counter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.lucene.util.Counter);
descriptor: (Lorg/apache/lucene/util/Counter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc 32768
aload 1
invokespecial org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator.<init>:(ILorg/apache/lucene/util/Counter;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/ByteBlockPool$DirectTrackingAllocator;
0 2 1 bytesUsed Lorg/apache/lucene/util/Counter;
MethodParameters:
Name Flags
bytesUsed
public void <init>(int, org.apache.lucene.util.Counter);
descriptor: (ILorg/apache/lucene/util/Counter;)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
iload 1
invokespecial org.apache.lucene.util.ByteBlockPool$Allocator.<init>:(I)V
1: aload 0
aload 2
putfield org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator.bytesUsed:Lorg/apache/lucene/util/Counter;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/ByteBlockPool$DirectTrackingAllocator;
0 3 1 blockSize I
0 3 2 bytesUsed Lorg/apache/lucene/util/Counter;
MethodParameters:
Name Flags
blockSize
bytesUsed
public byte[] getByteBlock();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator.bytesUsed:Lorg/apache/lucene/util/Counter;
aload 0
getfield org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator.blockSize:I
i2l
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
1: aload 0
getfield org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator.blockSize:I
newarray 8
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/ByteBlockPool$DirectTrackingAllocator;
public void recycleByteBlocks(byte[][], int, int);
descriptor: ([[BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator.bytesUsed:Lorg/apache/lucene/util/Counter;
iload 3
iload 2
isub
aload 0
getfield org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator.blockSize:I
imul
ineg
i2l
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
1: iload 2
istore 4
start local 4 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 1
iload 4
aconst_null
aastore
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 3
if_icmplt 3
end local 4 6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/util/ByteBlockPool$DirectTrackingAllocator;
0 7 1 blocks [[B
0 7 2 start I
0 7 3 end I
2 6 4 i I
MethodParameters:
Name Flags
blocks
start
end
}
SourceFile: "ByteBlockPool.java"
NestHost: org.apache.lucene.util.ByteBlockPool
InnerClasses:
public abstract Allocator = org.apache.lucene.util.ByteBlockPool$Allocator of org.apache.lucene.util.ByteBlockPool
public DirectTrackingAllocator = org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator of org.apache.lucene.util.ByteBlockPool