class org.apache.lucene.index.BufferedUpdates implements org.apache.lucene.util.Accountable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.index.BufferedUpdates
super_class: java.lang.Object
{
static final int BYTES_PER_DEL_TERM;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final int BYTES_PER_DEL_QUERY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
final java.util.concurrent.atomic.AtomicInteger numTermDeletes;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicInteger numFieldUpdates;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0010) ACC_FINAL
final java.util.Map<org.apache.lucene.index.Term, java.lang.Integer> deleteTerms;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Lorg/apache/lucene/index/Term;Ljava/lang/Integer;>;
final java.util.Map<org.apache.lucene.search.Query, java.lang.Integer> deleteQueries;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Lorg/apache/lucene/search/Query;Ljava/lang/Integer;>;
final java.util.Map<java.lang.String, org.apache.lucene.index.FieldUpdatesBuffer> fieldUpdates;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/apache/lucene/index/FieldUpdatesBuffer;>;
public static final java.lang.Integer MAX_INT;
descriptor: Ljava/lang/Integer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final org.apache.lucene.util.Counter bytesUsed;
descriptor: Lorg/apache/lucene/util/Counter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.lucene.util.Counter fieldUpdatesBytesUsed;
descriptor: Lorg/apache/lucene/util/Counter;
flags: (0x0010) ACC_FINAL
private final org.apache.lucene.util.Counter termsBytesUsed;
descriptor: Lorg/apache/lucene/util/Counter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final boolean VERBOSE_DELETES;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
long gen;
descriptor: J
flags: (0x0000)
final java.lang.String segmentName;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: bipush 9
getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_OBJECT_REF:I
imul
bipush 7
getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_OBJECT_HEADER:I
imul
iadd
bipush 40
iadd
putstatic org.apache.lucene.index.BufferedUpdates.BYTES_PER_DEL_TERM:I
1: iconst_5
getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_OBJECT_REF:I
imul
iconst_2
getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_OBJECT_HEADER:I
imul
iadd
bipush 8
iadd
bipush 24
iadd
putstatic org.apache.lucene.index.BufferedUpdates.BYTES_PER_DEL_QUERY:I
2: ldc 2147483647
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putstatic org.apache.lucene.index.BufferedUpdates.MAX_INT:Ljava/lang/Integer;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield org.apache.lucene.index.BufferedUpdates.numTermDeletes:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield org.apache.lucene.index.BufferedUpdates.numFieldUpdates:Ljava/util/concurrent/atomic/AtomicInteger;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.lucene.index.BufferedUpdates.deleteTerms:Ljava/util/Map;
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.lucene.index.BufferedUpdates.deleteQueries:Ljava/util/Map;
5: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.lucene.index.BufferedUpdates.fieldUpdates:Ljava/util/Map;
6: aload 0
iconst_1
invokestatic org.apache.lucene.util.Counter.newCounter:(Z)Lorg/apache/lucene/util/Counter;
putfield org.apache.lucene.index.BufferedUpdates.bytesUsed:Lorg/apache/lucene/util/Counter;
7: aload 0
iconst_1
invokestatic org.apache.lucene.util.Counter.newCounter:(Z)Lorg/apache/lucene/util/Counter;
putfield org.apache.lucene.index.BufferedUpdates.fieldUpdatesBytesUsed:Lorg/apache/lucene/util/Counter;
8: aload 0
iconst_1
invokestatic org.apache.lucene.util.Counter.newCounter:(Z)Lorg/apache/lucene/util/Counter;
putfield org.apache.lucene.index.BufferedUpdates.termsBytesUsed:Lorg/apache/lucene/util/Counter;
9: aload 0
aload 1
putfield org.apache.lucene.index.BufferedUpdates.segmentName:Ljava/lang/String;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/index/BufferedUpdates;
0 11 1 segmentName Ljava/lang/String;
MethodParameters:
Name Flags
segmentName
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "gen="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.BufferedUpdates.gen:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield org.apache.lucene.index.BufferedUpdates.numTermDeletes:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifeq 3
2: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.BufferedUpdates.numTermDeletes:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " deleted terms (unique count="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.BufferedUpdates.deleteTerms:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.lucene.index.BufferedUpdates.deleteQueries:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ifeq 5
4: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.BufferedUpdates.deleteQueries:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " deleted queries"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.BufferedUpdates.numFieldUpdates:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifeq 7
6: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.BufferedUpdates.numFieldUpdates:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " field updates"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.BufferedUpdates.bytesUsed:Lorg/apache/lucene/util/Counter;
invokevirtual org.apache.lucene.util.Counter.get:()J
lconst_0
lcmp
ifeq 9
8: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " bytesUsed="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.BufferedUpdates.bytesUsed:Lorg/apache/lucene/util/Counter;
invokevirtual org.apache.lucene.util.Counter.get:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
9: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/BufferedUpdates;
1 10 1 s Ljava/lang/String;
public void addQuery(org.apache.lucene.search.Query, int);
descriptor: (Lorg/apache/lucene/search/Query;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.BufferedUpdates.deleteQueries:Ljava/util/Map;
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aload 0
getfield org.apache.lucene.index.BufferedUpdates.bytesUsed:Lorg/apache/lucene/util/Counter;
getstatic org.apache.lucene.index.BufferedUpdates.BYTES_PER_DEL_QUERY:I
i2l
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
3: StackMap locals: java.lang.Integer
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/BufferedUpdates;
0 4 1 query Lorg/apache/lucene/search/Query;
0 4 2 docIDUpto I
1 4 3 current Ljava/lang/Integer;
MethodParameters:
Name Flags
query
docIDUpto
public void addTerm(org.apache.lucene.index.Term, int);
descriptor: (Lorg/apache/lucene/index/Term;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.BufferedUpdates.deleteTerms:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 3
start local 3 1: aload 3
ifnull 3
iload 2
aload 3
invokevirtual java.lang.Integer.intValue:()I
if_icmpge 3
2: return
3: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
getfield org.apache.lucene.index.BufferedUpdates.deleteTerms:Ljava/util/Map;
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
getfield org.apache.lucene.index.BufferedUpdates.numTermDeletes:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
5: aload 3
ifnonnull 7
6: aload 0
getfield org.apache.lucene.index.BufferedUpdates.termsBytesUsed:Lorg/apache/lucene/util/Counter;
getstatic org.apache.lucene.index.BufferedUpdates.BYTES_PER_DEL_TERM:I
aload 1
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.length:I
iadd
iconst_2
aload 1
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
imul
iadd
i2l
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/index/BufferedUpdates;
0 8 1 term Lorg/apache/lucene/index/Term;
0 8 2 docIDUpto I
1 8 3 current Ljava/lang/Integer;
MethodParameters:
Name Flags
term
docIDUpto
void addNumericUpdate(org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate, int);
descriptor: (Lorg/apache/lucene/index/DocValuesUpdate$NumericDocValuesUpdate;I)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.BufferedUpdates.fieldUpdates:Ljava/util/Map;
aload 1
getfield org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate.field:Ljava/lang/String;
aload 0
aload 1
iload 2
invokedynamic apply(Lorg/apache/lucene/index/BufferedUpdates;Lorg/apache/lucene/index/DocValuesUpdate$NumericDocValuesUpdate;I)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/lucene/index/BufferedUpdates.lambda$0(Lorg/apache/lucene/index/DocValuesUpdate$NumericDocValuesUpdate;ILjava/lang/String;)Lorg/apache/lucene/index/FieldUpdatesBuffer; (7)
(Ljava/lang/String;)Lorg/apache/lucene/index/FieldUpdatesBuffer;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast org.apache.lucene.index.FieldUpdatesBuffer
astore 3
start local 3 1: aload 1
getfield org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate.hasValue:Z
ifeq 4
2: aload 3
aload 1
getfield org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate.term:Lorg/apache/lucene/index/Term;
aload 1
invokevirtual org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate.getValue:()J
iload 2
invokevirtual org.apache.lucene.index.FieldUpdatesBuffer.addUpdate:(Lorg/apache/lucene/index/Term;JI)V
3: goto 5
4: StackMap locals: org.apache.lucene.index.FieldUpdatesBuffer
StackMap stack:
aload 3
aload 1
getfield org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate.term:Lorg/apache/lucene/index/Term;
iload 2
invokevirtual org.apache.lucene.index.FieldUpdatesBuffer.addNoValue:(Lorg/apache/lucene/index/Term;I)V
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.BufferedUpdates.numFieldUpdates:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
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/index/BufferedUpdates;
0 7 1 update Lorg/apache/lucene/index/DocValuesUpdate$NumericDocValuesUpdate;
0 7 2 docIDUpto I
1 7 3 buffer Lorg/apache/lucene/index/FieldUpdatesBuffer;
MethodParameters:
Name Flags
update
docIDUpto
void addBinaryUpdate(org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate, int);
descriptor: (Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;I)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.BufferedUpdates.fieldUpdates:Ljava/util/Map;
aload 1
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.field:Ljava/lang/String;
aload 0
aload 1
iload 2
invokedynamic apply(Lorg/apache/lucene/index/BufferedUpdates;Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;I)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/lucene/index/BufferedUpdates.lambda$1(Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;ILjava/lang/String;)Lorg/apache/lucene/index/FieldUpdatesBuffer; (7)
(Ljava/lang/String;)Lorg/apache/lucene/index/FieldUpdatesBuffer;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast org.apache.lucene.index.FieldUpdatesBuffer
astore 3
start local 3 1: aload 1
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.hasValue:Z
ifeq 4
2: aload 3
aload 1
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.term:Lorg/apache/lucene/index/Term;
aload 1
invokevirtual org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.getValue:()Lorg/apache/lucene/util/BytesRef;
iload 2
invokevirtual org.apache.lucene.index.FieldUpdatesBuffer.addUpdate:(Lorg/apache/lucene/index/Term;Lorg/apache/lucene/util/BytesRef;I)V
3: goto 5
4: StackMap locals: org.apache.lucene.index.FieldUpdatesBuffer
StackMap stack:
aload 3
aload 1
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.term:Lorg/apache/lucene/index/Term;
iload 2
invokevirtual org.apache.lucene.index.FieldUpdatesBuffer.addNoValue:(Lorg/apache/lucene/index/Term;I)V
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.BufferedUpdates.numFieldUpdates:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
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/index/BufferedUpdates;
0 7 1 update Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;
0 7 2 docIDUpto I
1 7 3 buffer Lorg/apache/lucene/index/FieldUpdatesBuffer;
MethodParameters:
Name Flags
update
docIDUpto
void clearDeleteTerms();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.BufferedUpdates.numTermDeletes:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
1: aload 0
getfield org.apache.lucene.index.BufferedUpdates.termsBytesUsed:Lorg/apache/lucene/util/Counter;
aload 0
getfield org.apache.lucene.index.BufferedUpdates.termsBytesUsed:Lorg/apache/lucene/util/Counter;
invokevirtual org.apache.lucene.util.Counter.get:()J
lneg
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
2: aload 0
getfield org.apache.lucene.index.BufferedUpdates.deleteTerms:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/BufferedUpdates;
void clear();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.BufferedUpdates.deleteTerms:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
1: aload 0
getfield org.apache.lucene.index.BufferedUpdates.deleteQueries:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
2: aload 0
getfield org.apache.lucene.index.BufferedUpdates.numTermDeletes:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
3: aload 0
getfield org.apache.lucene.index.BufferedUpdates.numFieldUpdates:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
4: aload 0
getfield org.apache.lucene.index.BufferedUpdates.fieldUpdates:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
5: aload 0
getfield org.apache.lucene.index.BufferedUpdates.bytesUsed:Lorg/apache/lucene/util/Counter;
aload 0
getfield org.apache.lucene.index.BufferedUpdates.bytesUsed:Lorg/apache/lucene/util/Counter;
invokevirtual org.apache.lucene.util.Counter.get:()J
lneg
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
6: aload 0
getfield org.apache.lucene.index.BufferedUpdates.fieldUpdatesBytesUsed:Lorg/apache/lucene/util/Counter;
aload 0
getfield org.apache.lucene.index.BufferedUpdates.fieldUpdatesBytesUsed:Lorg/apache/lucene/util/Counter;
invokevirtual org.apache.lucene.util.Counter.get:()J
lneg
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
7: aload 0
getfield org.apache.lucene.index.BufferedUpdates.termsBytesUsed:Lorg/apache/lucene/util/Counter;
aload 0
getfield org.apache.lucene.index.BufferedUpdates.termsBytesUsed:Lorg/apache/lucene/util/Counter;
invokevirtual org.apache.lucene.util.Counter.get:()J
lneg
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/index/BufferedUpdates;
boolean any();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.BufferedUpdates.deleteTerms:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ifgt 1
aload 0
getfield org.apache.lucene.index.BufferedUpdates.deleteQueries:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ifgt 1
aload 0
getfield org.apache.lucene.index.BufferedUpdates.numFieldUpdates:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifgt 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/BufferedUpdates;
public long ramBytesUsed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.BufferedUpdates.bytesUsed:Lorg/apache/lucene/util/Counter;
invokevirtual org.apache.lucene.util.Counter.get:()J
aload 0
getfield org.apache.lucene.index.BufferedUpdates.fieldUpdatesBytesUsed:Lorg/apache/lucene/util/Counter;
invokevirtual org.apache.lucene.util.Counter.get:()J
ladd
aload 0
getfield org.apache.lucene.index.BufferedUpdates.termsBytesUsed:Lorg/apache/lucene/util/Counter;
invokevirtual org.apache.lucene.util.Counter.get:()J
ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/BufferedUpdates;
private org.apache.lucene.index.FieldUpdatesBuffer lambda$0(org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate, int, java.lang.String);
descriptor: (Lorg/apache/lucene/index/DocValuesUpdate$NumericDocValuesUpdate;ILjava/lang/String;)Lorg/apache/lucene/index/FieldUpdatesBuffer;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 3 0: new org.apache.lucene.index.FieldUpdatesBuffer
dup
aload 0
getfield org.apache.lucene.index.BufferedUpdates.fieldUpdatesBytesUsed:Lorg/apache/lucene/util/Counter;
aload 1
iload 2
invokespecial org.apache.lucene.index.FieldUpdatesBuffer.<init>:(Lorg/apache/lucene/util/Counter;Lorg/apache/lucene/index/DocValuesUpdate$NumericDocValuesUpdate;I)V
areturn
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/BufferedUpdates;
0 1 3 k Ljava/lang/String;
private org.apache.lucene.index.FieldUpdatesBuffer lambda$1(org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate, int, java.lang.String);
descriptor: (Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;ILjava/lang/String;)Lorg/apache/lucene/index/FieldUpdatesBuffer;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 3 0: new org.apache.lucene.index.FieldUpdatesBuffer
dup
aload 0
getfield org.apache.lucene.index.BufferedUpdates.fieldUpdatesBytesUsed:Lorg/apache/lucene/util/Counter;
aload 1
iload 2
invokespecial org.apache.lucene.index.FieldUpdatesBuffer.<init>:(Lorg/apache/lucene/util/Counter;Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;I)V
areturn
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/BufferedUpdates;
0 1 3 k Ljava/lang/String;
}
SourceFile: "BufferedUpdates.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final BinaryDocValuesUpdate = org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate of org.apache.lucene.index.DocValuesUpdate
final NumericDocValuesUpdate = org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate of org.apache.lucene.index.DocValuesUpdate