final class org.apache.lucene.index.ReaderPool implements java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.ReaderPool
super_class: java.lang.Object
{
private final java.util.Map<org.apache.lucene.index.SegmentCommitInfo, org.apache.lucene.index.ReadersAndUpdates> readerMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/index/ReadersAndUpdates;>;
private final org.apache.lucene.store.Directory directory;
descriptor: Lorg/apache/lucene/store/Directory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.store.Directory originalDirectory;
descriptor: Lorg/apache/lucene/store/Directory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.index.FieldInfos$FieldNumbers fieldNumbers;
descriptor: Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.function.LongSupplier completedDelGenSupplier;
descriptor: Ljava/util/function/LongSupplier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.util.InfoStream infoStream;
descriptor: Lorg/apache/lucene/util/InfoStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.index.SegmentInfos segmentInfos;
descriptor: Lorg/apache/lucene/index/SegmentInfos;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String softDeletesField;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean poolReaders;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.util.concurrent.atomic.AtomicBoolean closed;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, 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=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/index/ReaderPool;
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.ReaderPool.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.lucene.store.Directory, org.apache.lucene.store.Directory, org.apache.lucene.index.SegmentInfos, org.apache.lucene.index.FieldInfos$FieldNumbers, java.util.function.LongSupplier, org.apache.lucene.util.InfoStream, java.lang.String, org.apache.lucene.index.StandardDirectoryReader);
descriptor: (Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfos;Lorg/apache/lucene/index/FieldInfos$FieldNumbers;Ljava/util/function/LongSupplier;Lorg/apache/lucene/util/InfoStream;Ljava/lang/String;Lorg/apache/lucene/index/StandardDirectoryReader;)V
flags: (0x0000)
Code:
stack=9, locals=14, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
2: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
putfield org.apache.lucene.index.ReaderPool.closed:Ljava/util/concurrent/atomic/AtomicBoolean;
3: aload 0
aload 1
putfield org.apache.lucene.index.ReaderPool.directory:Lorg/apache/lucene/store/Directory;
4: aload 0
aload 2
putfield org.apache.lucene.index.ReaderPool.originalDirectory:Lorg/apache/lucene/store/Directory;
5: aload 0
aload 3
putfield org.apache.lucene.index.ReaderPool.segmentInfos:Lorg/apache/lucene/index/SegmentInfos;
6: aload 0
aload 4
putfield org.apache.lucene.index.ReaderPool.fieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
7: aload 0
aload 5
putfield org.apache.lucene.index.ReaderPool.completedDelGenSupplier:Ljava/util/function/LongSupplier;
8: aload 0
aload 6
putfield org.apache.lucene.index.ReaderPool.infoStream:Lorg/apache/lucene/util/InfoStream;
9: aload 0
aload 7
putfield org.apache.lucene.index.ReaderPool.softDeletesField:Ljava/lang/String;
10: aload 8
ifnull 25
11: aload 8
invokevirtual org.apache.lucene.index.StandardDirectoryReader.leaves:()Ljava/util/List;
astore 9
start local 9 12: getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 13
aload 3
invokevirtual org.apache.lucene.index.SegmentInfos.size:()I
aload 9
invokeinterface java.util.List.size:()I
if_icmpeq 13
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
13: StackMap locals: org.apache.lucene.index.ReaderPool org.apache.lucene.store.Directory org.apache.lucene.store.Directory org.apache.lucene.index.SegmentInfos org.apache.lucene.index.FieldInfos$FieldNumbers java.util.function.LongSupplier org.apache.lucene.util.InfoStream java.lang.String org.apache.lucene.index.StandardDirectoryReader java.util.List
StackMap stack:
iconst_0
istore 10
start local 10 14: goto 24
15: StackMap locals: int
StackMap stack:
aload 9
iload 10
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.index.LeafReaderContext
astore 11
start local 11 16: aload 11
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
checkcast org.apache.lucene.index.SegmentReader
astore 12
start local 12 17: new org.apache.lucene.index.SegmentReader
dup
aload 3
iload 10
invokevirtual org.apache.lucene.index.SegmentInfos.info:(I)Lorg/apache/lucene/index/SegmentCommitInfo;
aload 12
aload 12
invokevirtual org.apache.lucene.index.SegmentReader.getLiveDocs:()Lorg/apache/lucene/util/Bits;
18: aload 12
invokevirtual org.apache.lucene.index.SegmentReader.getHardLiveDocs:()Lorg/apache/lucene/util/Bits;
aload 12
invokevirtual org.apache.lucene.index.SegmentReader.numDocs:()I
iconst_1
19: invokespecial org.apache.lucene.index.SegmentReader.<init>:(Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/index/SegmentReader;Lorg/apache/lucene/util/Bits;Lorg/apache/lucene/util/Bits;IZ)V
astore 13
start local 13 20: aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
aload 13
invokevirtual org.apache.lucene.index.SegmentReader.getOriginalSegmentInfo:()Lorg/apache/lucene/index/SegmentCommitInfo;
new org.apache.lucene.index.ReadersAndUpdates
dup
aload 3
invokevirtual org.apache.lucene.index.SegmentInfos.getIndexCreatedVersionMajor:()I
21: aload 13
aload 0
aload 13
aload 13
invokevirtual org.apache.lucene.index.SegmentReader.getOriginalSegmentInfo:()Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.ReaderPool.newPendingDeletes:(Lorg/apache/lucene/index/SegmentReader;Lorg/apache/lucene/index/SegmentCommitInfo;)Lorg/apache/lucene/index/PendingDeletes;
invokespecial org.apache.lucene.index.ReadersAndUpdates.<init>:(ILorg/apache/lucene/index/SegmentReader;Lorg/apache/lucene/index/PendingDeletes;)V
22: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 end local 12 end local 11 23: iinc 10 1
StackMap locals:
StackMap stack:
24: iload 10
aload 9
invokeinterface java.util.List.size:()I
if_icmplt 15
end local 10 end local 9 25: StackMap locals:
StackMap stack:
return
end local 8 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 26 0 this Lorg/apache/lucene/index/ReaderPool;
0 26 1 directory Lorg/apache/lucene/store/Directory;
0 26 2 originalDirectory Lorg/apache/lucene/store/Directory;
0 26 3 segmentInfos Lorg/apache/lucene/index/SegmentInfos;
0 26 4 fieldNumbers Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
0 26 5 completedDelGenSupplier Ljava/util/function/LongSupplier;
0 26 6 infoStream Lorg/apache/lucene/util/InfoStream;
0 26 7 softDeletesField Ljava/lang/String;
0 26 8 reader Lorg/apache/lucene/index/StandardDirectoryReader;
12 25 9 leaves Ljava/util/List<Lorg/apache/lucene/index/LeafReaderContext;>;
14 25 10 i I
16 23 11 leaf Lorg/apache/lucene/index/LeafReaderContext;
17 23 12 segReader Lorg/apache/lucene/index/SegmentReader;
20 23 13 newReader Lorg/apache/lucene/index/SegmentReader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
directory
originalDirectory
segmentInfos
fieldNumbers
completedDelGenSupplier
infoStream
softDeletesField
reader
synchronized boolean assertInfoIsLive(org.apache.lucene.index.SegmentCommitInfo);
descriptor: (Lorg/apache/lucene/index/SegmentCommitInfo;)Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.ReaderPool.segmentInfos:Lorg/apache/lucene/index/SegmentInfos;
aload 1
invokevirtual org.apache.lucene.index.SegmentInfos.indexOf:(Lorg/apache/lucene/index/SegmentCommitInfo;)I
istore 2
start local 2 1: getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 2
iload 2
iconst_m1
if_icmpne 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "info="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " isn't live"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: int
StackMap stack:
getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.apache.lucene.index.ReaderPool.segmentInfos:Lorg/apache/lucene/index/SegmentInfos;
iload 2
invokevirtual org.apache.lucene.index.SegmentInfos.info:(I)Lorg/apache/lucene/index/SegmentCommitInfo;
aload 1
if_acmpeq 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "info="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " doesn't match live info in segmentInfos"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/ReaderPool;
0 4 1 info Lorg/apache/lucene/index/SegmentCommitInfo;
1 4 2 idx I
MethodParameters:
Name Flags
info
synchronized boolean drop(org.apache.lucene.index.SegmentCommitInfo);
descriptor: (Lorg/apache/lucene/index/SegmentCommitInfo;)Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.index.ReadersAndUpdates
astore 2
start local 2 1: aload 2
ifnull 6
2: getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 3
aload 1
aload 2
getfield org.apache.lucene.index.ReadersAndUpdates.info:Lorg/apache/lucene/index/SegmentCommitInfo;
if_acmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.apache.lucene.index.ReadersAndUpdates
StackMap stack:
aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 2
invokevirtual org.apache.lucene.index.ReadersAndUpdates.dropReaders:()V
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/ReaderPool;
0 7 1 info Lorg/apache/lucene/index/SegmentCommitInfo;
1 7 2 rld Lorg/apache/lucene/index/ReadersAndUpdates;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
info
synchronized long ramBytesUsed();
descriptor: ()J
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.lucene.index.ReaderPool long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.ReadersAndUpdates
astore 3
start local 3 3: lload 1
aload 3
getfield org.apache.lucene.index.ReadersAndUpdates.ramBytesUsed:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
ladd
lstore 1
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/ReaderPool;
1 6 1 bytes J
3 4 3 rld Lorg/apache/lucene/index/ReadersAndUpdates;
synchronized boolean anyDeletions();
descriptor: ()Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: org.apache.lucene.index.ReaderPool top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.ReadersAndUpdates
astore 1
start local 1 2: aload 1
invokevirtual org.apache.lucene.index.ReadersAndUpdates.getDelCount:()I
ifle 4
3: iconst_1
ireturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/ReaderPool;
2 4 1 rld Lorg/apache/lucene/index/ReadersAndUpdates;
void enableReaderPooling();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.lucene.index.ReaderPool.poolReaders:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/ReaderPool;
boolean isReaderPoolingEnabled();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.ReaderPool.poolReaders:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/ReaderPool;
synchronized boolean release(org.apache.lucene.index.ReadersAndUpdates, boolean);
descriptor: (Lorg/apache/lucene/index/ReadersAndUpdates;Z)Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 1
invokevirtual org.apache.lucene.index.ReadersAndUpdates.decRef:()V
2: aload 1
invokevirtual org.apache.lucene.index.ReadersAndUpdates.refCount:()I
ifne 5
3: getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 15
aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
aload 1
getfield org.apache.lucene.index.ReadersAndUpdates.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 15
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "seg="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.apache.lucene.index.ReadersAndUpdates.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc " has refCount 0 but still unexpectedly exists in the reader pool"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals: int
StackMap stack:
getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 6
aload 1
invokevirtual org.apache.lucene.index.ReadersAndUpdates.refCount:()I
ifgt 6
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "refCount="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.apache.lucene.index.ReadersAndUpdates.refCount:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " reader="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield org.apache.lucene.index.ReadersAndUpdates.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.ReaderPool.poolReaders:Z
ifne 15
aload 1
invokevirtual org.apache.lucene.index.ReadersAndUpdates.refCount:()I
iconst_1
if_icmpne 15
aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
aload 1
getfield org.apache.lucene.index.ReadersAndUpdates.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 15
7: aload 1
aload 0
getfield org.apache.lucene.index.ReaderPool.directory:Lorg/apache/lucene/store/Directory;
invokevirtual org.apache.lucene.index.ReadersAndUpdates.writeLiveDocs:(Lorg/apache/lucene/store/Directory;)Z
ifeq 10
8: getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 9
iload 2
ifeq 9
aload 0
aload 1
getfield org.apache.lucene.index.ReadersAndUpdates.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.ReaderPool.assertInfoIsLive:(Lorg/apache/lucene/index/SegmentCommitInfo;)Z
ifne 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
iconst_1
istore 3
10: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.lucene.index.ReaderPool.directory:Lorg/apache/lucene/store/Directory;
aload 0
getfield org.apache.lucene.index.ReaderPool.fieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
aload 0
getfield org.apache.lucene.index.ReaderPool.completedDelGenSupplier:Ljava/util/function/LongSupplier;
invokeinterface java.util.function.LongSupplier.getAsLong:()J
aload 0
getfield org.apache.lucene.index.ReaderPool.infoStream:Lorg/apache/lucene/util/InfoStream;
invokevirtual org.apache.lucene.index.ReadersAndUpdates.writeFieldUpdates:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/FieldInfos$FieldNumbers;JLorg/apache/lucene/util/InfoStream;)Z
ifeq 12
11: iconst_1
istore 3
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.lucene.index.ReadersAndUpdates.getNumDVUpdates:()J
lconst_0
lcmp
ifne 15
13: aload 1
invokevirtual org.apache.lucene.index.ReadersAndUpdates.dropReaders:()V
14: aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
aload 1
getfield org.apache.lucene.index.ReadersAndUpdates.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
15: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/lucene/index/ReaderPool;
0 16 1 rld Lorg/apache/lucene/index/ReadersAndUpdates;
0 16 2 assertInfoLive Z
1 16 3 changed Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
rld
assertInfoLive
public synchronized void close();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.ReaderPool.closed:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 2
1: aload 0
invokevirtual org.apache.lucene.index.ReaderPool.dropAll:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/ReaderPool;
Exceptions:
throws java.io.IOException
boolean writeAllDocValuesUpdates();
descriptor: ()Z
flags: (0x0000)
Code:
stack=7, locals=5, args_size=1
start local 0 0: aload 0
dup
astore 2
monitorenter
1: new java.util.HashSet
dup
aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 2: aload 2
monitorexit
3: goto 6
end local 1 StackMap locals: org.apache.lucene.index.ReaderPool top org.apache.lucene.index.ReaderPool
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
start local 1 6: StackMap locals: org.apache.lucene.index.ReaderPool java.util.Collection
StackMap stack:
iconst_0
istore 2
start local 2 7: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: org.apache.lucene.index.ReaderPool java.util.Collection int top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.ReadersAndUpdates
astore 3
start local 3 9: iload 2
aload 3
aload 0
getfield org.apache.lucene.index.ReaderPool.directory:Lorg/apache/lucene/store/Directory;
aload 0
getfield org.apache.lucene.index.ReaderPool.fieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
aload 0
getfield org.apache.lucene.index.ReaderPool.completedDelGenSupplier:Ljava/util/function/LongSupplier;
invokeinterface java.util.function.LongSupplier.getAsLong:()J
aload 0
getfield org.apache.lucene.index.ReaderPool.infoStream:Lorg/apache/lucene/util/InfoStream;
invokevirtual org.apache.lucene.index.ReadersAndUpdates.writeFieldUpdates:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/FieldInfos$FieldNumbers;JLorg/apache/lucene/util/InfoStream;)Z
ior
istore 2
end local 3 10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/index/ReaderPool;
2 4 1 copy Ljava/util/Collection<Lorg/apache/lucene/index/ReadersAndUpdates;>;
6 12 1 copy Ljava/util/Collection<Lorg/apache/lucene/index/ReadersAndUpdates;>;
7 12 2 any Z
9 10 3 rld Lorg/apache/lucene/index/ReadersAndUpdates;
Exception table:
from to target type
1 3 4 any
4 5 4 any
Exceptions:
throws java.io.IOException
boolean writeDocValuesUpdatesForMerge(java.util.List<org.apache.lucene.index.SegmentCommitInfo>);
descriptor: (Ljava/util/List;)Z
flags: (0x0000)
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: org.apache.lucene.index.ReaderPool java.util.List int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.SegmentCommitInfo
astore 3
start local 3 3: aload 0
aload 3
iconst_0
invokevirtual org.apache.lucene.index.ReaderPool.get:(Lorg/apache/lucene/index/SegmentCommitInfo;Z)Lorg/apache/lucene/index/ReadersAndUpdates;
astore 5
start local 5 4: aload 5
ifnull 7
5: iload 2
aload 5
aload 0
getfield org.apache.lucene.index.ReaderPool.directory:Lorg/apache/lucene/store/Directory;
aload 0
getfield org.apache.lucene.index.ReaderPool.fieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
aload 0
getfield org.apache.lucene.index.ReaderPool.completedDelGenSupplier:Ljava/util/function/LongSupplier;
invokeinterface java.util.function.LongSupplier.getAsLong:()J
aload 0
getfield org.apache.lucene.index.ReaderPool.infoStream:Lorg/apache/lucene/util/InfoStream;
invokevirtual org.apache.lucene.index.ReadersAndUpdates.writeFieldUpdates:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/FieldInfos$FieldNumbers;JLorg/apache/lucene/util/InfoStream;)Z
ior
istore 2
6: aload 5
invokevirtual org.apache.lucene.index.ReadersAndUpdates.setIsMerging:()V
end local 5 end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/index/ReaderPool;
0 9 1 infos Ljava/util/List<Lorg/apache/lucene/index/SegmentCommitInfo;>;
1 9 2 any Z
3 7 3 info Lorg/apache/lucene/index/SegmentCommitInfo;
4 7 5 rld Lorg/apache/lucene/index/ReadersAndUpdates;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Lorg/apache/lucene/index/SegmentCommitInfo;>;)Z
MethodParameters:
Name Flags
infos
synchronized java.util.List<org.apache.lucene.index.ReadersAndUpdates> getReadersByRam();
descriptor: ()Ljava/util/List;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 4
2: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
aload 2
monitorexit
3: areturn
4: StackMap locals: org.apache.lucene.index.ReaderPool top org.apache.lucene.index.ReaderPool
StackMap stack:
new java.util.ArrayList
dup
aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 5: aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.apache.lucene.index.ReaderPool java.util.ArrayList org.apache.lucene.index.ReaderPool top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.ReadersAndUpdates
astore 3
start local 3 7: aload 1
new org.apache.lucene.index.ReaderPool$1RamRecordingHolder
dup
aload 0
aload 3
invokespecial org.apache.lucene.index.ReaderPool$1RamRecordingHolder.<init>:(Lorg/apache/lucene/index/ReaderPool;Lorg/apache/lucene/index/ReadersAndUpdates;)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 2
monitorexit
10: goto 13
end local 1 StackMap locals: org.apache.lucene.index.ReaderPool top org.apache.lucene.index.ReaderPool
StackMap stack: java.lang.Throwable
11: aload 2
monitorexit
12: athrow
start local 1 13: StackMap locals: org.apache.lucene.index.ReaderPool java.util.ArrayList
StackMap stack:
aload 1
invokedynamic compare()Ljava/util/Comparator;
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;)I
org/apache/lucene/index/ReaderPool.lambda$0(Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;)I (6)
(Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;)I
invokestatic org.apache.lucene.util.CollectionUtil.introSort:(Ljava/util/List;Ljava/util/Comparator;)V
14: aload 1
invokevirtual java.util.ArrayList.stream:()Ljava/util/stream/Stream;
invokedynamic apply()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/ReaderPool.lambda$1(Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;)Lorg/apache/lucene/index/ReadersAndUpdates; (6)
(Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;)Lorg/apache/lucene/index/ReadersAndUpdates;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/lucene/index/ReaderPool;
5 11 1 readersByRam Ljava/util/ArrayList<Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;>;
13 15 1 readersByRam Ljava/util/ArrayList<Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;>;
7 8 3 rld Lorg/apache/lucene/index/ReadersAndUpdates;
Exception table:
from to target type
1 3 11 any
4 10 11 any
11 12 11 any
Signature: ()Ljava/util/List<Lorg/apache/lucene/index/ReadersAndUpdates;>;
synchronized void dropAll();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 9
3: StackMap locals: java.lang.Throwable java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.lucene.index.ReadersAndUpdates
astore 3
start local 3 4: aload 2
invokeinterface java.util.Iterator.remove:()V
5: aload 3
invokevirtual org.apache.lucene.index.ReadersAndUpdates.dropReaders:()V
6: goto 9
StackMap locals: org.apache.lucene.index.ReaderPool java.lang.Throwable java.util.Iterator org.apache.lucene.index.ReadersAndUpdates
StackMap stack: java.lang.Throwable
7: astore 4
start local 4 8: aload 1
aload 4
invokestatic org.apache.lucene.util.IOUtils.useOrSuppress:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
end local 4 end local 3 9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 11
aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ifeq 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
aload 1
ifnull 13
12: aload 1
invokestatic org.apache.lucene.util.IOUtils.rethrowAlways:(Ljava/lang/Throwable;)Ljava/lang/Error;
athrow
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/lucene/index/ReaderPool;
1 14 1 priorE Ljava/lang/Throwable;
2 14 2 it Ljava/util/Iterator<Ljava/util/Map$Entry<Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/index/ReadersAndUpdates;>;>;
4 9 3 rld Lorg/apache/lucene/index/ReadersAndUpdates;
8 9 4 t Ljava/lang/Throwable;
Exception table:
from to target type
5 6 7 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
synchronized boolean commit(org.apache.lucene.index.SegmentInfos);
descriptor: (Lorg/apache/lucene/index/SegmentInfos;)Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokevirtual org.apache.lucene.index.SegmentInfos.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: org.apache.lucene.index.ReaderPool org.apache.lucene.index.SegmentInfos int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.SegmentCommitInfo
astore 3
start local 3 3: aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.index.ReadersAndUpdates
astore 5
start local 5 4: aload 5
ifnull 11
5: getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 6
aload 5
getfield org.apache.lucene.index.ReadersAndUpdates.info:Lorg/apache/lucene/index/SegmentCommitInfo;
aload 3
if_acmpeq 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: org.apache.lucene.index.ReaderPool org.apache.lucene.index.SegmentInfos int org.apache.lucene.index.SegmentCommitInfo java.util.Iterator org.apache.lucene.index.ReadersAndUpdates
StackMap stack:
aload 5
aload 0
getfield org.apache.lucene.index.ReaderPool.directory:Lorg/apache/lucene/store/Directory;
invokevirtual org.apache.lucene.index.ReadersAndUpdates.writeLiveDocs:(Lorg/apache/lucene/store/Directory;)Z
istore 6
start local 6 7: iload 6
aload 5
aload 0
getfield org.apache.lucene.index.ReaderPool.directory:Lorg/apache/lucene/store/Directory;
aload 0
getfield org.apache.lucene.index.ReaderPool.fieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
aload 0
getfield org.apache.lucene.index.ReaderPool.completedDelGenSupplier:Ljava/util/function/LongSupplier;
invokeinterface java.util.function.LongSupplier.getAsLong:()J
aload 0
getfield org.apache.lucene.index.ReaderPool.infoStream:Lorg/apache/lucene/util/InfoStream;
invokevirtual org.apache.lucene.index.ReadersAndUpdates.writeFieldUpdates:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/FieldInfos$FieldNumbers;JLorg/apache/lucene/util/InfoStream;)Z
ior
istore 6
8: iload 6
ifeq 11
9: getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 10
aload 0
aload 3
invokevirtual org.apache.lucene.index.ReaderPool.assertInfoIsLive:(Lorg/apache/lucene/index/SegmentCommitInfo;)Z
ifne 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: int
StackMap stack:
iconst_1
istore 2
end local 6 end local 5 end local 3 11: StackMap locals: org.apache.lucene.index.ReaderPool org.apache.lucene.index.SegmentInfos int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
12: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/lucene/index/ReaderPool;
0 13 1 infos Lorg/apache/lucene/index/SegmentInfos;
1 13 2 atLeastOneChange Z
3 11 3 info Lorg/apache/lucene/index/SegmentCommitInfo;
4 11 5 rld Lorg/apache/lucene/index/ReadersAndUpdates;
7 11 6 changed Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
infos
synchronized boolean anyDocValuesChanges();
descriptor: ()Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: org.apache.lucene.index.ReaderPool top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.ReadersAndUpdates
astore 1
start local 1 2: aload 1
invokevirtual org.apache.lucene.index.ReadersAndUpdates.getNumDVUpdates:()J
lconst_0
lcmp
ifeq 4
3: iconst_1
ireturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/ReaderPool;
2 4 1 rld Lorg/apache/lucene/index/ReadersAndUpdates;
synchronized org.apache.lucene.index.ReadersAndUpdates get(org.apache.lucene.index.SegmentCommitInfo, boolean);
descriptor: (Lorg/apache/lucene/index/SegmentCommitInfo;Z)Lorg/apache/lucene/index/ReadersAndUpdates;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 1
aload 1
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
getfield org.apache.lucene.index.SegmentInfo.dir:Lorg/apache/lucene/store/Directory;
aload 0
getfield org.apache.lucene.index.ReaderPool.originalDirectory:Lorg/apache/lucene/store/Directory;
if_acmpeq 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "info.dir="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
getfield org.apache.lucene.index.SegmentInfo.dir:Lorg/apache/lucene/store/Directory;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " vs "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.ReaderPool.originalDirectory:Lorg/apache/lucene/store/Directory;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.ReaderPool.closed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 4
2: getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Reader map is not empty: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
new org.apache.lucene.store.AlreadyClosedException
dup
ldc "ReaderPool is already closed"
invokespecial org.apache.lucene.store.AlreadyClosedException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.index.ReadersAndUpdates
astore 3
start local 3 5: aload 3
ifnonnull 11
6: iload 2
ifne 8
7: aconst_null
areturn
8: StackMap locals: org.apache.lucene.index.ReadersAndUpdates
StackMap stack:
new org.apache.lucene.index.ReadersAndUpdates
dup
aload 0
getfield org.apache.lucene.index.ReaderPool.segmentInfos:Lorg/apache/lucene/index/SegmentInfos;
invokevirtual org.apache.lucene.index.SegmentInfos.getIndexCreatedVersionMajor:()I
aload 1
aload 0
aload 1
invokevirtual org.apache.lucene.index.ReaderPool.newPendingDeletes:(Lorg/apache/lucene/index/SegmentCommitInfo;)Lorg/apache/lucene/index/PendingDeletes;
invokespecial org.apache.lucene.index.ReadersAndUpdates.<init>:(ILorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/index/PendingDeletes;)V
astore 3
9: aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
aload 1
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: goto 13
11: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 13
aload 3
getfield org.apache.lucene.index.ReadersAndUpdates.info:Lorg/apache/lucene/index/SegmentCommitInfo;
aload 1
if_acmpeq 13
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "rld.info="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
getfield org.apache.lucene.index.ReadersAndUpdates.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " info="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " isLive?="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 3
getfield org.apache.lucene.index.ReadersAndUpdates.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.ReaderPool.assertInfoIsLive:(Lorg/apache/lucene/index/SegmentCommitInfo;)Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
12: ldc " vs "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 1
invokevirtual org.apache.lucene.index.ReaderPool.assertInfoIsLive:(Lorg/apache/lucene/index/SegmentCommitInfo;)Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
13: StackMap locals:
StackMap stack:
iload 2
ifeq 15
14: aload 3
invokevirtual org.apache.lucene.index.ReadersAndUpdates.incRef:()V
15: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 16
aload 0
invokevirtual org.apache.lucene.index.ReaderPool.noDups:()Z
ifne 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/lucene/index/ReaderPool;
0 17 1 info Lorg/apache/lucene/index/SegmentCommitInfo;
0 17 2 create Z
5 17 3 rld Lorg/apache/lucene/index/ReadersAndUpdates;
MethodParameters:
Name Flags
info
create
private org.apache.lucene.index.PendingDeletes newPendingDeletes(org.apache.lucene.index.SegmentCommitInfo);
descriptor: (Lorg/apache/lucene/index/SegmentCommitInfo;)Lorg/apache/lucene/index/PendingDeletes;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.ReaderPool.softDeletesField:Ljava/lang/String;
ifnonnull 1
new org.apache.lucene.index.PendingDeletes
dup
aload 1
invokespecial org.apache.lucene.index.PendingDeletes.<init>:(Lorg/apache/lucene/index/SegmentCommitInfo;)V
goto 2
StackMap locals:
StackMap stack:
1: new org.apache.lucene.index.PendingSoftDeletes
dup
aload 0
getfield org.apache.lucene.index.ReaderPool.softDeletesField:Ljava/lang/String;
aload 1
invokespecial org.apache.lucene.index.PendingSoftDeletes.<init>:(Ljava/lang/String;Lorg/apache/lucene/index/SegmentCommitInfo;)V
StackMap locals:
StackMap stack: org.apache.lucene.index.PendingDeletes
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/ReaderPool;
0 3 1 info Lorg/apache/lucene/index/SegmentCommitInfo;
MethodParameters:
Name Flags
info
private org.apache.lucene.index.PendingDeletes newPendingDeletes(org.apache.lucene.index.SegmentReader, org.apache.lucene.index.SegmentCommitInfo);
descriptor: (Lorg/apache/lucene/index/SegmentReader;Lorg/apache/lucene/index/SegmentCommitInfo;)Lorg/apache/lucene/index/PendingDeletes;
flags: (0x0002) ACC_PRIVATE
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.ReaderPool.softDeletesField:Ljava/lang/String;
ifnonnull 1
new org.apache.lucene.index.PendingDeletes
dup
aload 1
aload 2
invokespecial org.apache.lucene.index.PendingDeletes.<init>:(Lorg/apache/lucene/index/SegmentReader;Lorg/apache/lucene/index/SegmentCommitInfo;)V
goto 2
1: StackMap locals:
StackMap stack:
new org.apache.lucene.index.PendingSoftDeletes
dup
aload 0
getfield org.apache.lucene.index.ReaderPool.softDeletesField:Ljava/lang/String;
aload 1
aload 2
invokespecial org.apache.lucene.index.PendingSoftDeletes.<init>:(Ljava/lang/String;Lorg/apache/lucene/index/SegmentReader;Lorg/apache/lucene/index/SegmentCommitInfo;)V
2: StackMap locals:
StackMap stack: org.apache.lucene.index.PendingDeletes
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/ReaderPool;
0 3 1 reader Lorg/apache/lucene/index/SegmentReader;
0 3 2 info Lorg/apache/lucene/index/SegmentCommitInfo;
MethodParameters:
Name Flags
reader
info
private boolean noDups();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.apache.lucene.index.ReaderPool.readerMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.apache.lucene.index.ReaderPool java.util.Set top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.SegmentCommitInfo
astore 2
start local 2 3: getstatic org.apache.lucene.index.ReaderPool.$assertionsDisabled:Z
ifne 4
aload 1
aload 2
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
getfield org.apache.lucene.index.SegmentInfo.name:Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 4
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "seen twice: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals: org.apache.lucene.index.ReaderPool java.util.Set org.apache.lucene.index.SegmentCommitInfo java.util.Iterator
StackMap stack:
aload 1
aload 2
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
getfield org.apache.lucene.index.SegmentInfo.name:Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 5: StackMap locals: org.apache.lucene.index.ReaderPool java.util.Set top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/ReaderPool;
1 7 1 seen Ljava/util/Set<Ljava/lang/String;>;
3 5 2 info Lorg/apache/lucene/index/SegmentCommitInfo;
private static int lambda$0(org.apache.lucene.index.ReaderPool$1RamRecordingHolder, org.apache.lucene.index.ReaderPool$1RamRecordingHolder);
descriptor: (Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.lucene.index.ReaderPool$1RamRecordingHolder.ramBytesUsed:J
aload 0
getfield org.apache.lucene.index.ReaderPool$1RamRecordingHolder.ramBytesUsed:J
invokestatic java.lang.Long.compare:(JJ)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;
0 1 1 b Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;
private static org.apache.lucene.index.ReadersAndUpdates lambda$1(org.apache.lucene.index.ReaderPool$1RamRecordingHolder);
descriptor: (Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;)Lorg/apache/lucene/index/ReadersAndUpdates;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.ReaderPool$1RamRecordingHolder.updates:Lorg/apache/lucene/index/ReadersAndUpdates;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 h Lorg/apache/lucene/index/ReaderPool$1RamRecordingHolder;
}
SourceFile: "ReaderPool.java"
NestMembers:
org.apache.lucene.index.ReaderPool$1RamRecordingHolder
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
final FieldNumbers = org.apache.lucene.index.FieldInfos$FieldNumbers of org.apache.lucene.index.FieldInfos
RamRecordingHolder = org.apache.lucene.index.ReaderPool$1RamRecordingHolder