public final class org.apache.lucene.util.IntBlockPool
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.util.IntBlockPool
super_class: java.lang.Object
{
public static final int INT_BLOCK_SHIFT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 13
public static final int INT_BLOCK_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8192
public static final int INT_BLOCK_MASK;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8191
public int[][] buffers;
descriptor: [[I
flags: (0x0001) ACC_PUBLIC
private int bufferUpto;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public int intUpto;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int[] buffer;
descriptor: [I
flags: (0x0001) ACC_PUBLIC
public int intOffset;
descriptor: I
flags: (0x0001) ACC_PUBLIC
private final org.apache.lucene.util.IntBlockPool$Allocator allocator;
descriptor: Lorg/apache/lucene/util/IntBlockPool$Allocator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int[] NEXT_LEVEL_ARRAY;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int[] LEVEL_SIZE_ARRAY;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int FIRST_LEVEL_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lorg/apache/lucene/util/IntBlockPool;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.util.IntBlockPool.$assertionsDisabled:Z
3: bipush 10
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
dup
iconst_3
iconst_4
iastore
dup
iconst_4
iconst_5
iastore
dup
iconst_5
bipush 6
iastore
dup
bipush 6
bipush 7
iastore
dup
bipush 7
bipush 8
iastore
dup
bipush 8
bipush 9
iastore
dup
bipush 9
bipush 9
iastore
putstatic org.apache.lucene.util.IntBlockPool.NEXT_LEVEL_ARRAY:[I
4: bipush 10
newarray 10
dup
iconst_0
iconst_2
iastore
dup
iconst_1
iconst_4
iastore
dup
iconst_2
bipush 8
iastore
dup
iconst_3
bipush 16
iastore
dup
iconst_4
bipush 32
iastore
dup
iconst_5
bipush 64
iastore
dup
bipush 6
sipush 128
iastore
dup
bipush 7
sipush 256
iastore
dup
bipush 8
sipush 512
iastore
dup
bipush 9
sipush 1024
iastore
putstatic org.apache.lucene.util.IntBlockPool.LEVEL_SIZE_ARRAY:[I
5: getstatic org.apache.lucene.util.IntBlockPool.LEVEL_SIZE_ARRAY:[I
iconst_0
iaload
putstatic org.apache.lucene.util.IntBlockPool.FIRST_LEVEL_SIZE:I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new org.apache.lucene.util.IntBlockPool$DirectAllocator
dup
invokespecial org.apache.lucene.util.IntBlockPool$DirectAllocator.<init>:()V
invokespecial org.apache.lucene.util.IntBlockPool.<init>:(Lorg/apache/lucene/util/IntBlockPool$Allocator;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/IntBlockPool;
public void <init>(org.apache.lucene.util.IntBlockPool$Allocator);
descriptor: (Lorg/apache/lucene/util/IntBlockPool$Allocator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 10
anewarray int[]
putfield org.apache.lucene.util.IntBlockPool.buffers:[[I
2: aload 0
iconst_m1
putfield org.apache.lucene.util.IntBlockPool.bufferUpto:I
3: aload 0
sipush 8192
putfield org.apache.lucene.util.IntBlockPool.intUpto:I
4: aload 0
sipush -8192
putfield org.apache.lucene.util.IntBlockPool.intOffset:I
5: aload 0
aload 1
putfield org.apache.lucene.util.IntBlockPool.allocator:Lorg/apache/lucene/util/IntBlockPool$Allocator;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/util/IntBlockPool;
0 7 1 allocator Lorg/apache/lucene/util/IntBlockPool$Allocator;
MethodParameters:
Name Flags
allocator
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
iconst_1
invokevirtual org.apache.lucene.util.IntBlockPool.reset:(ZZ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/IntBlockPool;
public void reset(boolean, boolean);
descriptor: (ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.util.IntBlockPool.bufferUpto:I
iconst_m1
if_icmpeq 24
1: iload 1
ifeq 8
2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.util.IntBlockPool.buffers:[[I
iload 3
aaload
iconst_0
invokestatic java.util.Arrays.fill:([II)V
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 0
getfield org.apache.lucene.util.IntBlockPool.bufferUpto:I
if_icmplt 4
end local 3 7: aload 0
getfield org.apache.lucene.util.IntBlockPool.buffers:[[I
aload 0
getfield org.apache.lucene.util.IntBlockPool.bufferUpto:I
aaload
iconst_0
aload 0
getfield org.apache.lucene.util.IntBlockPool.intUpto:I
iconst_0
invokestatic java.util.Arrays.fill:([IIII)V
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.IntBlockPool.bufferUpto:I
ifgt 9
iload 2
ifne 14
9: StackMap locals:
StackMap stack:
iload 2
ifeq 10
iconst_1
goto 11
StackMap locals:
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 3
start local 3 12: aload 0
getfield org.apache.lucene.util.IntBlockPool.allocator:Lorg/apache/lucene/util/IntBlockPool$Allocator;
aload 0
getfield org.apache.lucene.util.IntBlockPool.buffers:[[I
iload 3
iconst_1
aload 0
getfield org.apache.lucene.util.IntBlockPool.bufferUpto:I
iadd
invokevirtual org.apache.lucene.util.IntBlockPool$Allocator.recycleIntBlocks:([[III)V
13: aload 0
getfield org.apache.lucene.util.IntBlockPool.buffers:[[I
iload 3
aload 0
getfield org.apache.lucene.util.IntBlockPool.bufferUpto:I
iconst_1
iadd
aconst_null
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;IILjava/lang/Object;)V
end local 3 14: StackMap locals:
StackMap stack:
iload 2
ifeq 20
15: aload 0
iconst_0
putfield org.apache.lucene.util.IntBlockPool.bufferUpto:I
16: aload 0
iconst_0
putfield org.apache.lucene.util.IntBlockPool.intUpto:I
17: aload 0
iconst_0
putfield org.apache.lucene.util.IntBlockPool.intOffset:I
18: aload 0
aload 0
getfield org.apache.lucene.util.IntBlockPool.buffers:[[I
iconst_0
aaload
putfield org.apache.lucene.util.IntBlockPool.buffer:[I
19: goto 24
20: StackMap locals:
StackMap stack:
aload 0
iconst_m1
putfield org.apache.lucene.util.IntBlockPool.bufferUpto:I
21: aload 0
sipush 8192
putfield org.apache.lucene.util.IntBlockPool.intUpto:I
22: aload 0
sipush -8192
putfield org.apache.lucene.util.IntBlockPool.intOffset:I
23: aload 0
aconst_null
putfield org.apache.lucene.util.IntBlockPool.buffer:[I
24: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/lucene/util/IntBlockPool;
0 25 1 zeroFillBuffers Z
0 25 2 reuseFirst Z
3 7 3 i I
12 14 3 offset I
MethodParameters:
Name Flags
zeroFillBuffers
reuseFirst
public void nextBuffer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_1
aload 0
getfield org.apache.lucene.util.IntBlockPool.bufferUpto:I
iadd
aload 0
getfield org.apache.lucene.util.IntBlockPool.buffers:[[I
arraylength
if_icmpne 4
1: aload 0
getfield org.apache.lucene.util.IntBlockPool.buffers:[[I
arraylength
i2d
ldc 1.5
dmul
d2i
anewarray int[]
astore 1
start local 1 2: aload 0
getfield org.apache.lucene.util.IntBlockPool.buffers:[[I
iconst_0
aload 1
iconst_0
aload 0
getfield org.apache.lucene.util.IntBlockPool.buffers:[[I
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
aload 1
putfield org.apache.lucene.util.IntBlockPool.buffers:[[I
end local 1 4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.util.IntBlockPool.buffers:[[I
iconst_1
aload 0
getfield org.apache.lucene.util.IntBlockPool.bufferUpto:I
iadd
aload 0
getfield org.apache.lucene.util.IntBlockPool.allocator:Lorg/apache/lucene/util/IntBlockPool$Allocator;
invokevirtual org.apache.lucene.util.IntBlockPool$Allocator.getIntBlock:()[I
dup_x2
aastore
putfield org.apache.lucene.util.IntBlockPool.buffer:[I
5: aload 0
dup
getfield org.apache.lucene.util.IntBlockPool.bufferUpto:I
iconst_1
iadd
putfield org.apache.lucene.util.IntBlockPool.bufferUpto:I
6: aload 0
iconst_0
putfield org.apache.lucene.util.IntBlockPool.intUpto:I
7: aload 0
dup
getfield org.apache.lucene.util.IntBlockPool.intOffset:I
sipush 8192
iadd
putfield org.apache.lucene.util.IntBlockPool.intOffset:I
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/util/IntBlockPool;
2 4 1 newBuffers [[I
private int newSlice(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.IntBlockPool.intUpto:I
sipush 8192
iload 1
isub
if_icmple 3
1: aload 0
invokevirtual org.apache.lucene.util.IntBlockPool.nextBuffer:()V
2: getstatic org.apache.lucene.util.IntBlockPool.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.apache.lucene.util.IntBlockPool.buffer:[I
invokestatic org.apache.lucene.util.IntBlockPool.assertSliceBuffer:([I)Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.IntBlockPool.intUpto:I
istore 2
start local 2 4: aload 0
dup
getfield org.apache.lucene.util.IntBlockPool.intUpto:I
iload 1
iadd
putfield org.apache.lucene.util.IntBlockPool.intUpto:I
5: aload 0
getfield org.apache.lucene.util.IntBlockPool.buffer:[I
aload 0
getfield org.apache.lucene.util.IntBlockPool.intUpto:I
iconst_1
isub
iconst_1
iastore
6: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/util/IntBlockPool;
0 7 1 size I
4 7 2 upto I
MethodParameters:
Name Flags
size final
private static boolean assertSliceBuffer(int[]);
descriptor: ([I)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
iload 1
aload 0
iload 2
iaload
iadd
istore 1
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: iload 1
ifne 7
iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 buffer [I
1 8 1 count I
2 6 2 i I
MethodParameters:
Name Flags
buffer
private int allocSlice(int[], int);
descriptor: ([II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
iaload
istore 3
start local 3 1: getstatic org.apache.lucene.util.IntBlockPool.NEXT_LEVEL_ARRAY:[I
iload 3
iconst_1
isub
iaload
istore 4
start local 4 2: getstatic org.apache.lucene.util.IntBlockPool.LEVEL_SIZE_ARRAY:[I
iload 4
iaload
istore 5
start local 5 3: aload 0
getfield org.apache.lucene.util.IntBlockPool.intUpto:I
sipush 8192
iload 5
isub
if_icmple 6
4: aload 0
invokevirtual org.apache.lucene.util.IntBlockPool.nextBuffer:()V
5: getstatic org.apache.lucene.util.IntBlockPool.$assertionsDisabled:Z
ifne 6
aload 0
getfield org.apache.lucene.util.IntBlockPool.buffer:[I
invokestatic org.apache.lucene.util.IntBlockPool.assertSliceBuffer:([I)Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: int int int
StackMap stack:
aload 0
getfield org.apache.lucene.util.IntBlockPool.intUpto:I
istore 6
start local 6 7: iload 6
aload 0
getfield org.apache.lucene.util.IntBlockPool.intOffset:I
iadd
istore 7
start local 7 8: aload 0
dup
getfield org.apache.lucene.util.IntBlockPool.intUpto:I
iload 5
iadd
putfield org.apache.lucene.util.IntBlockPool.intUpto:I
9: aload 1
iload 2
iload 7
iastore
10: aload 0
getfield org.apache.lucene.util.IntBlockPool.buffer:[I
aload 0
getfield org.apache.lucene.util.IntBlockPool.intUpto:I
iconst_1
isub
iload 4
iastore
11: iload 6
ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/util/IntBlockPool;
0 12 1 slice [I
0 12 2 sliceOffset I
1 12 3 level I
2 12 4 newLevel I
3 12 5 newSize I
7 12 6 newUpto I
8 12 7 offset I
MethodParameters:
Name Flags
slice final
sliceOffset final
}
SourceFile: "IntBlockPool.java"
NestMembers:
org.apache.lucene.util.IntBlockPool$Allocator org.apache.lucene.util.IntBlockPool$DirectAllocator org.apache.lucene.util.IntBlockPool$SliceReader org.apache.lucene.util.IntBlockPool$SliceWriter
InnerClasses:
public abstract Allocator = org.apache.lucene.util.IntBlockPool$Allocator of org.apache.lucene.util.IntBlockPool
public final DirectAllocator = org.apache.lucene.util.IntBlockPool$DirectAllocator of org.apache.lucene.util.IntBlockPool
public final SliceReader = org.apache.lucene.util.IntBlockPool$SliceReader of org.apache.lucene.util.IntBlockPool
public SliceWriter = org.apache.lucene.util.IntBlockPool$SliceWriter of org.apache.lucene.util.IntBlockPool