class org.apache.lucene.index.PendingDeletes
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.index.PendingDeletes
super_class: java.lang.Object
{
protected final org.apache.lucene.index.SegmentCommitInfo info;
descriptor: Lorg/apache/lucene/index/SegmentCommitInfo;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private org.apache.lucene.util.Bits liveDocs;
descriptor: Lorg/apache/lucene/util/Bits;
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.util.FixedBitSet writeableLiveDocs;
descriptor: Lorg/apache/lucene/util/FixedBitSet;
flags: (0x0002) ACC_PRIVATE
protected int pendingDeleteCount;
descriptor: I
flags: (0x0004) ACC_PROTECTED
boolean liveDocsInitialized;
descriptor: Z
flags: (0x0000)
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=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/index/PendingDeletes;
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.index.PendingDeletes.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.lucene.index.SegmentReader, org.apache.lucene.index.SegmentCommitInfo);
descriptor: (Lorg/apache/lucene/index/SegmentReader;Lorg/apache/lucene/index/SegmentCommitInfo;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
aload 1
invokevirtual org.apache.lucene.index.SegmentReader.getLiveDocs:()Lorg/apache/lucene/util/Bits;
iconst_1
invokespecial org.apache.lucene.index.PendingDeletes.<init>:(Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/util/Bits;Z)V
1: aload 0
aload 1
invokevirtual org.apache.lucene.index.SegmentReader.numDeletedDocs:()I
aload 2
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getDelCount:()I
isub
putfield org.apache.lucene.index.PendingDeletes.pendingDeleteCount:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/PendingDeletes;
0 3 1 reader Lorg/apache/lucene/index/SegmentReader;
0 3 2 info Lorg/apache/lucene/index/SegmentCommitInfo;
MethodParameters:
Name Flags
reader
info
void <init>(org.apache.lucene.index.SegmentCommitInfo);
descriptor: (Lorg/apache/lucene/index/SegmentCommitInfo;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
aload 1
invokevirtual org.apache.lucene.index.SegmentCommitInfo.hasDeletions:()Z
ifeq 1
iconst_0
goto 2
StackMap locals: uninitialized-this org.apache.lucene.index.SegmentCommitInfo
StackMap stack: uninitialized-this org.apache.lucene.index.SegmentCommitInfo null
1: iconst_1
StackMap locals: uninitialized-this org.apache.lucene.index.SegmentCommitInfo
StackMap stack: uninitialized-this org.apache.lucene.index.SegmentCommitInfo null int
2: invokespecial org.apache.lucene.index.PendingDeletes.<init>:(Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/util/Bits;Z)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/PendingDeletes;
0 4 1 info Lorg/apache/lucene/index/SegmentCommitInfo;
MethodParameters:
Name Flags
info
void <init>(org.apache.lucene.index.SegmentCommitInfo, org.apache.lucene.util.Bits, boolean);
descriptor: (Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/util/Bits;Z)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
2: aload 0
aload 2
putfield org.apache.lucene.index.PendingDeletes.liveDocs:Lorg/apache/lucene/util/Bits;
3: aload 0
iconst_0
putfield org.apache.lucene.index.PendingDeletes.pendingDeleteCount:I
4: aload 0
iload 3
putfield org.apache.lucene.index.PendingDeletes.liveDocsInitialized:Z
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/apache/lucene/index/PendingDeletes;
0 6 1 info Lorg/apache/lucene/index/SegmentCommitInfo;
0 6 2 liveDocs Lorg/apache/lucene/util/Bits;
0 6 3 liveDocsInitialized Z
MethodParameters:
Name Flags
info
liveDocs
liveDocsInitialized
protected org.apache.lucene.util.FixedBitSet getMutableBits();
descriptor: ()Lorg/apache/lucene/util/FixedBitSet;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.PendingDeletes.liveDocsInitialized:Z
ifne 1
new java.lang.AssertionError
dup
ldc "can't delete if liveDocs are not initialized"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.PendingDeletes.writeableLiveDocs:Lorg/apache/lucene/util/FixedBitSet;
ifnonnull 8
2: aload 0
getfield org.apache.lucene.index.PendingDeletes.liveDocs:Lorg/apache/lucene/util/Bits;
ifnull 5
3: aload 0
aload 0
getfield org.apache.lucene.index.PendingDeletes.liveDocs:Lorg/apache/lucene/util/Bits;
invokestatic org.apache.lucene.util.FixedBitSet.copyOf:(Lorg/apache/lucene/util/Bits;)Lorg/apache/lucene/util/FixedBitSet;
putfield org.apache.lucene.index.PendingDeletes.writeableLiveDocs:Lorg/apache/lucene/util/FixedBitSet;
4: goto 7
5: StackMap locals:
StackMap stack:
aload 0
new org.apache.lucene.util.FixedBitSet
dup
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
invokespecial org.apache.lucene.util.FixedBitSet.<init>:(I)V
putfield org.apache.lucene.index.PendingDeletes.writeableLiveDocs:Lorg/apache/lucene/util/FixedBitSet;
6: aload 0
getfield org.apache.lucene.index.PendingDeletes.writeableLiveDocs:Lorg/apache/lucene/util/FixedBitSet;
iconst_0
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
invokevirtual org.apache.lucene.util.FixedBitSet.set:(II)V
7: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.index.PendingDeletes.writeableLiveDocs:Lorg/apache/lucene/util/FixedBitSet;
invokevirtual org.apache.lucene.util.FixedBitSet.asReadOnlyBits:()Lorg/apache/lucene/util/Bits;
putfield org.apache.lucene.index.PendingDeletes.liveDocs:Lorg/apache/lucene/util/Bits;
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.PendingDeletes.writeableLiveDocs:Lorg/apache/lucene/util/FixedBitSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/index/PendingDeletes;
boolean delete(int);
descriptor: (I)Z
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
ifgt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.getMutableBits:()Lorg/apache/lucene/util/FixedBitSet;
astore 2
start local 2 2: getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 3
aload 2
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.apache.lucene.util.FixedBitSet
StackMap stack:
getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 5
iload 1
iflt 4
iload 1
aload 2
invokevirtual org.apache.lucene.util.FixedBitSet.length:()I
if_icmplt 5
StackMap locals:
StackMap stack:
4: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "out of bounds: docid="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " liveDocsLength="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual org.apache.lucene.util.FixedBitSet.length:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " seg="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
getfield org.apache.lucene.index.SegmentInfo.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " maxDoc="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals:
StackMap stack:
aload 2
iload 1
invokevirtual org.apache.lucene.util.FixedBitSet.get:(I)Z
istore 3
start local 3 6: iload 3
ifeq 9
7: aload 2
iload 1
invokevirtual org.apache.lucene.util.FixedBitSet.clear:(I)V
8: aload 0
dup
getfield org.apache.lucene.index.PendingDeletes.pendingDeleteCount:I
iconst_1
iadd
putfield org.apache.lucene.index.PendingDeletes.pendingDeleteCount:I
9: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/PendingDeletes;
0 10 1 docID I
2 10 2 mutableBits Lorg/apache/lucene/util/FixedBitSet;
6 10 3 didDelete Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
docID
org.apache.lucene.util.Bits getLiveDocs();
descriptor: ()Lorg/apache/lucene/util/Bits;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.apache.lucene.index.PendingDeletes.writeableLiveDocs:Lorg/apache/lucene/util/FixedBitSet;
1: aload 0
getfield org.apache.lucene.index.PendingDeletes.liveDocs:Lorg/apache/lucene/util/Bits;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/PendingDeletes;
org.apache.lucene.util.Bits getHardLiveDocs();
descriptor: ()Lorg/apache/lucene/util/Bits;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.getLiveDocs:()Lorg/apache/lucene/util/Bits;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/PendingDeletes;
protected int numPendingDeletes();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.PendingDeletes.pendingDeleteCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/PendingDeletes;
void onNewReader(org.apache.lucene.index.CodecReader, org.apache.lucene.index.SegmentCommitInfo);
descriptor: (Lorg/apache/lucene/index/CodecReader;Lorg/apache/lucene/index/SegmentCommitInfo;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.PendingDeletes.liveDocsInitialized:Z
ifne 7
1: getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.lucene.index.PendingDeletes.writeableLiveDocs:Lorg/apache/lucene/util/FixedBitSet;
ifnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.lucene.index.CodecReader.hasDeletions:()Z
ifeq 6
3: getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.apache.lucene.index.PendingDeletes.pendingDeleteCount:I
ifeq 4
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "pendingDeleteCount: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.PendingDeletes.pendingDeleteCount:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.lucene.index.CodecReader.getLiveDocs:()Lorg/apache/lucene/util/Bits;
putfield org.apache.lucene.index.PendingDeletes.liveDocs:Lorg/apache/lucene/util/Bits;
5: getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 6
aload 0
getfield org.apache.lucene.index.PendingDeletes.liveDocs:Lorg/apache/lucene/util/Bits;
ifnull 6
aload 0
aload 0
getfield org.apache.lucene.index.PendingDeletes.liveDocs:Lorg/apache/lucene/util/Bits;
aload 2
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
aload 2
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getDelCount:()I
invokevirtual org.apache.lucene.index.PendingDeletes.assertCheckLiveDocs:(Lorg/apache/lucene/util/Bits;II)Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.lucene.index.PendingDeletes.liveDocsInitialized:Z
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/index/PendingDeletes;
0 8 1 reader Lorg/apache/lucene/index/CodecReader;
0 8 2 info Lorg/apache/lucene/index/SegmentCommitInfo;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
reader
info
private boolean assertCheckLiveDocs(org.apache.lucene.util.Bits, int, int);
descriptor: (Lorg/apache/lucene/util/Bits;II)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 1
aload 1
invokeinterface org.apache.lucene.util.Bits.length:()I
iload 2
if_icmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 7
4: StackMap locals: int int
StackMap stack:
aload 1
iload 5
invokeinterface org.apache.lucene.util.Bits.get:(I)Z
ifne 6
5: iinc 4 1
6: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
aload 1
invokeinterface org.apache.lucene.util.Bits.length:()I
if_icmplt 4
end local 5 8: getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 9
iload 4
iload 3
if_icmpeq 9
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "deleted: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " != expected: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/PendingDeletes;
0 10 1 bits Lorg/apache/lucene/util/Bits;
0 10 2 expectedLength I
0 10 3 expectedDeleteCount I
2 10 4 deletedCount I
3 8 5 i I
MethodParameters:
Name Flags
bits
expectedLength
expectedDeleteCount
void dropChanges();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.apache.lucene.index.PendingDeletes.pendingDeleteCount:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/PendingDeletes;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "PendingDeletes(seg="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc " numPendingDeletes="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingDeletes.pendingDeleteCount:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc " writeable="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingDeletes.writeableLiveDocs:Lorg/apache/lucene/util/FixedBitSet;
ifnull 4
iconst_1
goto 5
StackMap locals: org.apache.lucene.index.PendingDeletes java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder
4: iconst_0
StackMap locals: org.apache.lucene.index.PendingDeletes java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder int
5: invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
pop
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/PendingDeletes;
1 7 1 sb Ljava/lang/StringBuilder;
boolean writeLiveDocs(org.apache.lucene.store.Directory);
descriptor: (Lorg/apache/lucene/store/Directory;)Z
flags: (0x0000)
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.PendingDeletes.pendingDeleteCount:I
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.PendingDeletes.liveDocs:Lorg/apache/lucene/util/Bits;
astore 2
start local 2 3: getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 4
aload 2
ifnonnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: org.apache.lucene.util.Bits
StackMap stack:
getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 5
aload 2
invokeinterface org.apache.lucene.util.Bits.length:()I
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
if_icmpeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
new org.apache.lucene.store.TrackingDirectoryWrapper
dup
aload 1
invokespecial org.apache.lucene.store.TrackingDirectoryWrapper.<init>:(Lorg/apache/lucene/store/Directory;)V
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.getCodec:()Lorg/apache/lucene/codecs/Codec;
astore 5
start local 5 8: aload 5
invokevirtual org.apache.lucene.codecs.Codec.liveDocsFormat:()Lorg/apache/lucene/codecs/LiveDocsFormat;
aload 2
aload 3
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
aload 0
getfield org.apache.lucene.index.PendingDeletes.pendingDeleteCount:I
getstatic org.apache.lucene.store.IOContext.DEFAULT:Lorg/apache/lucene/store/IOContext;
invokevirtual org.apache.lucene.codecs.LiveDocsFormat.writeLiveDocs:(Lorg/apache/lucene/util/Bits;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentCommitInfo;ILorg/apache/lucene/store/IOContext;)V
9: iconst_1
istore 4
end local 5 10: goto 19
StackMap locals: org.apache.lucene.index.PendingDeletes org.apache.lucene.store.Directory org.apache.lucene.util.Bits org.apache.lucene.store.TrackingDirectoryWrapper int
StackMap stack: java.lang.Throwable
11: astore 6
12: iload 4
ifne 18
13: aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.advanceNextWriteDelGen:()V
14: aload 3
invokevirtual org.apache.lucene.store.TrackingDirectoryWrapper.getCreatedFiles:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 17
StackMap locals: org.apache.lucene.index.PendingDeletes org.apache.lucene.store.Directory org.apache.lucene.util.Bits org.apache.lucene.store.TrackingDirectoryWrapper int top java.lang.Throwable top java.util.Iterator
StackMap stack:
15: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 16: aload 1
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 7
aastore
invokestatic org.apache.lucene.util.IOUtils.deleteFilesIgnoringExceptions:(Lorg/apache/lucene/store/Directory;[Ljava/lang/String;)V
end local 7 17: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
18: StackMap locals: org.apache.lucene.index.PendingDeletes org.apache.lucene.store.Directory org.apache.lucene.util.Bits org.apache.lucene.store.TrackingDirectoryWrapper int top java.lang.Throwable
StackMap stack:
aload 6
athrow
19: StackMap locals: org.apache.lucene.index.PendingDeletes org.apache.lucene.store.Directory org.apache.lucene.util.Bits org.apache.lucene.store.TrackingDirectoryWrapper int
StackMap stack:
iload 4
ifne 25
20: aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.advanceNextWriteDelGen:()V
21: aload 3
invokevirtual org.apache.lucene.store.TrackingDirectoryWrapper.getCreatedFiles:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 24
StackMap locals: org.apache.lucene.index.PendingDeletes org.apache.lucene.store.Directory org.apache.lucene.util.Bits org.apache.lucene.store.TrackingDirectoryWrapper int top top top java.util.Iterator
StackMap stack:
22: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 23: aload 1
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 7
aastore
invokestatic org.apache.lucene.util.IOUtils.deleteFilesIgnoringExceptions:(Lorg/apache/lucene/store/Directory;[Ljava/lang/String;)V
end local 7 24: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
25: StackMap locals: org.apache.lucene.index.PendingDeletes org.apache.lucene.store.Directory org.apache.lucene.util.Bits org.apache.lucene.store.TrackingDirectoryWrapper int
StackMap stack:
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.advanceDelGen:()V
26: aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getDelCount:()I
aload 0
getfield org.apache.lucene.index.PendingDeletes.pendingDeleteCount:I
iadd
invokevirtual org.apache.lucene.index.SegmentCommitInfo.setDelCount:(I)V
27: aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.dropChanges:()V
28: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/apache/lucene/index/PendingDeletes;
0 29 1 dir Lorg/apache/lucene/store/Directory;
3 29 2 liveDocs Lorg/apache/lucene/util/Bits;
6 29 3 trackingDir Lorg/apache/lucene/store/TrackingDirectoryWrapper;
7 29 4 success Z
8 10 5 codec Lorg/apache/lucene/codecs/Codec;
16 17 7 fileName Ljava/lang/String;
23 24 7 fileName Ljava/lang/String;
Exception table:
from to target type
7 11 11 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dir
boolean isFullyDeleted(org.apache.lucene.util.IOSupplier<org.apache.lucene.index.CodecReader>);
descriptor: (Lorg/apache/lucene/util/IOSupplier;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.getDelCount:()I
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()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/apache/lucene/index/PendingDeletes;
0 2 1 readerIOSupplier Lorg/apache/lucene/util/IOSupplier<Lorg/apache/lucene/index/CodecReader;>;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/lucene/util/IOSupplier<Lorg/apache/lucene/index/CodecReader;>;)Z
MethodParameters:
Name Flags
readerIOSupplier
void onDocValuesUpdate(org.apache.lucene.index.FieldInfo, org.apache.lucene.index.DocValuesFieldUpdates$Iterator);
descriptor: (Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/index/DocValuesFieldUpdates$Iterator;)V
flags: (0x0000)
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/PendingDeletes;
0 1 1 info Lorg/apache/lucene/index/FieldInfo;
0 1 2 iterator Lorg/apache/lucene/index/DocValuesFieldUpdates$Iterator;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
info
iterator
int numDeletesToMerge(org.apache.lucene.index.MergePolicy, org.apache.lucene.util.IOSupplier<org.apache.lucene.index.CodecReader>);
descriptor: (Lorg/apache/lucene/index/MergePolicy;Lorg/apache/lucene/util/IOSupplier;)I
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.getDelCount:()I
aload 2
invokevirtual org.apache.lucene.index.MergePolicy.numDeletesToMerge:(Lorg/apache/lucene/index/SegmentCommitInfo;ILorg/apache/lucene/util/IOSupplier;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/PendingDeletes;
0 1 1 policy Lorg/apache/lucene/index/MergePolicy;
0 1 2 readerIOSupplier Lorg/apache/lucene/util/IOSupplier<Lorg/apache/lucene/index/CodecReader;>;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/lucene/index/MergePolicy;Lorg/apache/lucene/util/IOSupplier<Lorg/apache/lucene/index/CodecReader;>;)I
MethodParameters:
Name Flags
policy
readerIOSupplier
final boolean needsRefresh(org.apache.lucene.index.CodecReader);
descriptor: (Lorg/apache/lucene/index/CodecReader;)Z
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.lucene.index.CodecReader.getLiveDocs:()Lorg/apache/lucene/util/Bits;
aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.getLiveDocs:()Lorg/apache/lucene/util/Bits;
if_acmpne 1
aload 1
invokevirtual org.apache.lucene.index.CodecReader.numDeletedDocs:()I
aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.getDelCount:()I
if_icmpne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/PendingDeletes;
0 2 1 reader Lorg/apache/lucene/index/CodecReader;
MethodParameters:
Name Flags
reader
final int getDelCount();
descriptor: ()I
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getDelCount:()I
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getSoftDelCount:()I
iadd
aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.numPendingDeletes:()I
iadd
istore 1
start local 1 1: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/PendingDeletes;
1 2 1 delCount I
final int numDocs();
descriptor: ()I
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.getDelCount:()I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/PendingDeletes;
boolean verifyDocCounts(org.apache.lucene.index.CodecReader);
descriptor: (Lorg/apache/lucene/index/CodecReader;)Z
flags: (0x0000)
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.getLiveDocs:()Lorg/apache/lucene/util/Bits;
astore 3
start local 3 2: aload 3
ifnull 10
3: iconst_0
istore 4
start local 4 4: goto 8
5: StackMap locals: int org.apache.lucene.util.Bits int
StackMap stack:
aload 3
iload 4
invokeinterface org.apache.lucene.util.Bits.get:(I)Z
ifeq 7
6: iinc 2 1
7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
if_icmplt 5
end local 4 9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
istore 2
11: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 14
aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.numDocs:()I
iload 2
if_icmpeq 14
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "info.maxDoc="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " info.getDelCount()="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getDelCount:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
12: ldc " info.getSoftDelCount()="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getSoftDelCount:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
13: ldc " pendingDeletes="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " count="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " numDocs: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.numDocs:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
14: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 15
aload 1
invokevirtual org.apache.lucene.index.CodecReader.numDocs:()I
aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.numDocs:()I
if_icmpeq 15
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "reader.numDocs() = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.apache.lucene.index.CodecReader.numDocs:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " numDocs() "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.numDocs:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
15: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.PendingDeletes.$assertionsDisabled:Z
ifne 18
aload 1
invokevirtual org.apache.lucene.index.CodecReader.numDeletedDocs:()I
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
if_icmple 18
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "delCount="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.apache.lucene.index.CodecReader.numDeletedDocs:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " info.maxDoc="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " rld.pendingDeleteCount="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.lucene.index.PendingDeletes.numPendingDeletes:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
17: ldc " info.getDelCount()="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getDelCount:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
18: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/lucene/index/PendingDeletes;
0 19 1 reader Lorg/apache/lucene/index/CodecReader;
1 19 2 count I
2 19 3 liveDocs Lorg/apache/lucene/util/Bits;
4 9 4 docID I
MethodParameters:
Name Flags
reader
boolean mustInitOnDelete();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/PendingDeletes;
}
SourceFile: "PendingDeletes.java"
InnerClasses:
abstract Iterator = org.apache.lucene.index.DocValuesFieldUpdates$Iterator of org.apache.lucene.index.DocValuesFieldUpdates