
com.groupbyinc.flux.common.apache.lucene.util.RecyclingByteBlockAllocator.class Maven / Gradle / Ivy
???? 3 ? Icom/groupbyinc/flux/common/apache/lucene/util/RecyclingByteBlockAllocator Ecom/groupbyinc/flux/common/apache/lucene/util/ByteBlockPool$Allocator RecyclingByteBlockAllocator.java ;com/groupbyinc/flux/common/apache/lucene/util/ByteBlockPool Allocator freeByteBlocks [[B maxBufferedBlocks I
freeBlocks bytesUsed 7Lcom/groupbyinc/flux/common/apache/lucene/util/Counter; DEFAULT_BUFFERED_BLOCKS @ $assertionsDisabled Z <(IILcom/groupbyinc/flux/common/apache/lucene/util/Counter;)V (I)V
[B
! this KLcom/groupbyinc/flux/common/apache/lucene/util/RecyclingByteBlockAllocator; blockSize (II)V 5com/groupbyinc/flux/common/apache/lucene/util/Counter '
newCounter :(Z)Lcom/groupbyinc/flux/common/apache/lucene/util/Counter; ) *
( +
- ()V ? getByteBlock ()[B % 3 addAndGet (J)J 5 6
( 7 b recycleByteBlocks ([[BII)V java/lang/Math < min (II)I > ?
= @ ?com/groupbyinc/flux/common/apache/lucene/util/RamUsageEstimator B NUM_BYTES_OBJECT_REF D C E 7com/groupbyinc/flux/common/apache/lucene/util/ArrayUtil G oversize I ?
H J java/lang/System L arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V N O
M P R get ()J T U
( V java/lang/AssertionError X /
Y Z newBlocks i blocks start end numBlocks size stop numBufferedBlocks ()I (I)I java/lang/StringBuilder g
h Z "free blocks must be >= 0 but was: j append -(Ljava/lang/String;)Ljava/lang/StringBuilder; l m
h n (I)Ljava/lang/StringBuilder; l p
h q toString ()Ljava/lang/String; s t
h u (Ljava/lang/Object;)V w
Y x count num java/lang/Class } desiredAssertionStatus ()Z ?
~ ?
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile InnerClasses 1
?
? y *? *? *? ? *? *-? "? ? * # $ % ? 2 "
3 4 5 6 &