final class org.apache.lucene.index.DocumentsWriterPerThread implements org.apache.lucene.util.Accountable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.DocumentsWriterPerThread
super_class: java.lang.Object
{
private java.lang.Throwable abortingException;
descriptor: Ljava/lang/Throwable;
flags: (0x0002) ACC_PRIVATE
static final org.apache.lucene.index.DocumentsWriterPerThread$IndexingChain defaultIndexingChain;
descriptor: Lorg/apache/lucene/index/DocumentsWriterPerThread$IndexingChain;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final boolean INFO_VERBOSE;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
final org.apache.lucene.codecs.Codec codec;
descriptor: Lorg/apache/lucene/codecs/Codec;
flags: (0x0010) ACC_FINAL
final org.apache.lucene.store.TrackingDirectoryWrapper directory;
descriptor: Lorg/apache/lucene/store/TrackingDirectoryWrapper;
flags: (0x0010) ACC_FINAL
private final org.apache.lucene.index.DocConsumer consumer;
descriptor: Lorg/apache/lucene/index/DocConsumer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.index.BufferedUpdates pendingUpdates;
descriptor: Lorg/apache/lucene/index/BufferedUpdates;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.index.SegmentInfo segmentInfo;
descriptor: Lorg/apache/lucene/index/SegmentInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean aborted;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.util.SetOnce<java.lang.Boolean> flushPending;
descriptor: Lorg/apache/lucene/util/SetOnce;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/apache/lucene/util/SetOnce<Ljava/lang/Boolean;>;
private volatile long lastCommittedBytesUsed;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private org.apache.lucene.util.SetOnce<java.lang.Boolean> hasFlushed;
descriptor: Lorg/apache/lucene/util/SetOnce;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/apache/lucene/util/SetOnce<Ljava/lang/Boolean;>;
private final org.apache.lucene.index.FieldInfos$Builder fieldInfos;
descriptor: Lorg/apache/lucene/index/FieldInfos$Builder;
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 int numDocsInRAM;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final org.apache.lucene.index.DocumentsWriterDeleteQueue deleteQueue;
descriptor: Lorg/apache/lucene/index/DocumentsWriterDeleteQueue;
flags: (0x0010) ACC_FINAL
private final org.apache.lucene.index.DocumentsWriterDeleteQueue$DeleteSlice deleteSlice;
descriptor: Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.text.NumberFormat nf;
descriptor: Ljava/text/NumberFormat;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong pendingNumDocs;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.index.LiveIndexWriterConfig indexWriterConfig;
descriptor: Lorg/apache/lucene/index/LiveIndexWriterConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean enableTestPoints;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.locks.ReentrantLock lock;
descriptor: Ljava/util/concurrent/locks/ReentrantLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int[] deleteDocIDs;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private int numDeletedDocIds;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.util.Set<java.lang.String> filesToDelete;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
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=2, locals=0, args_size=0
0: ldc Lorg/apache/lucene/index/DocumentsWriterPerThread;
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.DocumentsWriterPerThread.$assertionsDisabled:Z
3: new org.apache.lucene.index.DocumentsWriterPerThread$1
dup
invokespecial org.apache.lucene.index.DocumentsWriterPerThread$1.<init>:()V
putstatic org.apache.lucene.index.DocumentsWriterPerThread.defaultIndexingChain:Lorg/apache/lucene/index/DocumentsWriterPerThread$IndexingChain;
4: return
LocalVariableTable:
Start End Slot Name Signature
private void onAbortingException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
ldc "aborting exception must not be null"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.abortingException:Ljava/lang/Throwable;
ifnull 2
new java.lang.AssertionError
dup
ldc "aborting exception has already been set"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.index.DocumentsWriterPerThread.abortingException:Ljava/lang/Throwable;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
0 4 1 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
throwable
final boolean isAborted();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.aborted:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
void abort();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.lucene.index.DocumentsWriterPerThread.aborted:Z
1: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingNumDocs:Ljava/util/concurrent/atomic/AtomicLong;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
ineg
i2l
invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
pop2
2: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
ldc "now abort"
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.consumer:Lorg/apache/lucene/index/DocConsumer;
invokevirtual org.apache.lucene.index.DocConsumer.abort:()V
5: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 1
7: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
invokevirtual org.apache.lucene.index.BufferedUpdates.clear:()V
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
invokevirtual org.apache.lucene.index.BufferedUpdates.clear:()V
10: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 2
12: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 14
13: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
ldc "done abort"
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
14: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread top java.lang.Throwable
StackMap stack:
aload 2
athrow
15: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 17
16: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
ldc "done abort"
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
Exception table:
from to target type
4 6 6 any
2 11 11 any
Exceptions:
throws java.io.IOException
void <init>(int, java.lang.String, org.apache.lucene.store.Directory, org.apache.lucene.store.Directory, org.apache.lucene.index.LiveIndexWriterConfig, org.apache.lucene.index.DocumentsWriterDeleteQueue, org.apache.lucene.index.FieldInfos$Builder, java.util.concurrent.atomic.AtomicLong, boolean);
descriptor: (ILjava/lang/String;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/LiveIndexWriterConfig;Lorg/apache/lucene/index/DocumentsWriterDeleteQueue;Lorg/apache/lucene/index/FieldInfos$Builder;Ljava/util/concurrent/atomic/AtomicLong;Z)V
flags: (0x0000)
Code:
stack=14, locals=10, args_size=10
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 start local 9 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.lucene.index.DocumentsWriterPerThread.aborted:Z
2: aload 0
new org.apache.lucene.util.SetOnce
dup
invokespecial org.apache.lucene.util.SetOnce.<init>:()V
putfield org.apache.lucene.index.DocumentsWriterPerThread.flushPending:Lorg/apache/lucene/util/SetOnce;
3: aload 0
new org.apache.lucene.util.SetOnce
dup
invokespecial org.apache.lucene.util.SetOnce.<init>:()V
putfield org.apache.lucene.index.DocumentsWriterPerThread.hasFlushed:Lorg/apache/lucene/util/SetOnce;
4: aload 0
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;)Ljava/text/NumberFormat;
putfield org.apache.lucene.index.DocumentsWriterPerThread.nf:Ljava/text/NumberFormat;
5: aload 0
new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield org.apache.lucene.index.DocumentsWriterPerThread.lock:Ljava/util/concurrent/locks/ReentrantLock;
6: aload 0
iconst_0
newarray 10
putfield org.apache.lucene.index.DocumentsWriterPerThread.deleteDocIDs:[I
7: aload 0
iconst_0
putfield org.apache.lucene.index.DocumentsWriterPerThread.numDeletedDocIds:I
8: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.apache.lucene.index.DocumentsWriterPerThread.filesToDelete:Ljava/util/Set;
9: aload 0
new org.apache.lucene.store.TrackingDirectoryWrapper
dup
aload 4
invokespecial org.apache.lucene.store.TrackingDirectoryWrapper.<init>:(Lorg/apache/lucene/store/Directory;)V
putfield org.apache.lucene.index.DocumentsWriterPerThread.directory:Lorg/apache/lucene/store/TrackingDirectoryWrapper;
10: aload 0
aload 7
putfield org.apache.lucene.index.DocumentsWriterPerThread.fieldInfos:Lorg/apache/lucene/index/FieldInfos$Builder;
11: aload 0
aload 5
putfield org.apache.lucene.index.DocumentsWriterPerThread.indexWriterConfig:Lorg/apache/lucene/index/LiveIndexWriterConfig;
12: aload 0
aload 5
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getInfoStream:()Lorg/apache/lucene/util/InfoStream;
putfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
13: aload 0
aload 5
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getCodec:()Lorg/apache/lucene/codecs/Codec;
putfield org.apache.lucene.index.DocumentsWriterPerThread.codec:Lorg/apache/lucene/codecs/Codec;
14: aload 0
aload 8
putfield org.apache.lucene.index.DocumentsWriterPerThread.pendingNumDocs:Ljava/util/concurrent/atomic/AtomicLong;
15: aload 0
new org.apache.lucene.index.BufferedUpdates
dup
aload 2
invokespecial org.apache.lucene.index.BufferedUpdates.<init>:(Ljava/lang/String;)V
putfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
16: aload 0
aload 6
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.index.DocumentsWriterDeleteQueue
putfield org.apache.lucene.index.DocumentsWriterPerThread.deleteQueue:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue;
17: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 18
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
ifeq 18
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "num docs "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM: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: org.apache.lucene.index.DocumentsWriterPerThread int java.lang.String org.apache.lucene.store.Directory org.apache.lucene.store.Directory org.apache.lucene.index.LiveIndexWriterConfig org.apache.lucene.index.DocumentsWriterDeleteQueue org.apache.lucene.index.FieldInfos$Builder java.util.concurrent.atomic.AtomicLong int
StackMap stack:
aload 0
aload 6
invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue.newSlice:()Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
putfield org.apache.lucene.index.DocumentsWriterPerThread.deleteSlice:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
19: aload 0
new org.apache.lucene.index.SegmentInfo
dup
aload 3
getstatic org.apache.lucene.util.Version.LATEST:Lorg/apache/lucene/util/Version;
getstatic org.apache.lucene.util.Version.LATEST:Lorg/apache/lucene/util/Version;
aload 2
iconst_m1
iconst_0
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.codec:Lorg/apache/lucene/codecs/Codec;
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokestatic org.apache.lucene.util.StringHelper.randomId:()[B
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
aload 5
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getIndexSort:()Lorg/apache/lucene/search/Sort;
invokespecial org.apache.lucene.index.SegmentInfo.<init>:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/util/Version;Lorg/apache/lucene/util/Version;Ljava/lang/String;IZLorg/apache/lucene/codecs/Codec;Ljava/util/Map;[BLjava/util/Map;Lorg/apache/lucene/search/Sort;)V
putfield org.apache.lucene.index.DocumentsWriterPerThread.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
20: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 21
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
ifeq 21
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
21: StackMap locals:
StackMap stack:
aload 0
iload 9
putfield org.apache.lucene.index.DocumentsWriterPerThread.enableTestPoints:Z
22: aload 0
aload 5
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getIndexingChain:()Lorg/apache/lucene/index/DocumentsWriterPerThread$IndexingChain;
iload 1
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.directory:Lorg/apache/lucene/store/TrackingDirectoryWrapper;
aload 7
aload 5
aload 0
invokedynamic accept(Lorg/apache/lucene/index/DocumentsWriterPerThread;)Ljava/util/function/Consumer;
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;)V
org/apache/lucene/index/DocumentsWriterPerThread.onAbortingException(Ljava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread$IndexingChain.getChain:(ILorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/FieldInfos$Builder;Lorg/apache/lucene/index/LiveIndexWriterConfig;Ljava/util/function/Consumer;)Lorg/apache/lucene/index/DocConsumer;
putfield org.apache.lucene.index.DocumentsWriterPerThread.consumer:Lorg/apache/lucene/index/DocConsumer;
23: return
end local 9 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 24 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
0 24 1 indexVersionCreated I
0 24 2 segmentName Ljava/lang/String;
0 24 3 directoryOrig Lorg/apache/lucene/store/Directory;
0 24 4 directory Lorg/apache/lucene/store/Directory;
0 24 5 indexWriterConfig Lorg/apache/lucene/index/LiveIndexWriterConfig;
0 24 6 deleteQueue Lorg/apache/lucene/index/DocumentsWriterDeleteQueue;
0 24 7 fieldInfos Lorg/apache/lucene/index/FieldInfos$Builder;
0 24 8 pendingNumDocs Ljava/util/concurrent/atomic/AtomicLong;
0 24 9 enableTestPoints Z
MethodParameters:
Name Flags
indexVersionCreated
segmentName
directoryOrig
directory
indexWriterConfig
deleteQueue
fieldInfos
pendingNumDocs
enableTestPoints
final void testPoint(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.enableTestPoints:Z
ifeq 3
1: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "TP"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "TP"
aload 1
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
0 4 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
private void reserveOneDoc();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingNumDocs:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
invokestatic org.apache.lucene.index.IndexWriter.getActualMaxDocs:()I
i2l
lcmp
ifle 3
1: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingNumDocs:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
pop2
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "number of documents in the index cannot exceed "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic org.apache.lucene.index.IndexWriter.getActualMaxDocs:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
long updateDocuments(java.lang.Iterable<? extends java.lang.Iterable<? extends org.apache.lucene.index.IndexableField>>, org.apache.lucene.index.DocumentsWriterDeleteQueue$Node<?>, org.apache.lucene.index.DocumentsWriter$FlushNotifications);
descriptor: (Ljava/lang/Iterable;Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$Node;Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;)J
flags: (0x0000)
Code:
stack=5, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "DocumentsWriterPerThread addDocuments start"
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.testPoint:(Ljava/lang/String;)V
1: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.abortingException:Ljava/lang/Throwable;
ifnull 2
new java.lang.AssertionError
dup
ldc "DWPT has hit aborting exception but is still indexing"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 8
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread java.lang.Iterable org.apache.lucene.index.DocumentsWriterDeleteQueue$Node org.apache.lucene.index.DocumentsWriter$FlushNotifications int int top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Iterable
astore 6
start local 6 6: aload 0
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.reserveOneDoc:()V
7: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.consumer:Lorg/apache/lucene/index/DocConsumer;
aload 0
dup
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
aload 6
invokevirtual org.apache.lucene.index.DocConsumer.processDocument:(ILjava/lang/Iterable;)V
end local 6 8: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: iconst_1
istore 5
10: aload 0
aload 2
iload 4
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.finishDocuments:(Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$Node;I)J
lstore 9
11: iload 5
ifne 13
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.aborted:Z
ifne 13
12: aload 0
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
iload 4
isub
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.deleteLastDocs:(I)V
13: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread java.lang.Iterable org.apache.lucene.index.DocumentsWriterDeleteQueue$Node org.apache.lucene.index.DocumentsWriter$FlushNotifications int int top top top long
StackMap stack:
aload 0
ldc "updateDocuments"
aload 3
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.maybeAbort:(Ljava/lang/String;Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;)V
14: lload 9
lreturn
15: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread java.lang.Iterable org.apache.lucene.index.DocumentsWriterDeleteQueue$Node org.apache.lucene.index.DocumentsWriter$FlushNotifications int int
StackMap stack: java.lang.Throwable
astore 8
16: iload 5
ifne 18
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.aborted:Z
ifne 18
17: aload 0
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
iload 4
isub
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.deleteLastDocs:(I)V
18: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread java.lang.Iterable org.apache.lucene.index.DocumentsWriterDeleteQueue$Node org.apache.lucene.index.DocumentsWriter$FlushNotifications int int top top java.lang.Throwable
StackMap stack:
aload 8
athrow
end local 5 end local 4 19: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread java.lang.Iterable org.apache.lucene.index.DocumentsWriterDeleteQueue$Node org.apache.lucene.index.DocumentsWriter$FlushNotifications
StackMap stack: java.lang.Throwable
astore 11
20: aload 0
ldc "updateDocuments"
aload 3
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.maybeAbort:(Ljava/lang/String;Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;)V
21: aload 11
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
0 22 1 docs Ljava/lang/Iterable<+Ljava/lang/Iterable<+Lorg/apache/lucene/index/IndexableField;>;>;
0 22 2 deleteNode Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$Node<*>;
0 22 3 flushNotifications Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;
3 19 4 docsInRamBefore I
4 19 5 allDocsIndexed Z
6 8 6 doc Ljava/lang/Iterable<+Lorg/apache/lucene/index/IndexableField;>;
Exception table:
from to target type
4 11 15 any
0 13 19 any
15 19 19 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/Iterable<+Ljava/lang/Iterable<+Lorg/apache/lucene/index/IndexableField;>;>;Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$Node<*>;Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;)J
MethodParameters:
Name Flags
docs
deleteNode
flushNotifications
private long finishDocuments(org.apache.lucene.index.DocumentsWriterDeleteQueue$Node<?>, );
descriptor: (Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$Node;I)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 5
1: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteQueue:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue;
aload 1
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteSlice:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue.add:(Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$Node;Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;)J
lstore 3
start local 3 2: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteSlice:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
aload 1
invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue$DeleteSlice.isTail:(Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$Node;)Z
ifne 3
new java.lang.AssertionError
dup
ldc "expected the delete term as the tail item"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: long
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteSlice:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
iload 2
invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue$DeleteSlice.apply:(Lorg/apache/lucene/index/BufferedUpdates;I)V
4: lload 3
lreturn
end local 3 5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteQueue:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteSlice:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue.updateSlice:(Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;)J
lstore 3
start local 3 6: lload 3
lconst_0
lcmp
ifge 10
7: lload 3
lneg
lstore 3
8: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteSlice:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
iload 2
invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue$DeleteSlice.apply:(Lorg/apache/lucene/index/BufferedUpdates;I)V
9: goto 11
10: StackMap locals: long
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteSlice:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue$DeleteSlice.reset:()V
11: StackMap locals:
StackMap stack:
lload 3
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
0 12 1 deleteNode Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$Node<*>;
0 12 2 docIdUpTo I
2 5 3 seqNo J
6 12 3 seqNo J
Signature: (Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$Node<*>;I)J
MethodParameters:
Name Flags
deleteNode
docIdUpTo
private void deleteLastDocs(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
iload 1
isub
istore 2
start local 2 1: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
istore 3
start local 3 2: aload 0
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteDocIDs:[I
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDeletedDocIds:I
iload 3
iload 2
isub
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([II)[I
putfield org.apache.lucene.index.DocumentsWriterPerThread.deleteDocIDs:[I
3: iload 2
istore 4
start local 4 4: goto 7
5: StackMap locals: int int int
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteDocIDs:[I
aload 0
dup
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDeletedDocIds:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.index.DocumentsWriterPerThread.numDeletedDocIds:I
iload 4
iastore
6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 3
if_icmplt 5
end local 4 8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
0 9 1 docCount I
1 9 2 from I
2 9 3 to I
4 8 4 docId I
MethodParameters:
Name Flags
docCount
public int getNumDocsInRAM();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
org.apache.lucene.index.FrozenBufferedUpdates prepareFlush();
descriptor: ()Lorg/apache/lucene/index/FrozenBufferedUpdates;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
ifgt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteQueue:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteSlice:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue.freezeGlobalBuffer:(Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;)Lorg/apache/lucene/index/FrozenBufferedUpdates;
astore 1
start local 1 2: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteSlice:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
ifnull 6
3: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteSlice:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue$DeleteSlice.apply:(Lorg/apache/lucene/index/BufferedUpdates;I)V
4: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 5
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteSlice:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue$DeleteSlice.isEmpty:()Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: org.apache.lucene.index.FrozenBufferedUpdates
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteSlice:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue$DeleteSlice.reset:()V
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
2 7 1 globalUpdates Lorg/apache/lucene/index/FrozenBufferedUpdates;
org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment flush(org.apache.lucene.index.DocumentsWriter$FlushNotifications);
descriptor: (Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;)Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;
flags: (0x0000)
Code:
stack=14, locals=15, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.flushPending:Lorg/apache/lucene/util/SetOnce;
invokevirtual org.apache.lucene.util.SetOnce.get:()Ljava/lang/Object;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
ifgt 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteSlice:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;
invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue$DeleteSlice.isEmpty:()Z
ifne 3
new java.lang.AssertionError
dup
ldc "all deletes must be applied in prepareFlush"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
invokevirtual org.apache.lucene.index.SegmentInfo.setMaxDoc:(I)V
4: new org.apache.lucene.index.SegmentWriteState
dup
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.directory:Lorg/apache/lucene/store/TrackingDirectoryWrapper;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.fieldInfos:Lorg/apache/lucene/index/FieldInfos$Builder;
invokevirtual org.apache.lucene.index.FieldInfos$Builder.finish:()Lorg/apache/lucene/index/FieldInfos;
5: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
new org.apache.lucene.store.IOContext
dup
new org.apache.lucene.store.FlushInfo
dup
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.lastCommittedBytesUsed:J
invokespecial org.apache.lucene.store.FlushInfo.<init>:(IJ)V
invokespecial org.apache.lucene.store.IOContext.<init>:(Lorg/apache/lucene/store/FlushInfo;)V
6: invokespecial org.apache.lucene.index.SegmentWriteState.<init>:(Lorg/apache/lucene/util/InfoStream;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/index/FieldInfos;Lorg/apache/lucene/index/BufferedUpdates;Lorg/apache/lucene/store/IOContext;)V
astore 2
start local 2 7: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.lastCommittedBytesUsed:J
l2d
ldc 1024.0
ddiv
ldc 1024.0
ddiv
dstore 3
start local 3 8: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDeletedDocIds:I
ifle 18
9: aload 2
new org.apache.lucene.util.FixedBitSet
dup
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
invokespecial org.apache.lucene.util.FixedBitSet.<init>:(I)V
putfield org.apache.lucene.index.SegmentWriteState.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
10: aload 2
getfield org.apache.lucene.index.SegmentWriteState.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
iconst_0
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
invokevirtual org.apache.lucene.util.FixedBitSet.set:(II)V
11: iconst_0
istore 5
start local 5 12: goto 15
13: StackMap locals: org.apache.lucene.index.SegmentWriteState double int
StackMap stack:
aload 2
getfield org.apache.lucene.index.SegmentWriteState.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteDocIDs:[I
iload 5
iaload
invokevirtual org.apache.lucene.util.FixedBitSet.clear:(I)V
14: iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDeletedDocIds:I
if_icmplt 13
end local 5 16: aload 2
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDeletedDocIds:I
putfield org.apache.lucene.index.SegmentWriteState.delCountOnFlush:I
17: aload 0
iconst_0
newarray 10
putfield org.apache.lucene.index.DocumentsWriterPerThread.deleteDocIDs:[I
18: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.aborted:Z
ifeq 22
19: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 21
20: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
ldc "flush: skip because aborting is set"
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
aconst_null
areturn
22: StackMap locals:
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lstore 5
start local 5 23: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 25
24: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
new java.lang.StringBuilder
dup
ldc "flush postings as segment "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo: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 " numDocs="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
25: StackMap locals: long
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.indexWriterConfig:Lorg/apache/lucene/index/LiveIndexWriterConfig;
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getSoftDeletesField:()Ljava/lang/String;
ifnull 28
26: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.consumer:Lorg/apache/lucene/index/DocConsumer;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.indexWriterConfig:Lorg/apache/lucene/index/LiveIndexWriterConfig;
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getSoftDeletesField:()Ljava/lang/String;
invokevirtual org.apache.lucene.index.DocConsumer.getHasDocValues:(Ljava/lang/String;)Lorg/apache/lucene/search/DocIdSetIterator;
astore 8
start local 8 27: goto 29
end local 8 28: StackMap locals:
StackMap stack:
aconst_null
astore 8
start local 8 29: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long top org.apache.lucene.search.DocIdSetIterator
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.consumer:Lorg/apache/lucene/index/DocConsumer;
aload 2
invokevirtual org.apache.lucene.index.DocConsumer.flush:(Lorg/apache/lucene/index/SegmentWriteState;)Lorg/apache/lucene/index/Sorter$DocMap;
astore 7
start local 7 30: aload 8
ifnonnull 33
31: aload 2
iconst_0
putfield org.apache.lucene.index.SegmentWriteState.softDelCountOnFlush:I
32: goto 35
33: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long org.apache.lucene.index.Sorter$DocMap org.apache.lucene.search.DocIdSetIterator
StackMap stack:
aload 2
aload 8
aload 2
getfield org.apache.lucene.index.SegmentWriteState.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
invokestatic org.apache.lucene.index.PendingSoftDeletes.countSoftDeletes:(Lorg/apache/lucene/search/DocIdSetIterator;Lorg/apache/lucene/util/Bits;)I
putfield org.apache.lucene.index.SegmentWriteState.softDelCountOnFlush:I
34: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 35
aload 2
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
aload 2
getfield org.apache.lucene.index.SegmentWriteState.softDelCountOnFlush:I
aload 2
getfield org.apache.lucene.index.SegmentWriteState.delCountOnFlush:I
iadd
if_icmpge 35
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
35: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
invokevirtual org.apache.lucene.index.BufferedUpdates.clearDeleteTerms:()V
36: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
new java.util.HashSet
dup
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.directory:Lorg/apache/lucene/store/TrackingDirectoryWrapper;
invokevirtual org.apache.lucene.store.TrackingDirectoryWrapper.getCreatedFiles:()Ljava/util/Set;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
invokevirtual org.apache.lucene.index.SegmentInfo.setFiles:(Ljava/util/Collection;)V
37: new org.apache.lucene.index.SegmentCommitInfo
dup
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
iconst_0
aload 2
getfield org.apache.lucene.index.SegmentWriteState.softDelCountOnFlush:I
ldc -1
ldc -1
ldc -1
invokestatic org.apache.lucene.util.StringHelper.randomId:()[B
invokespecial org.apache.lucene.index.SegmentCommitInfo.<init>:(Lorg/apache/lucene/index/SegmentInfo;IIJJJ[B)V
astore 9
start local 9 38: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 62
39: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
new java.lang.StringBuilder
dup
ldc "new segment has "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
getfield org.apache.lucene.index.SegmentWriteState.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
ifnonnull 40
iconst_0
goto 41
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long org.apache.lucene.index.Sorter$DocMap org.apache.lucene.search.DocIdSetIterator org.apache.lucene.index.SegmentCommitInfo
StackMap stack: org.apache.lucene.util.InfoStream java.lang.String java.lang.StringBuilder
40: aload 2
getfield org.apache.lucene.index.SegmentWriteState.delCountOnFlush:I
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long org.apache.lucene.index.Sorter$DocMap org.apache.lucene.search.DocIdSetIterator org.apache.lucene.index.SegmentCommitInfo
StackMap stack: org.apache.lucene.util.InfoStream java.lang.String java.lang.StringBuilder int
41: invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " deleted docs"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
42: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
new java.lang.StringBuilder
dup
ldc "new segment has "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
getfield org.apache.lucene.index.SegmentWriteState.softDelCountOnFlush:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " soft-deleted docs"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
43: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
new java.lang.StringBuilder
dup
ldc "new segment has "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
44: aload 2
getfield org.apache.lucene.index.SegmentWriteState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.hasVectors:()Z
ifeq 45
ldc "vectors"
goto 46
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long org.apache.lucene.index.Sorter$DocMap org.apache.lucene.search.DocIdSetIterator org.apache.lucene.index.SegmentCommitInfo
StackMap stack: org.apache.lucene.util.InfoStream java.lang.String java.lang.StringBuilder
45: ldc "no vectors"
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long org.apache.lucene.index.Sorter$DocMap org.apache.lucene.search.DocIdSetIterator org.apache.lucene.index.SegmentCommitInfo
StackMap stack: org.apache.lucene.util.InfoStream java.lang.String java.lang.StringBuilder java.lang.String
46: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
47: aload 2
getfield org.apache.lucene.index.SegmentWriteState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.hasNorms:()Z
ifeq 48
ldc "norms"
goto 49
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long org.apache.lucene.index.Sorter$DocMap org.apache.lucene.search.DocIdSetIterator org.apache.lucene.index.SegmentCommitInfo
StackMap stack: org.apache.lucene.util.InfoStream java.lang.String java.lang.StringBuilder
48: ldc "no norms"
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long org.apache.lucene.index.Sorter$DocMap org.apache.lucene.search.DocIdSetIterator org.apache.lucene.index.SegmentCommitInfo
StackMap stack: org.apache.lucene.util.InfoStream java.lang.String java.lang.StringBuilder java.lang.String
49: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
50: aload 2
getfield org.apache.lucene.index.SegmentWriteState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.hasDocValues:()Z
ifeq 51
ldc "docValues"
goto 52
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long org.apache.lucene.index.Sorter$DocMap org.apache.lucene.search.DocIdSetIterator org.apache.lucene.index.SegmentCommitInfo
StackMap stack: org.apache.lucene.util.InfoStream java.lang.String java.lang.StringBuilder
51: ldc "no docValues"
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long org.apache.lucene.index.Sorter$DocMap org.apache.lucene.search.DocIdSetIterator org.apache.lucene.index.SegmentCommitInfo
StackMap stack: org.apache.lucene.util.InfoStream java.lang.String java.lang.StringBuilder java.lang.String
52: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
53: aload 2
getfield org.apache.lucene.index.SegmentWriteState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.hasProx:()Z
ifeq 54
ldc "prox"
goto 55
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long org.apache.lucene.index.Sorter$DocMap org.apache.lucene.search.DocIdSetIterator org.apache.lucene.index.SegmentCommitInfo
StackMap stack: org.apache.lucene.util.InfoStream java.lang.String java.lang.StringBuilder
54: ldc "no prox"
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long org.apache.lucene.index.Sorter$DocMap org.apache.lucene.search.DocIdSetIterator org.apache.lucene.index.SegmentCommitInfo
StackMap stack: org.apache.lucene.util.InfoStream java.lang.String java.lang.StringBuilder java.lang.String
55: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
56: aload 2
getfield org.apache.lucene.index.SegmentWriteState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.hasFreq:()Z
ifeq 57
ldc "freqs"
goto 58
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long org.apache.lucene.index.Sorter$DocMap org.apache.lucene.search.DocIdSetIterator org.apache.lucene.index.SegmentCommitInfo
StackMap stack: org.apache.lucene.util.InfoStream java.lang.String java.lang.StringBuilder
57: ldc "no freqs"
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long org.apache.lucene.index.Sorter$DocMap org.apache.lucene.search.DocIdSetIterator org.apache.lucene.index.SegmentCommitInfo
StackMap stack: org.apache.lucene.util.InfoStream java.lang.String java.lang.StringBuilder java.lang.String
58: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
59: invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
60: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
new java.lang.StringBuilder
dup
ldc "flushedFiles="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual org.apache.lucene.index.SegmentCommitInfo.files:()Ljava/util/Collection;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
61: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
new java.lang.StringBuilder
dup
ldc "flushed codec="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.codec:Lorg/apache/lucene/codecs/Codec;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
62: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
getfield org.apache.lucene.index.BufferedUpdates.deleteQueries:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 66
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
getfield org.apache.lucene.index.BufferedUpdates.numFieldUpdates:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifne 66
63: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
invokevirtual org.apache.lucene.index.BufferedUpdates.clear:()V
64: aconst_null
astore 10
start local 10 65: goto 67
end local 10 66: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
astore 10
start local 10 67: StackMap locals: org.apache.lucene.index.BufferedUpdates
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 74
68: aload 9
invokevirtual org.apache.lucene.index.SegmentCommitInfo.sizeInBytes:()J
l2d
ldc 1024.0
ddiv
ldc 1024.0
ddiv
dstore 11
start local 11 69: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
new java.lang.StringBuilder
dup
ldc "flushed: segment="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.segmentInfo: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;
70: ldc " ramUsed="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.nf:Ljava/text/NumberFormat;
dload 3
invokevirtual java.text.NumberFormat.format:(D)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " MB"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
71: ldc " newFlushedSize="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.nf:Ljava/text/NumberFormat;
dload 11
invokevirtual java.text.NumberFormat.format:(D)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " MB"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
72: ldc " docs/MB="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.nf:Ljava/text/NumberFormat;
aload 2
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
i2d
dload 11
ddiv
invokevirtual java.text.NumberFormat.format:(D)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
73: invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
end local 11 74: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 75
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
ifnonnull 75
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
75: StackMap locals:
StackMap stack:
new org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment
dup
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
aload 9
aload 2
getfield org.apache.lucene.index.SegmentWriteState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
76: aload 10
aload 2
getfield org.apache.lucene.index.SegmentWriteState.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
aload 2
getfield org.apache.lucene.index.SegmentWriteState.delCountOnFlush:I
aload 7
77: invokespecial org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment.<init>:(Lorg/apache/lucene/util/InfoStream;Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/index/FieldInfos;Lorg/apache/lucene/index/BufferedUpdates;Lorg/apache/lucene/util/FixedBitSet;ILorg/apache/lucene/index/Sorter$DocMap;)V
astore 11
start local 11 78: aload 0
aload 11
aload 7
aload 1
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.sealFlushedSegment:(Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;Lorg/apache/lucene/index/Sorter$DocMap;Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;)V
79: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 81
80: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
new java.lang.StringBuilder
dup
ldc "flush time "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic java.lang.System.nanoTime:()J
lload 5
lsub
l2d
ldc 1000000.0
ddiv
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc " msec"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
81: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment
StackMap stack:
aload 11
astore 14
82: aload 0
ldc "flush"
aload 1
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.maybeAbort:(Ljava/lang/String;Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;)V
83: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.hasFlushed:Lorg/apache/lucene/util/SetOnce;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual org.apache.lucene.util.SetOnce.set:(Ljava/lang/Object;)V
84: aload 14
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 85: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentWriteState double long
StackMap stack: java.lang.Throwable
astore 8
start local 8 86: aload 0
aload 8
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.onAbortingException:(Ljava/lang/Throwable;)V
87: aload 8
athrow
end local 8 88: StackMap locals:
StackMap stack: java.lang.Throwable
astore 13
89: aload 0
ldc "flush"
aload 1
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.maybeAbort:(Ljava/lang/String;Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;)V
90: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.hasFlushed:Lorg/apache/lucene/util/SetOnce;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual org.apache.lucene.util.SetOnce.set:(Ljava/lang/Object;)V
91: aload 13
athrow
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 92 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
0 92 1 flushNotifications Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;
7 92 2 flushState Lorg/apache/lucene/index/SegmentWriteState;
8 92 3 startMBUsed D
12 16 5 i I
23 92 5 t0 J
30 85 7 sortMap Lorg/apache/lucene/index/Sorter$DocMap;
27 28 8 softDeletedDocs Lorg/apache/lucene/search/DocIdSetIterator;
29 85 8 softDeletedDocs Lorg/apache/lucene/search/DocIdSetIterator;
38 85 9 segmentInfoPerCommit Lorg/apache/lucene/index/SegmentCommitInfo;
65 66 10 segmentDeletes Lorg/apache/lucene/index/BufferedUpdates;
67 85 10 segmentDeletes Lorg/apache/lucene/index/BufferedUpdates;
69 74 11 newSegmentSize D
78 85 11 fs Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;
86 88 8 t Ljava/lang/Throwable;
Exception table:
from to target type
25 82 85 Class java.lang.Throwable
25 82 88 any
85 88 88 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
flushNotifications
private void maybeAbort(java.lang.String, org.apache.lucene.index.DocumentsWriter$FlushNotifications);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;)V
flags: (0x0002) ACC_PRIVATE
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.DocumentsWriterPerThread.abortingException:Ljava/lang/Throwable;
ifnull 7
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.aborted:Z
ifne 7
1: aload 0
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.abort:()V
2: goto 6
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 3
4: aload 2
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.abortingException:Ljava/lang/Throwable;
aload 1
invokeinterface org.apache.lucene.index.DocumentsWriter$FlushNotifications.onTragicEvent:(Ljava/lang/Throwable;Ljava/lang/String;)V
5: aload 3
athrow
6: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.abortingException:Ljava/lang/Throwable;
aload 1
invokeinterface org.apache.lucene.index.DocumentsWriter$FlushNotifications.onTragicEvent:(Ljava/lang/Throwable;Ljava/lang/String;)V
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/DocumentsWriterPerThread;
0 8 1 location Ljava/lang/String;
0 8 2 flushNotifications Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;
Exception table:
from to target type
1 3 3 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
location
flushNotifications
java.util.Set<java.lang.String> pendingFilesToDelete();
descriptor: ()Ljava/util/Set;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.filesToDelete:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
private org.apache.lucene.util.FixedBitSet sortLiveDocs(org.apache.lucene.util.Bits, org.apache.lucene.index.Sorter$DocMap);
descriptor: (Lorg/apache/lucene/util/Bits;Lorg/apache/lucene/index/Sorter$DocMap;)Lorg/apache/lucene/util/FixedBitSet;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 2
aload 1
ifnull 1
aload 2
ifnonnull 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
new org.apache.lucene.util.FixedBitSet
dup
aload 1
invokeinterface org.apache.lucene.util.Bits.length:()I
invokespecial org.apache.lucene.util.FixedBitSet.<init>:(I)V
astore 3
start local 3 3: aload 3
iconst_0
aload 1
invokeinterface org.apache.lucene.util.Bits.length:()I
invokevirtual org.apache.lucene.util.FixedBitSet.set:(II)V
4: iconst_0
istore 4
start local 4 5: goto 9
6: StackMap locals: org.apache.lucene.util.FixedBitSet int
StackMap stack:
aload 1
iload 4
invokeinterface org.apache.lucene.util.Bits.get:(I)Z
ifne 8
7: aload 3
aload 2
iload 4
invokevirtual org.apache.lucene.index.Sorter$DocMap.oldToNew:(I)I
invokevirtual org.apache.lucene.util.FixedBitSet.clear:(I)V
8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 1
invokeinterface org.apache.lucene.util.Bits.length:()I
if_icmplt 6
end local 4 10: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
0 11 1 liveDocs Lorg/apache/lucene/util/Bits;
0 11 2 sortMap Lorg/apache/lucene/index/Sorter$DocMap;
3 11 3 sortedLiveDocs Lorg/apache/lucene/util/FixedBitSet;
5 10 4 i I
MethodParameters:
Name Flags
liveDocs
sortMap
void sealFlushedSegment(org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment, org.apache.lucene.index.Sorter$DocMap, org.apache.lucene.index.DocumentsWriter$FlushNotifications);
descriptor: (Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;Lorg/apache/lucene/index/Sorter$DocMap;Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;)V
flags: (0x0000)
Code:
stack=7, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment.segmentInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
astore 4
start local 4 2: aload 4
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
ldc "flush"
invokestatic org.apache.lucene.index.IndexWriter.setDiagnostics:(Lorg/apache/lucene/index/SegmentInfo;Ljava/lang/String;)V
3: new org.apache.lucene.store.IOContext
dup
new org.apache.lucene.store.FlushInfo
dup
aload 4
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
aload 4
invokevirtual org.apache.lucene.index.SegmentCommitInfo.sizeInBytes:()J
invokespecial org.apache.lucene.store.FlushInfo.<init>:(IJ)V
invokespecial org.apache.lucene.store.IOContext.<init>:(Lorg/apache/lucene/store/FlushInfo;)V
astore 5
start local 5 4: iconst_0
istore 6
start local 6 5: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.indexWriterConfig:Lorg/apache/lucene/index/LiveIndexWriterConfig;
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getUseCompoundFile:()Z
ifeq 10
6: aload 4
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.files:()Ljava/util/Set;
astore 7
start local 7 7: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
new org.apache.lucene.store.TrackingDirectoryWrapper
dup
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.directory:Lorg/apache/lucene/store/TrackingDirectoryWrapper;
invokespecial org.apache.lucene.store.TrackingDirectoryWrapper.<init>:(Lorg/apache/lucene/store/Directory;)V
aload 4
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
aload 5
aload 3
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;)Lorg/apache/lucene/util/IOUtils$IOConsumer;
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;)V
org/apache/lucene/index/DocumentsWriter$FlushNotifications.deleteUnusedFiles(Ljava/util/Collection;)V (9 itf)
(Ljava/util/Collection;)V
invokestatic org.apache.lucene.index.IndexWriter.createCompoundFile:(Lorg/apache/lucene/util/InfoStream;Lorg/apache/lucene/store/TrackingDirectoryWrapper;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/store/IOContext;Lorg/apache/lucene/util/IOUtils$IOConsumer;)V
8: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.filesToDelete:Ljava/util/Set;
aload 7
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
9: aload 4
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
iconst_1
invokevirtual org.apache.lucene.index.SegmentInfo.setUseCompoundFile:(Z)V
end local 7 10: StackMap locals: org.apache.lucene.index.SegmentCommitInfo org.apache.lucene.store.IOContext int
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.codec:Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.segmentInfoFormat:()Lorg/apache/lucene/codecs/SegmentInfoFormat;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.directory:Lorg/apache/lucene/store/TrackingDirectoryWrapper;
aload 4
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
aload 5
invokevirtual org.apache.lucene.codecs.SegmentInfoFormat.write:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/store/IOContext;)V
11: aload 1
getfield org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
ifnull 25
12: aload 1
getfield org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment.delCount:I
istore 7
start local 7 13: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 14
iload 7
ifgt 14
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
14: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 16
15: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
new java.lang.StringBuilder
dup
ldc "flush: write "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " deletes gen="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment.segmentInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getDelGen:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment.segmentInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
astore 8
start local 8 17: aload 8
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 9
start local 9 18: aload 2
ifnonnull 21
19: aload 1
getfield org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
astore 10
start local 10 20: goto 22
end local 10 21: StackMap locals: org.apache.lucene.index.SegmentCommitInfo org.apache.lucene.codecs.Codec
StackMap stack:
aload 0
aload 1
getfield org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
aload 2
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.sortLiveDocs:(Lorg/apache/lucene/util/Bits;Lorg/apache/lucene/index/Sorter$DocMap;)Lorg/apache/lucene/util/FixedBitSet;
astore 10
start local 10 22: StackMap locals: org.apache.lucene.util.FixedBitSet
StackMap stack:
aload 9
invokevirtual org.apache.lucene.codecs.Codec.liveDocsFormat:()Lorg/apache/lucene/codecs/LiveDocsFormat;
aload 10
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.directory:Lorg/apache/lucene/store/TrackingDirectoryWrapper;
aload 8
iload 7
aload 5
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
23: aload 4
iload 7
invokevirtual org.apache.lucene.index.SegmentCommitInfo.setDelCount:(I)V
24: aload 4
invokevirtual org.apache.lucene.index.SegmentCommitInfo.advanceDelGen:()V
end local 10 end local 9 end local 8 end local 7 25: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment org.apache.lucene.index.Sorter$DocMap org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentCommitInfo org.apache.lucene.store.IOContext int
StackMap stack:
iconst_1
istore 6
26: goto 34
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 11
28: iload 6
ifne 33
29: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 33
30: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
31: new java.lang.StringBuilder
dup
ldc "hit exception creating compound file for newly flushed segment "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
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;
32: invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
33: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment org.apache.lucene.index.Sorter$DocMap org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentCommitInfo org.apache.lucene.store.IOContext int top top top top java.lang.Throwable
StackMap stack:
aload 11
athrow
34: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment org.apache.lucene.index.Sorter$DocMap org.apache.lucene.index.DocumentsWriter$FlushNotifications org.apache.lucene.index.SegmentCommitInfo org.apache.lucene.store.IOContext int
StackMap stack:
iload 6
ifne 39
35: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 39
36: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "DWPT"
37: new java.lang.StringBuilder
dup
ldc "hit exception creating compound file for newly flushed segment "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
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;
38: invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
39: StackMap locals:
StackMap stack:
return
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 40 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
0 40 1 flushedSegment Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;
0 40 2 sortMap Lorg/apache/lucene/index/Sorter$DocMap;
0 40 3 flushNotifications Lorg/apache/lucene/index/DocumentsWriter$FlushNotifications;
2 40 4 newSegment Lorg/apache/lucene/index/SegmentCommitInfo;
4 40 5 context Lorg/apache/lucene/store/IOContext;
5 40 6 success Z
7 10 7 originalFiles Ljava/util/Set<Ljava/lang/String;>;
13 25 7 delCount I
17 25 8 info Lorg/apache/lucene/index/SegmentCommitInfo;
18 25 9 codec Lorg/apache/lucene/codecs/Codec;
20 21 10 bits Lorg/apache/lucene/util/FixedBitSet;
22 25 10 bits Lorg/apache/lucene/util/FixedBitSet;
Exception table:
from to target type
5 27 27 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
flushedSegment
sortMap
flushNotifications
org.apache.lucene.index.SegmentInfo getSegmentInfo();
descriptor: ()Lorg/apache/lucene/index/SegmentInfo;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
public long ramBytesUsed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.lock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.isHeldByCurrentThread:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteDocIDs:[I
arraylength
iconst_4
imul
i2l
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
invokevirtual org.apache.lucene.index.BufferedUpdates.ramBytesUsed:()J
ladd
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.consumer:Lorg/apache/lucene/index/DocConsumer;
invokevirtual org.apache.lucene.index.DocConsumer.ramBytesUsed:()J
ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
public java.util.Collection<org.apache.lucene.util.Accountable> getChildResources();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.lock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.isHeldByCurrentThread:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iconst_2
anewarray org.apache.lucene.util.Accountable
dup
iconst_0
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
aastore
dup
iconst_1
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.consumer:Lorg/apache/lucene/index/DocConsumer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
Signature: ()Ljava/util/Collection<Lorg/apache/lucene/util/Accountable;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "DocumentsWriterPerThread [pendingDeletes="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.pendingUpdates:Lorg/apache/lucene/index/BufferedUpdates;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
1: ldc ", segment="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
ifnull 2
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
getfield org.apache.lucene.index.SegmentInfo.name:Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack: java.lang.StringBuilder
2: ldc "null"
StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread
StackMap stack: java.lang.StringBuilder java.lang.String
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", aborted="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.aborted:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc ", numDocsInRAM="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDocsInRAM:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", deleteQueue="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.deleteQueue:Lorg/apache/lucene/index/DocumentsWriterDeleteQueue;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.numDeletedDocIds:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " deleted docIds"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
boolean isFlushPending();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.flushPending:Lorg/apache/lucene/util/SetOnce;
invokevirtual org.apache.lucene.util.SetOnce.get:()Ljava/lang/Object;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
void setFlushPending();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.flushPending:Lorg/apache/lucene/util/SetOnce;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual org.apache.lucene.util.SetOnce.set:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
long getLastCommittedBytesUsed();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.lastCommittedBytesUsed:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
long commitLastBytesUsed();
descriptor: ()J
flags: (0x0000)
Code:
stack=5, locals=3, args_size=1
start local 0 0: getstatic org.apache.lucene.index.DocumentsWriterPerThread.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.isHeldByCurrentThread:()Z
ifne 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.DocumentsWriterPerThread.ramBytesUsed:()J
aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.lastCommittedBytesUsed:J
lsub
lstore 1
start local 1 2: aload 0
dup
getfield org.apache.lucene.index.DocumentsWriterPerThread.lastCommittedBytesUsed:J
lload 1
ladd
putfield org.apache.lucene.index.DocumentsWriterPerThread.lastCommittedBytesUsed:J
3: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
2 4 1 delta J
void lock();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.lock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
boolean tryLock();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.lock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.tryLock:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
boolean isHeldByCurrentThread();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.lock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.isHeldByCurrentThread:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
void unlock();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.lock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
boolean hasFlushed();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterPerThread.hasFlushed:Lorg/apache/lucene/util/SetOnce;
invokevirtual org.apache.lucene.util.SetOnce.get:()Ljava/lang/Object;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/DocumentsWriterPerThread;
}
SourceFile: "DocumentsWriterPerThread.java"
NestMembers:
org.apache.lucene.index.DocumentsWriterPerThread$1 org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment org.apache.lucene.index.DocumentsWriterPerThread$IndexingChain
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
abstract FlushNotifications = org.apache.lucene.index.DocumentsWriter$FlushNotifications of org.apache.lucene.index.DocumentsWriter
DeleteSlice = org.apache.lucene.index.DocumentsWriterDeleteQueue$DeleteSlice of org.apache.lucene.index.DocumentsWriterDeleteQueue
Node = org.apache.lucene.index.DocumentsWriterDeleteQueue$Node of org.apache.lucene.index.DocumentsWriterDeleteQueue
org.apache.lucene.index.DocumentsWriterPerThread$1
final FlushedSegment = org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment of org.apache.lucene.index.DocumentsWriterPerThread
abstract IndexingChain = org.apache.lucene.index.DocumentsWriterPerThread$IndexingChain of org.apache.lucene.index.DocumentsWriterPerThread
final Builder = org.apache.lucene.index.FieldInfos$Builder of org.apache.lucene.index.FieldInfos
abstract DocMap = org.apache.lucene.index.Sorter$DocMap of org.apache.lucene.index.Sorter
public abstract IOConsumer = org.apache.lucene.util.IOUtils$IOConsumer of org.apache.lucene.util.IOUtils