public class org.apache.lucene.index.TieredMergePolicy extends org.apache.lucene.index.MergePolicy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.index.TieredMergePolicy
super_class: org.apache.lucene.index.MergePolicy
{
public static final double DEFAULT_NO_CFS_RATIO;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0.1
private int maxMergeAtOnce;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long maxMergedSegmentBytes;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int maxMergeAtOnceExplicit;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long floorSegmentBytes;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private double segsPerTier;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double forceMergeDeletesPctAllowed;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double deletesPctAllowed;
descriptor: D
flags: (0x0002) ACC_PRIVATE
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/TieredMergePolicy;
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.TieredMergePolicy.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ldc 0.1
ldc 9223372036854775807
invokespecial org.apache.lucene.index.MergePolicy.<init>:(DJ)V
1: aload 0
bipush 10
putfield org.apache.lucene.index.TieredMergePolicy.maxMergeAtOnce:I
2: aload 0
ldc 5368709120
putfield org.apache.lucene.index.TieredMergePolicy.maxMergedSegmentBytes:J
3: aload 0
bipush 30
putfield org.apache.lucene.index.TieredMergePolicy.maxMergeAtOnceExplicit:I
4: aload 0
ldc 2097152
putfield org.apache.lucene.index.TieredMergePolicy.floorSegmentBytes:J
5: aload 0
ldc 10.0
putfield org.apache.lucene.index.TieredMergePolicy.segsPerTier:D
6: aload 0
ldc 10.0
putfield org.apache.lucene.index.TieredMergePolicy.forceMergeDeletesPctAllowed:D
7: aload 0
ldc 33.0
putfield org.apache.lucene.index.TieredMergePolicy.deletesPctAllowed:D
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/index/TieredMergePolicy;
public org.apache.lucene.index.TieredMergePolicy setMaxMergeAtOnce(int);
descriptor: (I)Lorg/apache/lucene/index/TieredMergePolicy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_2
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "maxMergeAtOnce must be > 1 (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.lucene.index.TieredMergePolicy.maxMergeAtOnce:I
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 4 1 v I
MethodParameters:
Name Flags
v
public int getMaxMergeAtOnce();
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.TieredMergePolicy.maxMergeAtOnce:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/TieredMergePolicy;
public org.apache.lucene.index.TieredMergePolicy setMaxMergeAtOnceExplicit(int);
descriptor: (I)Lorg/apache/lucene/index/TieredMergePolicy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_2
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "maxMergeAtOnceExplicit must be > 1 (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.lucene.index.TieredMergePolicy.maxMergeAtOnceExplicit:I
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 4 1 v I
MethodParameters:
Name Flags
v
public int getMaxMergeAtOnceExplicit();
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.TieredMergePolicy.maxMergeAtOnceExplicit:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/TieredMergePolicy;
public org.apache.lucene.index.TieredMergePolicy setMaxMergedSegmentMB(double);
descriptor: (D)Lorg/apache/lucene/index/TieredMergePolicy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: dload 1
dconst_0
dcmpg
ifge 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "maxMergedSegmentMB must be >=0 (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
dload 1
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
dload 1
ldc 1048576.0
dmul
dstore 1
3: aload 0
dload 1
ldc 9.223372036854776E18
dcmpl
ifle 4
ldc 9223372036854775807
goto 5
StackMap locals:
StackMap stack: org.apache.lucene.index.TieredMergePolicy
4: dload 1
d2l
StackMap locals: org.apache.lucene.index.TieredMergePolicy double
StackMap stack: org.apache.lucene.index.TieredMergePolicy long
5: putfield org.apache.lucene.index.TieredMergePolicy.maxMergedSegmentBytes:J
6: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 7 1 v D
MethodParameters:
Name Flags
v
public double getMaxMergedSegmentMB();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergedSegmentBytes:J
l2d
ldc 1024.0
ddiv
ldc 1024.0
ddiv
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/TieredMergePolicy;
public org.apache.lucene.index.TieredMergePolicy setDeletesPctAllowed(double);
descriptor: (D)Lorg/apache/lucene/index/TieredMergePolicy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: dload 1
ldc 20.0
dcmpg
iflt 1
dload 1
ldc 50.0
dcmpl
ifle 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "indexPctDeletedTarget must be >= 20.0 and <= 50 (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
dload 1
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
dload 1
putfield org.apache.lucene.index.TieredMergePolicy.deletesPctAllowed:D
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 4 1 v D
MethodParameters:
Name Flags
v
public double getDeletesPctAllowed();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.TieredMergePolicy.deletesPctAllowed:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/TieredMergePolicy;
public org.apache.lucene.index.TieredMergePolicy setFloorSegmentMB(double);
descriptor: (D)Lorg/apache/lucene/index/TieredMergePolicy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: dload 1
dconst_0
dcmpg
ifgt 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "floorSegmentMB must be > 0.0 (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
dload 1
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
dload 1
ldc 1048576.0
dmul
dstore 1
3: aload 0
dload 1
ldc 9.223372036854776E18
dcmpl
ifle 4
ldc 9223372036854775807
goto 5
StackMap locals:
StackMap stack: org.apache.lucene.index.TieredMergePolicy
4: dload 1
d2l
StackMap locals: org.apache.lucene.index.TieredMergePolicy double
StackMap stack: org.apache.lucene.index.TieredMergePolicy long
5: putfield org.apache.lucene.index.TieredMergePolicy.floorSegmentBytes:J
6: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 7 1 v D
MethodParameters:
Name Flags
v
public double getFloorSegmentMB();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.TieredMergePolicy.floorSegmentBytes:J
l2d
ldc 1048576.0
ddiv
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/TieredMergePolicy;
public org.apache.lucene.index.TieredMergePolicy setForceMergeDeletesPctAllowed(double);
descriptor: (D)Lorg/apache/lucene/index/TieredMergePolicy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: dload 1
dconst_0
dcmpg
iflt 1
dload 1
ldc 100.0
dcmpl
ifle 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "forceMergeDeletesPctAllowed must be between 0.0 and 100.0 inclusive (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
dload 1
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
dload 1
putfield org.apache.lucene.index.TieredMergePolicy.forceMergeDeletesPctAllowed:D
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 4 1 v D
MethodParameters:
Name Flags
v
public double getForceMergeDeletesPctAllowed();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.TieredMergePolicy.forceMergeDeletesPctAllowed:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/TieredMergePolicy;
public org.apache.lucene.index.TieredMergePolicy setSegmentsPerTier(double);
descriptor: (D)Lorg/apache/lucene/index/TieredMergePolicy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: dload 1
ldc 2.0
dcmpg
ifge 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "segmentsPerTier must be >= 2.0 (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
dload 1
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
dload 1
putfield org.apache.lucene.index.TieredMergePolicy.segsPerTier:D
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 4 1 v D
MethodParameters:
Name Flags
v
public double getSegmentsPerTier();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.TieredMergePolicy.segsPerTier:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/TieredMergePolicy;
private java.util.List<org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs> getSortedBySegmentSize(org.apache.lucene.index.SegmentInfos, org.apache.lucene.index.MergePolicy$MergeContext);
descriptor: (Lorg/apache/lucene/index/SegmentInfos;Lorg/apache/lucene/index/MergePolicy$MergeContext;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 1
invokevirtual org.apache.lucene.index.SegmentInfos.iterator:()Ljava/util/Iterator;
astore 5
goto 4
StackMap locals: org.apache.lucene.index.TieredMergePolicy org.apache.lucene.index.SegmentInfos org.apache.lucene.index.MergePolicy$MergeContext java.util.List top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.SegmentCommitInfo
astore 4
start local 4 3: aload 3
new org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
dup
aload 4
aload 0
aload 4
aload 2
invokevirtual org.apache.lucene.index.TieredMergePolicy.size:(Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/index/MergePolicy$MergeContext;)J
aload 2
aload 4
invokeinterface org.apache.lucene.index.MergePolicy$MergeContext.numDeletesToMerge:(Lorg/apache/lucene/index/SegmentCommitInfo;)I
invokespecial org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.<init>:(Lorg/apache/lucene/index/SegmentCommitInfo;JI)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 4: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 3
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/TieredMergePolicy.lambda$0(Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;)I (6)
(Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;)I
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 7 1 infos Lorg/apache/lucene/index/SegmentInfos;
0 7 2 mergeContext Lorg/apache/lucene/index/MergePolicy$MergeContext;
1 7 3 sortedBySize Ljava/util/List<Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;
3 4 4 info Lorg/apache/lucene/index/SegmentCommitInfo;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/lucene/index/SegmentInfos;Lorg/apache/lucene/index/MergePolicy$MergeContext;)Ljava/util/List<Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;
MethodParameters:
Name Flags
infos final
mergeContext final
public org.apache.lucene.index.MergePolicy$MergeSpecification findMerges(org.apache.lucene.index.MergeTrigger, org.apache.lucene.index.SegmentInfos, org.apache.lucene.index.MergePolicy$MergeContext);
descriptor: (Lorg/apache/lucene/index/MergeTrigger;Lorg/apache/lucene/index/SegmentInfos;Lorg/apache/lucene/index/MergePolicy$MergeContext;)Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=28, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface org.apache.lucene.index.MergePolicy$MergeContext.getMergingSegments:()Ljava/util/Set;
astore 4
start local 4 1: lconst_0
lstore 5
start local 5 2: ldc 9223372036854775807
lstore 7
start local 7 3: iconst_0
istore 9
start local 9 4: iconst_0
istore 10
start local 10 5: lconst_0
lstore 11
start local 11 6: aload 0
aload 2
aload 3
invokevirtual org.apache.lucene.index.TieredMergePolicy.getSortedBySegmentSize:(Lorg/apache/lucene/index/SegmentInfos;Lorg/apache/lucene/index/MergePolicy$MergeContext;)Ljava/util/List;
astore 13
start local 13 7: aload 13
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 14
start local 14 8: goto 30
9: StackMap locals: org.apache.lucene.index.TieredMergePolicy org.apache.lucene.index.MergeTrigger org.apache.lucene.index.SegmentInfos org.apache.lucene.index.MergePolicy$MergeContext java.util.Set long long int int long java.util.List java.util.Iterator
StackMap stack:
aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
astore 15
start local 15 10: aload 15
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.sizeInBytes:J
lstore 16
start local 16 11: aload 0
aload 3
invokevirtual org.apache.lucene.index.TieredMergePolicy.verbose:(Lorg/apache/lucene/index/MergePolicy$MergeContext;)Z
ifeq 21
12: aload 4
aload 15
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 13
ldc " [merging]"
goto 14
StackMap locals: org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs long
StackMap stack:
13: ldc ""
StackMap locals:
StackMap stack: java.lang.String
14: astore 18
start local 18 15: lload 16
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergedSegmentBytes:J
lcmp
iflt 18
16: new java.lang.StringBuilder
dup
aload 18
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " [skip: too large]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 18
17: goto 20
StackMap locals: java.lang.String
StackMap stack:
18: lload 16
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.floorSegmentBytes:J
lcmp
ifge 20
19: new java.lang.StringBuilder
dup
aload 18
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " [floored]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 18
20: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc " seg="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 3
aload 15
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
invokevirtual org.apache.lucene.index.TieredMergePolicy.segString:(Lorg/apache/lucene/index/MergePolicy$MergeContext;Ljava/lang/Iterable;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " size="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
ldc "%.3f"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 16
ldc 1024
ldiv
l2d
ldc 1024.0
ddiv
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)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;
aload 18
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokevirtual org.apache.lucene.index.TieredMergePolicy.message:(Ljava/lang/String;Lorg/apache/lucene/index/MergePolicy$MergeContext;)V
end local 18 21: StackMap locals:
StackMap stack:
aload 4
aload 15
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 26
22: lload 11
aload 15
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.sizeInBytes:J
ladd
lstore 11
23: aload 14
invokeinterface java.util.Iterator.remove:()V
24: iload 10
aload 15
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.maxDoc:I
aload 15
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.delCount:I
isub
iadd
istore 10
25: goto 28
26: StackMap locals:
StackMap stack:
iload 9
aload 15
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.delCount:I
iadd
istore 9
27: iload 10
aload 15
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.maxDoc:I
iadd
istore 10
28: StackMap locals:
StackMap stack:
lload 16
lload 7
invokestatic java.lang.Math.min:(JJ)J
lstore 7
29: lload 5
lload 16
ladd
lstore 5
end local 16 end local 15 30: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
31: getstatic org.apache.lucene.index.TieredMergePolicy.$assertionsDisabled:Z
ifne 32
iload 10
ifge 32
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
32: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.TieredMergePolicy.$assertionsDisabled:Z
ifne 33
iload 9
ifge 33
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
33: StackMap locals:
StackMap stack:
ldc 100.0
iload 9
i2d
dmul
iload 10
i2d
ddiv
dstore 15
start local 15 34: aload 0
getfield org.apache.lucene.index.TieredMergePolicy.deletesPctAllowed:D
iload 10
i2d
dmul
ldc 100.0
ddiv
d2i
istore 17
start local 17 35: iconst_0
istore 18
start local 18 36: aload 13
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 14
37: goto 45
38: StackMap locals: double int int
StackMap stack:
aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
astore 19
start local 19 39: ldc 100.0
aload 19
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.delCount:I
i2d
dmul
aload 19
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.maxDoc:I
i2d
ddiv
dstore 20
start local 20 40: aload 19
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.sizeInBytes:J
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergedSegmentBytes:J
ldc 2
ldiv
lcmp
ifle 45
dload 15
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.deletesPctAllowed:D
dcmpg
ifle 41
dload 20
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.deletesPctAllowed:D
dcmpg
ifgt 45
41: StackMap locals: org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs double
StackMap stack:
aload 14
invokeinterface java.util.Iterator.remove:()V
42: iinc 18 1
43: lload 5
aload 19
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.sizeInBytes:J
lsub
lstore 5
44: iload 17
aload 19
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.delCount:I
isub
istore 17
end local 20 end local 19 45: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 38
46: iconst_0
iload 17
invokestatic java.lang.Math.max:(II)I
istore 17
47: aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergeAtOnce:I
i2d
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.segsPerTier:D
invokestatic java.lang.Math.min:(DD)D
d2i
istore 19
start local 19 48: lload 7
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.floorSegmentBytes:J
invokestatic java.lang.Math.max:(JJ)J
lstore 20
start local 20 49: lload 5
lstore 22
start local 22 50: dconst_0
dstore 24
start local 24 51: StackMap locals: org.apache.lucene.index.TieredMergePolicy org.apache.lucene.index.MergeTrigger org.apache.lucene.index.SegmentInfos org.apache.lucene.index.MergePolicy$MergeContext java.util.Set long long int int long java.util.List java.util.Iterator double int int int long long double
StackMap stack:
lload 22
l2d
lload 20
l2d
ddiv
dstore 26
start local 26 52: dload 26
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.segsPerTier:D
dcmpg
iflt 53
lload 20
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergedSegmentBytes:J
lcmp
ifne 55
53: StackMap locals: double
StackMap stack:
dload 24
dload 26
invokestatic java.lang.Math.ceil:(D)D
dadd
dstore 24
54: goto 59
55: StackMap locals:
StackMap stack:
dload 24
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.segsPerTier:D
dadd
dstore 24
56: lload 22
l2d
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.segsPerTier:D
lload 20
l2d
dmul
dsub
d2l
lstore 22
57: aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergedSegmentBytes:J
lload 20
iload 19
i2l
lmul
invokestatic java.lang.Math.min:(JJ)J
lstore 20
end local 26 58: goto 51
59: StackMap locals:
StackMap stack:
dload 24
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.segsPerTier:D
invokestatic java.lang.Math.max:(DD)D
dstore 24
60: aload 0
aload 3
invokevirtual org.apache.lucene.index.TieredMergePolicy.verbose:(Lorg/apache/lucene/index/MergePolicy$MergeContext;)Z
ifeq 64
iload 18
ifle 64
61: aload 0
new java.lang.StringBuilder
dup
ldc " allowedSegmentCount="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
dload 24
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc " vs count="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual org.apache.lucene.index.SegmentInfos.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
62: ldc " (eligible count="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 13
invokeinterface java.util.List.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ") tooBigCount= "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 18
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
63: invokevirtual org.apache.lucene.index.TieredMergePolicy.message:(Ljava/lang/String;Lorg/apache/lucene/index/MergePolicy$MergeContext;)V
64: StackMap locals:
StackMap stack:
aload 0
aload 13
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergedSegmentBytes:J
iload 19
dload 24
d2i
iload 17
getstatic org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE.NATURAL:Lorg/apache/lucene/index/TieredMergePolicy$MERGE_TYPE;
65: aload 3
lload 11
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergedSegmentBytes:J
lcmp
iflt 66
iconst_1
goto 67
StackMap locals: org.apache.lucene.index.TieredMergePolicy org.apache.lucene.index.MergeTrigger org.apache.lucene.index.SegmentInfos org.apache.lucene.index.MergePolicy$MergeContext java.util.Set long long int int long java.util.List java.util.Iterator double int int int long long double
StackMap stack: org.apache.lucene.index.TieredMergePolicy java.util.List long int int int org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE org.apache.lucene.index.MergePolicy$MergeContext
66: iconst_0
67: StackMap locals: org.apache.lucene.index.TieredMergePolicy org.apache.lucene.index.MergeTrigger org.apache.lucene.index.SegmentInfos org.apache.lucene.index.MergePolicy$MergeContext java.util.Set long long int int long java.util.List java.util.Iterator double int int int long long double
StackMap stack: org.apache.lucene.index.TieredMergePolicy java.util.List long int int int org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE org.apache.lucene.index.MergePolicy$MergeContext int
invokevirtual org.apache.lucene.index.TieredMergePolicy.doFindMerges:(Ljava/util/List;JIIILorg/apache/lucene/index/TieredMergePolicy$MERGE_TYPE;Lorg/apache/lucene/index/MergePolicy$MergeContext;Z)Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
areturn
end local 24 end local 22 end local 20 end local 19 end local 18 end local 17 end local 15 end local 14 end local 13 end local 11 end local 10 end local 9 end local 7 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 68 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 68 1 mergeTrigger Lorg/apache/lucene/index/MergeTrigger;
0 68 2 infos Lorg/apache/lucene/index/SegmentInfos;
0 68 3 mergeContext Lorg/apache/lucene/index/MergePolicy$MergeContext;
1 68 4 merging Ljava/util/Set<Lorg/apache/lucene/index/SegmentCommitInfo;>;
2 68 5 totIndexBytes J
3 68 7 minSegmentBytes J
4 68 9 totalDelDocs I
5 68 10 totalMaxDoc I
6 68 11 mergingBytes J
7 68 13 sortedInfos Ljava/util/List<Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;
8 68 14 iter Ljava/util/Iterator<Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;
10 30 15 segSizeDocs Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;
11 30 16 segBytes J
15 21 18 extra Ljava/lang/String;
34 68 15 totalDelPct D
35 68 17 allowedDelCount I
36 68 18 tooBigCount I
39 45 19 segSizeDocs Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;
40 45 20 segDelPct D
48 68 19 mergeFactor I
49 68 20 levelSize J
50 68 22 bytesLeft J
51 68 24 allowedSegCount D
52 58 26 segCountLevel D
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
mergeTrigger
infos
mergeContext
private org.apache.lucene.index.MergePolicy$MergeSpecification doFindMerges(java.util.List<org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs>, long, int, int, int, org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE, org.apache.lucene.index.MergePolicy$MergeContext, boolean);
descriptor: (Ljava/util/List;JIIILorg/apache/lucene/index/TieredMergePolicy$MERGE_TYPE;Lorg/apache/lucene/index/MergePolicy$MergeContext;Z)Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=34, args_size=9
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 10
start local 10 1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 11
start local 11 2: aload 10
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 13
goto 5
StackMap locals: org.apache.lucene.index.TieredMergePolicy java.util.List long int int int org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE org.apache.lucene.index.MergePolicy$MergeContext int java.util.List java.util.Map top java.util.Iterator
StackMap stack:
3: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
astore 12
start local 12 4: aload 11
aload 12
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
aload 12
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 12 5: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 10
invokeinterface java.util.List.size:()I
istore 12
start local 12 7: aload 0
aload 8
invokevirtual org.apache.lucene.index.TieredMergePolicy.verbose:(Lorg/apache/lucene/index/MergePolicy$MergeContext;)Z
ifeq 9
8: aload 0
new java.lang.StringBuilder
dup
ldc "findMerges: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 12
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " segments"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 8
invokevirtual org.apache.lucene.index.TieredMergePolicy.message:(Ljava/lang/String;Lorg/apache/lucene/index/MergePolicy$MergeContext;)V
9: StackMap locals: org.apache.lucene.index.TieredMergePolicy java.util.List long int int int org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE org.apache.lucene.index.MergePolicy$MergeContext int java.util.List java.util.Map int
StackMap stack:
iload 12
ifne 11
10: aconst_null
areturn
11: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 13
start local 13 12: aconst_null
astore 14
start local 14 13: iconst_0
istore 15
start local 15 14: StackMap locals: java.util.Set org.apache.lucene.index.MergePolicy$MergeSpecification int
StackMap stack:
aload 10
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 16
start local 16 15: goto 19
16: StackMap locals: java.util.Iterator
StackMap stack:
aload 16
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
astore 17
start local 17 17: aload 13
aload 17
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 19
18: aload 16
invokeinterface java.util.Iterator.remove:()V
end local 17 19: StackMap locals:
StackMap stack:
aload 16
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
20: aload 0
aload 8
invokevirtual org.apache.lucene.index.TieredMergePolicy.verbose:(Lorg/apache/lucene/index/MergePolicy$MergeContext;)Z
ifeq 22
21: aload 0
new java.lang.StringBuilder
dup
ldc " allowedSegmentCount="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " vs count="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 12
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " (eligible count="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 10
invokeinterface java.util.List.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 8
invokevirtual org.apache.lucene.index.TieredMergePolicy.message:(Ljava/lang/String;Lorg/apache/lucene/index/MergePolicy$MergeContext;)V
22: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.List.size:()I
ifne 24
23: aload 14
areturn
24: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic applyAsInt()Ljava/util/function/ToIntFunction;
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;)I
org/apache/lucene/index/TieredMergePolicy.lambda$1(Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;)I (6)
(Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;)I
invokeinterface java.util.stream.Stream.mapToInt:(Ljava/util/function/ToIntFunction;)Ljava/util/stream/IntStream;
invokeinterface java.util.stream.IntStream.sum:()I
istore 17
start local 17 25: aload 7
getstatic org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE.NATURAL:Lorg/apache/lucene/index/TieredMergePolicy$MERGE_TYPE;
if_acmpne 29
26: aload 10
invokeinterface java.util.List.size:()I
iload 5
if_icmpgt 29
27: iload 17
iload 6
if_icmpgt 29
28: aload 14
areturn
29: StackMap locals: int
StackMap stack:
aconst_null
astore 18
start local 18 30: aconst_null
astore 19
start local 19 31: iconst_0
istore 20
start local 20 32: lconst_0
lstore 21
start local 21 33: iconst_0
istore 23
start local 23 34: goto 73
35: StackMap locals: org.apache.lucene.index.TieredMergePolicy java.util.List long int int int org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE org.apache.lucene.index.MergePolicy$MergeContext int java.util.List java.util.Map int java.util.Set org.apache.lucene.index.MergePolicy$MergeSpecification int java.util.Iterator int org.apache.lucene.index.TieredMergePolicy$MergeScore java.util.List int long int
StackMap stack:
lconst_0
lstore 24
start local 24 36: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 26
start local 26 37: iconst_0
istore 27
start local 27 38: lconst_0
lstore 28
start local 28 39: iload 23
istore 30
start local 30 40: goto 53
41: StackMap locals: org.apache.lucene.index.TieredMergePolicy java.util.List long int int int org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE org.apache.lucene.index.MergePolicy$MergeContext int java.util.List java.util.Map int java.util.Set org.apache.lucene.index.MergePolicy$MergeSpecification int java.util.Iterator int org.apache.lucene.index.TieredMergePolicy$MergeScore java.util.List int long int long java.util.List int long int
StackMap stack:
aload 10
iload 30
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
astore 31
start local 31 42: aload 31
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.sizeInBytes:J
lstore 32
start local 32 43: lload 24
lload 32
ladd
lload 2
lcmp
ifle 49
44: iconst_1
istore 27
45: aload 26
invokeinterface java.util.List.size:()I
ifne 52
46: aload 26
aload 31
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
47: lload 28
lload 32
ladd
lstore 28
48: goto 52
49: StackMap locals: org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs long
StackMap stack:
aload 26
aload 31
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
50: lload 28
lload 32
ladd
lstore 28
51: lload 24
lload 32
ladd
lstore 24
end local 32 end local 31 52: StackMap locals:
StackMap stack:
iinc 30 1
StackMap locals:
StackMap stack:
53: iload 30
aload 10
invokeinterface java.util.List.size:()I
if_icmpge 54
aload 26
invokeinterface java.util.List.size:()I
iload 4
if_icmpge 54
lload 28
lload 2
lcmp
iflt 41
end local 30 54: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.TieredMergePolicy.$assertionsDisabled:Z
ifne 55
aload 26
invokeinterface java.util.List.size:()I
ifgt 55
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
55: StackMap locals:
StackMap stack:
aload 26
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 59
56: aload 11
aload 26
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
astore 30
start local 30 57: aload 30
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.delCount:I
ifne 59
58: goto 72
end local 30 59: StackMap locals:
StackMap stack:
aload 18
ifnull 63
60: iload 27
ifne 63
61: aload 26
invokeinterface java.util.List.size:()I
iload 4
if_icmpge 63
62: goto 74
63: StackMap locals:
StackMap stack:
aload 0
aload 26
iload 27
aload 11
invokevirtual org.apache.lucene.index.TieredMergePolicy.score:(Ljava/util/List;ZLjava/util/Map;)Lorg/apache/lucene/index/TieredMergePolicy$MergeScore;
astore 30
start local 30 64: aload 0
aload 8
invokevirtual org.apache.lucene.index.TieredMergePolicy.verbose:(Lorg/apache/lucene/index/MergePolicy$MergeContext;)Z
ifeq 66
65: aload 0
new java.lang.StringBuilder
dup
ldc " maybe="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 8
aload 26
invokevirtual org.apache.lucene.index.TieredMergePolicy.segString:(Lorg/apache/lucene/index/MergePolicy$MergeContext;Ljava/lang/Iterable;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " score="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 30
invokevirtual org.apache.lucene.index.TieredMergePolicy$MergeScore.getScore:()D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 30
invokevirtual org.apache.lucene.index.TieredMergePolicy$MergeScore.getExplanation:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " tooLarge="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 27
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc " size="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
ldc "%.3f MB"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 24
l2d
ldc 1024.0
ddiv
ldc 1024.0
ddiv
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 8
invokevirtual org.apache.lucene.index.TieredMergePolicy.message:(Ljava/lang/String;Lorg/apache/lucene/index/MergePolicy$MergeContext;)V
66: StackMap locals: org.apache.lucene.index.TieredMergePolicy$MergeScore
StackMap stack:
aload 18
ifnull 67
aload 30
invokevirtual org.apache.lucene.index.TieredMergePolicy$MergeScore.getScore:()D
aload 18
invokevirtual org.apache.lucene.index.TieredMergePolicy$MergeScore.getScore:()D
dcmpg
ifge 72
StackMap locals:
StackMap stack:
67: iload 27
ifeq 68
iload 9
ifne 72
68: StackMap locals:
StackMap stack:
aload 26
astore 19
69: aload 30
astore 18
70: iload 27
istore 20
71: lload 24
lstore 21
end local 30 end local 28 end local 27 end local 26 end local 24 72: StackMap locals: org.apache.lucene.index.TieredMergePolicy java.util.List long int int int org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE org.apache.lucene.index.MergePolicy$MergeContext int java.util.List java.util.Map int java.util.Set org.apache.lucene.index.MergePolicy$MergeSpecification int java.util.Iterator int org.apache.lucene.index.TieredMergePolicy$MergeScore java.util.List int long int
StackMap stack:
iinc 23 1
StackMap locals:
StackMap stack:
73: iload 23
aload 10
invokeinterface java.util.List.size:()I
if_icmplt 35
end local 23 74: StackMap locals:
StackMap stack:
aload 19
ifnonnull 76
75: aload 14
areturn
76: StackMap locals:
StackMap stack:
iload 15
ifeq 77
iload 20
ifeq 77
aload 7
getstatic org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE.FORCE_MERGE_DELETES:Lorg/apache/lucene/index/TieredMergePolicy$MERGE_TYPE;
if_acmpne 86
77: StackMap locals:
StackMap stack:
iload 15
iload 20
ior
istore 15
78: aload 14
ifnonnull 80
79: new org.apache.lucene.index.MergePolicy$MergeSpecification
dup
invokespecial org.apache.lucene.index.MergePolicy$MergeSpecification.<init>:()V
astore 14
80: StackMap locals:
StackMap stack:
new org.apache.lucene.index.MergePolicy$OneMerge
dup
aload 19
invokespecial org.apache.lucene.index.MergePolicy$OneMerge.<init>:(Ljava/util/List;)V
astore 23
start local 23 81: aload 14
aload 23
invokevirtual org.apache.lucene.index.MergePolicy$MergeSpecification.add:(Lorg/apache/lucene/index/MergePolicy$OneMerge;)V
82: aload 0
aload 8
invokevirtual org.apache.lucene.index.TieredMergePolicy.verbose:(Lorg/apache/lucene/index/MergePolicy$MergeContext;)Z
ifeq 86
83: aload 0
new java.lang.StringBuilder
dup
ldc " add merge="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 8
aload 23
getfield org.apache.lucene.index.MergePolicy$OneMerge.segments:Ljava/util/List;
invokevirtual org.apache.lucene.index.TieredMergePolicy.segString:(Lorg/apache/lucene/index/MergePolicy$MergeContext;Ljava/lang/Iterable;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " size="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
ldc "%.3f MB"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 21
l2d
ldc 1024.0
ddiv
ldc 1024.0
ddiv
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " score="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
ldc "%.3f"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 18
invokevirtual org.apache.lucene.index.TieredMergePolicy$MergeScore.getScore:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 18
invokevirtual org.apache.lucene.index.TieredMergePolicy$MergeScore.getExplanation:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 20
ifeq 84
ldc " [max merge]"
goto 85
StackMap locals: org.apache.lucene.index.TieredMergePolicy java.util.List long int int int org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE org.apache.lucene.index.MergePolicy$MergeContext int java.util.List java.util.Map int java.util.Set org.apache.lucene.index.MergePolicy$MergeSpecification int java.util.Iterator int org.apache.lucene.index.TieredMergePolicy$MergeScore java.util.List int long org.apache.lucene.index.MergePolicy$OneMerge
StackMap stack: org.apache.lucene.index.TieredMergePolicy java.lang.StringBuilder
84: ldc ""
StackMap locals: org.apache.lucene.index.TieredMergePolicy java.util.List long int int int org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE org.apache.lucene.index.MergePolicy$MergeContext int java.util.List java.util.Map int java.util.Set org.apache.lucene.index.MergePolicy$MergeSpecification int java.util.Iterator int org.apache.lucene.index.TieredMergePolicy$MergeScore java.util.List int long org.apache.lucene.index.MergePolicy$OneMerge
StackMap stack: org.apache.lucene.index.TieredMergePolicy java.lang.StringBuilder java.lang.String
85: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 8
invokevirtual org.apache.lucene.index.TieredMergePolicy.message:(Ljava/lang/String;Lorg/apache/lucene/index/MergePolicy$MergeContext;)V
end local 23 86: StackMap locals:
StackMap stack:
aload 13
aload 19
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 87: goto 14
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 88 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 88 1 sortedEligibleInfos Ljava/util/List<Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;
0 88 2 maxMergedSegmentBytes J
0 88 4 mergeFactor I
0 88 5 allowedSegCount I
0 88 6 allowedDelCount I
0 88 7 mergeType Lorg/apache/lucene/index/TieredMergePolicy$MERGE_TYPE;
0 88 8 mergeContext Lorg/apache/lucene/index/MergePolicy$MergeContext;
0 88 9 maxMergeIsRunning Z
1 88 10 sortedEligible Ljava/util/List<Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;
2 88 11 segInfosSizes Ljava/util/Map<Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;
4 5 12 segSizeDocs Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;
7 88 12 originalSortedSize I
12 88 13 toBeMerged Ljava/util/Set<Lorg/apache/lucene/index/SegmentCommitInfo;>;
13 88 14 spec Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
14 88 15 haveOneLargeMerge Z
15 87 16 iter Ljava/util/Iterator<Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;
17 19 17 segSizeDocs Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;
25 87 17 remainingDelCount I
30 87 18 bestScore Lorg/apache/lucene/index/TieredMergePolicy$MergeScore;
31 87 19 best Ljava/util/List<Lorg/apache/lucene/index/SegmentCommitInfo;>;
32 87 20 bestTooLarge Z
33 87 21 bestMergeBytes J
34 74 23 startIdx I
36 72 24 totAfterMergeBytes J
37 72 26 candidate Ljava/util/List<Lorg/apache/lucene/index/SegmentCommitInfo;>;
38 72 27 hitTooLarge Z
39 72 28 bytesThisMerge J
40 54 30 idx I
42 52 31 segSizeDocs Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;
43 52 32 segBytes J
57 59 30 segSizeDocs Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;
64 72 30 score Lorg/apache/lucene/index/TieredMergePolicy$MergeScore;
81 86 23 merge Lorg/apache/lucene/index/MergePolicy$OneMerge;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;JIIILorg/apache/lucene/index/TieredMergePolicy$MERGE_TYPE;Lorg/apache/lucene/index/MergePolicy$MergeContext;Z)Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
MethodParameters:
Name Flags
sortedEligibleInfos
maxMergedSegmentBytes final
mergeFactor final
allowedSegCount final
allowedDelCount final
mergeType final
mergeContext
maxMergeIsRunning
protected org.apache.lucene.index.TieredMergePolicy$MergeScore score(java.util.List<org.apache.lucene.index.SegmentCommitInfo>, boolean, java.util.Map<org.apache.lucene.index.SegmentCommitInfo, org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs>);
descriptor: (Ljava/util/List;ZLjava/util/Map;)Lorg/apache/lucene/index/TieredMergePolicy$MergeScore;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=18, args_size=4
start local 0 start local 1 start local 2 start local 3 0: lconst_0
lstore 4
start local 4 1: lconst_0
lstore 6
start local 6 2: lconst_0
lstore 8
start local 8 3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 9
StackMap locals: org.apache.lucene.index.TieredMergePolicy java.util.List int java.util.Map long long long top java.util.Iterator
StackMap stack:
4: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.SegmentCommitInfo
astore 10
start local 10 5: aload 3
aload 10
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.sizeInBytes:J
lstore 12
start local 12 6: lload 6
lload 12
ladd
lstore 6
7: lload 8
aload 0
lload 12
invokevirtual org.apache.lucene.index.TieredMergePolicy.floorSize:(J)J
ladd
lstore 8
8: lload 4
aload 10
invokevirtual org.apache.lucene.index.SegmentCommitInfo.sizeInBytes:()J
ladd
lstore 4
end local 12 end local 10 9: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
10: iload 2
ifeq 14
11: aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergeAtOnce:I
i2d
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.segsPerTier:D
invokestatic java.lang.Math.min:(DD)D
d2i
istore 12
start local 12 12: dconst_1
iload 12
i2d
ddiv
dstore 10
end local 12 start local 10 13: goto 15
end local 10 14: StackMap locals: org.apache.lucene.index.TieredMergePolicy java.util.List int java.util.Map long long long
StackMap stack:
aload 0
aload 3
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.sizeInBytes:J
invokevirtual org.apache.lucene.index.TieredMergePolicy.floorSize:(J)J
l2d
lload 8
l2d
ddiv
dstore 10
start local 10 15: StackMap locals: double
StackMap stack:
dload 10
dstore 12
start local 12 16: dload 12
lload 6
l2d
ldc 0.05
invokestatic java.lang.Math.pow:(DD)D
dmul
dstore 12
17: lload 6
l2d
lload 4
l2d
ddiv
dstore 14
start local 14 18: dload 12
dload 14
ldc 2.0
invokestatic java.lang.Math.pow:(DD)D
dmul
dstore 12
19: dload 12
dstore 16
start local 16 20: new org.apache.lucene.index.TieredMergePolicy$1
dup
aload 0
dload 16
dload 10
dload 14
invokespecial org.apache.lucene.index.TieredMergePolicy$1.<init>:(Lorg/apache/lucene/index/TieredMergePolicy;DDD)V
areturn
end local 16 end local 14 end local 12 end local 10 end local 8 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 21 1 candidate Ljava/util/List<Lorg/apache/lucene/index/SegmentCommitInfo;>;
0 21 2 hitTooLarge Z
0 21 3 segmentsSizes Ljava/util/Map<Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;
1 21 4 totBeforeMergeBytes J
2 21 6 totAfterMergeBytes J
3 21 8 totAfterMergeBytesFloored J
5 9 10 info Lorg/apache/lucene/index/SegmentCommitInfo;
6 9 12 segBytes J
13 14 10 skew D
15 21 10 skew D
12 13 12 mergeFactor I
16 21 12 mergeScore D
18 21 14 nonDelRatio D
20 21 16 finalMergeScore D
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Lorg/apache/lucene/index/SegmentCommitInfo;>;ZLjava/util/Map<Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;)Lorg/apache/lucene/index/TieredMergePolicy$MergeScore;
MethodParameters:
Name Flags
candidate
hitTooLarge
segmentsSizes
public org.apache.lucene.index.MergePolicy$MergeSpecification findForcedMerges(org.apache.lucene.index.SegmentInfos, int, java.util.Map<org.apache.lucene.index.SegmentCommitInfo, java.lang.Boolean>, org.apache.lucene.index.MergePolicy$MergeContext);
descriptor: (Lorg/apache/lucene/index/SegmentInfos;ILjava/util/Map;Lorg/apache/lucene/index/MergePolicy$MergeContext;)Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=27, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 4
invokevirtual org.apache.lucene.index.TieredMergePolicy.verbose:(Lorg/apache/lucene/index/MergePolicy$MergeContext;)Z
ifeq 4
1: aload 0
new java.lang.StringBuilder
dup
ldc "findForcedMerges maxSegmentCount="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " infos="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 4
aload 1
invokevirtual org.apache.lucene.index.TieredMergePolicy.segString:(Lorg/apache/lucene/index/MergePolicy$MergeContext;Ljava/lang/Iterable;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc " segmentsToMerge="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
3: invokevirtual org.apache.lucene.index.TieredMergePolicy.message:(Ljava/lang/String;Lorg/apache/lucene/index/MergePolicy$MergeContext;)V
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
invokevirtual org.apache.lucene.index.TieredMergePolicy.getSortedBySegmentSize:(Lorg/apache/lucene/index/SegmentInfos;Lorg/apache/lucene/index/MergePolicy$MergeContext;)Ljava/util/List;
astore 5
start local 5 5: lconst_0
lstore 6
start local 6 6: aload 4
invokeinterface org.apache.lucene.index.MergePolicy$MergeContext.getMergingSegments:()Ljava/util/Set;
astore 8
start local 8 7: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
start local 9 8: iconst_0
istore 10
start local 10 9: goto 20
10: StackMap locals: org.apache.lucene.index.TieredMergePolicy org.apache.lucene.index.SegmentInfos int java.util.Map org.apache.lucene.index.MergePolicy$MergeContext java.util.List long java.util.Set java.util.Iterator int
StackMap stack:
aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
astore 11
start local 11 11: aload 3
aload 11
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 12
start local 12 12: aload 12
ifnonnull 15
13: aload 9
invokeinterface java.util.Iterator.remove:()V
14: goto 20
15: StackMap locals: org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs java.lang.Boolean
StackMap stack:
aload 8
aload 11
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 19
16: iconst_1
istore 10
17: aload 9
invokeinterface java.util.Iterator.remove:()V
18: goto 20
19: StackMap locals:
StackMap stack:
lload 6
aload 11
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.sizeInBytes:J
ladd
lstore 6
end local 12 end local 11 20: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
21: aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergedSegmentBytes:J
lstore 11
start local 11 22: iload 2
iconst_1
if_icmpne 23
ldc 9223372036854775807
lstore 11
goto 26
23: StackMap locals: long
StackMap stack:
iload 2
ldc 2147483647
if_icmpeq 26
24: lload 6
l2d
iload 2
i2d
ddiv
d2l
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergedSegmentBytes:J
invokestatic java.lang.Math.max:(JJ)J
lstore 11
25: lload 11
l2d
ldc 1.25
dmul
d2l
lstore 11
26: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
27: iconst_0
istore 13
start local 13 28: goto 39
29: StackMap locals: int
StackMap stack:
aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
astore 14
start local 14 30: aload 3
aload 14
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 15
start local 15 31: aload 14
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.delCount:I
ifeq 35
32: aload 15
ifnull 39
aload 15
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 39
33: iconst_1
istore 13
34: goto 39
35: StackMap locals: org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs java.lang.Boolean
StackMap stack:
iload 2
ldc 2147483647
if_icmpne 37
aload 15
ifnull 37
aload 15
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 37
36: aload 9
invokeinterface java.util.Iterator.remove:()V
37: StackMap locals:
StackMap stack:
iload 2
ldc 2147483647
if_icmpeq 39
aload 14
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.sizeInBytes:J
lload 11
lcmp
iflt 39
38: aload 9
invokeinterface java.util.Iterator.remove:()V
end local 15 end local 14 39: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 29
40: aload 5
invokeinterface java.util.List.size:()I
ifne 42
41: aconst_null
areturn
42: StackMap locals:
StackMap stack:
iload 13
ifne 49
43: aload 5
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
astore 14
start local 14 44: iload 2
ldc 2147483647
if_icmpeq 45
iload 2
iconst_1
if_icmple 45
aload 5
invokeinterface java.util.List.size:()I
iload 2
if_icmple 46
45: StackMap locals: org.apache.lucene.index.SegmentCommitInfo
StackMap stack:
iload 2
iconst_1
if_icmpne 49
aload 5
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 49
aload 3
aload 14
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 46
aload 0
aload 1
aload 14
aload 4
invokevirtual org.apache.lucene.index.TieredMergePolicy.isMerged:(Lorg/apache/lucene/index/SegmentInfos;Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/index/MergePolicy$MergeContext;)Z
ifeq 49
46: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.lucene.index.TieredMergePolicy.verbose:(Lorg/apache/lucene/index/MergePolicy$MergeContext;)Z
ifeq 48
47: aload 0
ldc "already merged"
aload 4
invokevirtual org.apache.lucene.index.TieredMergePolicy.message:(Ljava/lang/String;Lorg/apache/lucene/index/MergePolicy$MergeContext;)V
48: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 14 49: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.lucene.index.TieredMergePolicy.verbose:(Lorg/apache/lucene/index/MergePolicy$MergeContext;)Z
ifeq 51
50: aload 0
new java.lang.StringBuilder
dup
ldc "eligible="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokevirtual org.apache.lucene.index.TieredMergePolicy.message:(Ljava/lang/String;Lorg/apache/lucene/index/MergePolicy$MergeContext;)V
51: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.size:()I
istore 14
start local 14 52: iload 14
iload 2
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergeAtOnceExplicit:I
iadd
iconst_1
isub
if_icmpge 53
iconst_1
goto 54
StackMap locals: int
StackMap stack:
53: iconst_0
StackMap locals:
StackMap stack: int
54: istore 15
start local 15 55: iload 15
ifeq 57
iload 10
ifeq 57
56: aconst_null
areturn
57: StackMap locals: int
StackMap stack:
aload 5
invokeinterface java.util.List.size:()I
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergeAtOnceExplicit:I
if_icmpge 66
iload 2
iconst_1
if_icmpne 66
lload 6
lload 11
lcmp
ifge 66
58: new org.apache.lucene.index.MergePolicy$MergeSpecification
dup
invokespecial org.apache.lucene.index.MergePolicy$MergeSpecification.<init>:()V
astore 16
start local 16 59: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 17
start local 17 60: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 19
goto 63
StackMap locals: org.apache.lucene.index.TieredMergePolicy org.apache.lucene.index.SegmentInfos int java.util.Map org.apache.lucene.index.MergePolicy$MergeContext java.util.List long java.util.Set java.util.Iterator int long int int int org.apache.lucene.index.MergePolicy$MergeSpecification java.util.List top java.util.Iterator
StackMap stack:
61: aload 19
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
astore 18
start local 18 62: aload 17
aload 18
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 18 63: StackMap locals:
StackMap stack:
aload 19
invokeinterface java.util.Iterator.hasNext:()Z
ifne 61
64: aload 16
new org.apache.lucene.index.MergePolicy$OneMerge
dup
aload 17
invokespecial org.apache.lucene.index.MergePolicy$OneMerge.<init>:(Ljava/util/List;)V
invokevirtual org.apache.lucene.index.MergePolicy$MergeSpecification.add:(Lorg/apache/lucene/index/MergePolicy$OneMerge;)V
65: aload 16
areturn
end local 17 end local 16 66: StackMap locals: org.apache.lucene.index.TieredMergePolicy org.apache.lucene.index.SegmentInfos int java.util.Map org.apache.lucene.index.MergePolicy$MergeContext java.util.List long java.util.Set java.util.Iterator int long int int int
StackMap stack:
aconst_null
astore 16
start local 16 67: iload 14
iconst_1
isub
istore 17
start local 17 68: iload 14
istore 18
start local 18 69: StackMap locals: org.apache.lucene.index.MergePolicy$MergeSpecification int int
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 19
start local 19 70: lconst_0
lstore 20
start local 20 71: aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergeAtOnceExplicit:I
istore 22
start local 22 72: goto 83
73: StackMap locals: java.util.List long int
StackMap stack:
aload 5
iload 17
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
astore 23
start local 23 74: aload 19
invokeinterface java.util.List.size:()I
istore 24
start local 24 75: aload 23
invokevirtual org.apache.lucene.index.SegmentCommitInfo.sizeInBytes:()J
lstore 25
start local 25 76: lload 20
lload 25
ladd
lload 11
lcmp
ifle 77
iload 24
iconst_2
if_icmpge 84
77: StackMap locals: org.apache.lucene.index.SegmentCommitInfo int long
StackMap stack:
aload 19
aload 23
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
78: iinc 17 -1
79: lload 20
lload 25
ladd
lstore 20
80: iinc 22 -1
81: iload 24
ifle 83
82: iinc 18 -1
end local 25 end local 24 end local 23 83: StackMap locals:
StackMap stack:
iload 17
iflt 84
iload 18
iload 2
if_icmple 84
iload 22
ifgt 73
84: StackMap locals:
StackMap stack:
aload 19
invokeinterface java.util.List.size:()I
istore 23
start local 23 85: iload 23
iconst_1
if_icmple 93
iload 10
ifeq 86
iload 23
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergeAtOnceExplicit:I
if_icmpeq 86
iload 23
i2d
ldc 0.7
lload 11
l2d
dmul
dcmpl
ifle 93
86: StackMap locals: int
StackMap stack:
new org.apache.lucene.index.MergePolicy$OneMerge
dup
aload 19
invokespecial org.apache.lucene.index.MergePolicy$OneMerge.<init>:(Ljava/util/List;)V
astore 24
start local 24 87: aload 0
aload 4
invokevirtual org.apache.lucene.index.TieredMergePolicy.verbose:(Lorg/apache/lucene/index/MergePolicy$MergeContext;)Z
ifeq 89
88: aload 0
new java.lang.StringBuilder
dup
ldc "add merge="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 4
aload 24
getfield org.apache.lucene.index.MergePolicy$OneMerge.segments:Ljava/util/List;
invokevirtual org.apache.lucene.index.TieredMergePolicy.segString:(Lorg/apache/lucene/index/MergePolicy$MergeContext;Ljava/lang/Iterable;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokevirtual org.apache.lucene.index.TieredMergePolicy.message:(Ljava/lang/String;Lorg/apache/lucene/index/MergePolicy$MergeContext;)V
89: StackMap locals: org.apache.lucene.index.MergePolicy$OneMerge
StackMap stack:
aload 16
ifnonnull 91
90: new org.apache.lucene.index.MergePolicy$MergeSpecification
dup
invokespecial org.apache.lucene.index.MergePolicy$MergeSpecification.<init>:()V
astore 16
91: StackMap locals:
StackMap stack:
aload 16
aload 24
invokevirtual org.apache.lucene.index.MergePolicy$MergeSpecification.add:(Lorg/apache/lucene/index/MergePolicy$OneMerge;)V
end local 24 92: goto 69
93: StackMap locals:
StackMap stack:
aload 16
areturn
end local 23 end local 22 end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 11 end local 10 end local 9 end local 8 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 94 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 94 1 infos Lorg/apache/lucene/index/SegmentInfos;
0 94 2 maxSegmentCount I
0 94 3 segmentsToMerge Ljava/util/Map<Lorg/apache/lucene/index/SegmentCommitInfo;Ljava/lang/Boolean;>;
0 94 4 mergeContext Lorg/apache/lucene/index/MergePolicy$MergeContext;
5 94 5 sortedSizeAndDocs Ljava/util/List<Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;
6 94 6 totalMergeBytes J
7 94 8 merging Ljava/util/Set<Lorg/apache/lucene/index/SegmentCommitInfo;>;
8 94 9 iter Ljava/util/Iterator<Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;
9 94 10 forceMergeRunning Z
11 20 11 segSizeDocs Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;
12 20 12 isOriginal Ljava/lang/Boolean;
22 94 11 maxMergeBytes J
28 94 13 foundDeletes Z
30 39 14 segSizeDocs Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;
31 39 15 isOriginal Ljava/lang/Boolean;
44 49 14 infoZero Lorg/apache/lucene/index/SegmentCommitInfo;
52 94 14 startingSegmentCount I
55 94 15 finalMerge Z
59 66 16 spec Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
60 66 17 allOfThem Ljava/util/List<Lorg/apache/lucene/index/SegmentCommitInfo;>;
62 63 18 segSizeDocs Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;
67 94 16 spec Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
68 94 17 index I
69 94 18 resultingSegments I
70 94 19 candidate Ljava/util/List<Lorg/apache/lucene/index/SegmentCommitInfo;>;
71 94 20 currentCandidateBytes J
72 94 22 mergesAllowed I
74 83 23 current Lorg/apache/lucene/index/SegmentCommitInfo;
75 83 24 initialCandidateSize I
76 83 25 currentSegmentSize J
85 94 23 candidateSize I
87 92 24 merge Lorg/apache/lucene/index/MergePolicy$OneMerge;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/lucene/index/SegmentInfos;ILjava/util/Map<Lorg/apache/lucene/index/SegmentCommitInfo;Ljava/lang/Boolean;>;Lorg/apache/lucene/index/MergePolicy$MergeContext;)Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
MethodParameters:
Name Flags
infos
maxSegmentCount
segmentsToMerge
mergeContext
public org.apache.lucene.index.MergePolicy$MergeSpecification findForcedDeletesMerges(org.apache.lucene.index.SegmentInfos, org.apache.lucene.index.MergePolicy$MergeContext);
descriptor: (Lorg/apache/lucene/index/SegmentInfos;Lorg/apache/lucene/index/MergePolicy$MergeContext;)Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.apache.lucene.index.TieredMergePolicy.verbose:(Lorg/apache/lucene/index/MergePolicy$MergeContext;)Z
ifeq 2
1: aload 0
new java.lang.StringBuilder
dup
ldc "findForcedDeletesMerges infos="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 2
aload 1
invokevirtual org.apache.lucene.index.TieredMergePolicy.segString:(Lorg/apache/lucene/index/MergePolicy$MergeContext;Ljava/lang/Iterable;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " forceMergeDeletesPctAllowed="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.forceMergeDeletesPctAllowed:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual org.apache.lucene.index.TieredMergePolicy.message:(Ljava/lang/String;Lorg/apache/lucene/index/MergePolicy$MergeContext;)V
2: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.apache.lucene.index.MergePolicy$MergeContext.getMergingSegments:()Ljava/util/Set;
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: aload 1
invokevirtual org.apache.lucene.index.SegmentInfos.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals: org.apache.lucene.index.TieredMergePolicy org.apache.lucene.index.SegmentInfos org.apache.lucene.index.MergePolicy$MergeContext java.util.Set int top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.SegmentCommitInfo
astore 5
start local 5 6: aload 2
aload 5
invokeinterface org.apache.lucene.index.MergePolicy$MergeContext.numDeletesToMerge:(Lorg/apache/lucene/index/SegmentCommitInfo;)I
istore 7
start local 7 7: getstatic org.apache.lucene.index.TieredMergePolicy.$assertionsDisabled:Z
ifne 8
aload 0
iload 7
aload 5
invokevirtual org.apache.lucene.index.TieredMergePolicy.assertDelCount:(ILorg/apache/lucene/index/SegmentCommitInfo;)Z
ifne 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: org.apache.lucene.index.TieredMergePolicy org.apache.lucene.index.SegmentInfos org.apache.lucene.index.MergePolicy$MergeContext java.util.Set int org.apache.lucene.index.SegmentCommitInfo java.util.Iterator int
StackMap stack:
ldc 100.0
iload 7
i2d
dmul
aload 5
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
i2d
ddiv
dstore 8
start local 8 9: dload 8
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.forceMergeDeletesPctAllowed:D
dcmpl
ifle 12
aload 3
aload 5
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 12
10: iconst_1
istore 4
11: goto 13
end local 8 end local 7 end local 5 12: StackMap locals: org.apache.lucene.index.TieredMergePolicy org.apache.lucene.index.SegmentInfos org.apache.lucene.index.MergePolicy$MergeContext java.util.Set int top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
13: StackMap locals: org.apache.lucene.index.TieredMergePolicy org.apache.lucene.index.SegmentInfos org.apache.lucene.index.MergePolicy$MergeContext java.util.Set int
StackMap stack:
iload 4
ifne 15
14: aconst_null
areturn
15: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.apache.lucene.index.TieredMergePolicy.getSortedBySegmentSize:(Lorg/apache/lucene/index/SegmentInfos;Lorg/apache/lucene/index/MergePolicy$MergeContext;)Ljava/util/List;
astore 5
start local 5 16: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
start local 6 17: goto 22
18: StackMap locals: java.util.List java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
astore 7
start local 7 19: ldc 100.0
aload 7
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.delCount:I
i2d
aload 7
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.maxDoc:I
i2d
ddiv
dmul
dstore 8
start local 8 20: aload 3
aload 7
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.segInfo:Lorg/apache/lucene/index/SegmentCommitInfo;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 21
dload 8
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.forceMergeDeletesPctAllowed:D
dcmpg
ifgt 22
21: StackMap locals: org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs double
StackMap stack:
aload 6
invokeinterface java.util.Iterator.remove:()V
end local 8 end local 7 22: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
23: aload 0
aload 2
invokevirtual org.apache.lucene.index.TieredMergePolicy.verbose:(Lorg/apache/lucene/index/MergePolicy$MergeContext;)Z
ifeq 25
24: aload 0
new java.lang.StringBuilder
dup
ldc "eligible="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual org.apache.lucene.index.TieredMergePolicy.message:(Ljava/lang/String;Lorg/apache/lucene/index/MergePolicy$MergeContext;)V
25: StackMap locals:
StackMap stack:
aload 0
aload 5
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergedSegmentBytes:J
26: aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergeAtOnceExplicit:I
ldc 2147483647
iconst_0
getstatic org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE.FORCE_MERGE_DELETES:Lorg/apache/lucene/index/TieredMergePolicy$MERGE_TYPE;
aload 2
iconst_0
27: invokevirtual org.apache.lucene.index.TieredMergePolicy.doFindMerges:(Ljava/util/List;JIIILorg/apache/lucene/index/TieredMergePolicy$MERGE_TYPE;Lorg/apache/lucene/index/MergePolicy$MergeContext;Z)Lorg/apache/lucene/index/MergePolicy$MergeSpecification;
areturn
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 28 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 28 1 infos Lorg/apache/lucene/index/SegmentInfos;
0 28 2 mergeContext Lorg/apache/lucene/index/MergePolicy$MergeContext;
3 28 3 merging Ljava/util/Set<Lorg/apache/lucene/index/SegmentCommitInfo;>;
4 28 4 haveWork Z
6 12 5 info Lorg/apache/lucene/index/SegmentCommitInfo;
7 12 7 delCount I
9 12 8 pctDeletes D
16 28 5 sortedInfos Ljava/util/List<Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;
17 28 6 iter Ljava/util/Iterator<Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;>;
19 22 7 segSizeDocs Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;
20 22 8 pctDeletes D
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
infos
mergeContext
private long floorSize(long);
descriptor: (J)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.TieredMergePolicy.floorSegmentBytes:J
lload 1
invokestatic java.lang.Math.max:(JJ)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/TieredMergePolicy;
0 1 1 bytes J
MethodParameters:
Name Flags
bytes
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc "maxMergeAtOnce="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergeAtOnce:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc "maxMergeAtOnceExplicit="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergeAtOnceExplicit:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc "maxMergedSegmentMB="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.maxMergedSegmentBytes:J
ldc 1024
ldiv
l2d
ldc 1024.0
ddiv
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc "floorSegmentMB="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.floorSegmentBytes:J
ldc 1024
ldiv
l2d
ldc 1024.0
ddiv
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
ldc "forceMergeDeletesPctAllowed="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.forceMergeDeletesPctAllowed:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
ldc "segmentsPerTier="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.segsPerTier:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc "maxCFSSegmentSizeMB="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.lucene.index.TieredMergePolicy.getMaxCFSSegmentSizeMB:()D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
ldc "noCFSRatio="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.noCFSRatio:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 1
ldc "deletesPctAllowed="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.TieredMergePolicy.deletesPctAllowed:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
10: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/index/TieredMergePolicy;
1 11 1 sb Ljava/lang/StringBuilder;
private static int lambda$0(org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs, org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs);
descriptor: (Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.sizeInBytes:J
aload 0
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.sizeInBytes:J
invokestatic java.lang.Long.compare:(JJ)I
istore 2
start local 2 1: iload 2
ifne 3
2: aload 0
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.name:Ljava/lang/String;
aload 1
getfield org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs.name:Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
istore 2
3: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 o1 Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;
0 4 1 o2 Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;
1 4 2 cmp I
private static int lambda$1(org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs);
descriptor: (Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;)I
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.TieredMergePolicy$SegmentSizeAndDocs.delCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Lorg/apache/lucene/index/TieredMergePolicy$SegmentSizeAndDocs;
}
SourceFile: "TieredMergePolicy.java"
NestMembers:
org.apache.lucene.index.TieredMergePolicy$1 org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE org.apache.lucene.index.TieredMergePolicy$MergeScore org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract MergeContext = org.apache.lucene.index.MergePolicy$MergeContext of org.apache.lucene.index.MergePolicy
public MergeSpecification = org.apache.lucene.index.MergePolicy$MergeSpecification of org.apache.lucene.index.MergePolicy
public OneMerge = org.apache.lucene.index.MergePolicy$OneMerge of org.apache.lucene.index.MergePolicy
org.apache.lucene.index.TieredMergePolicy$1
private final MERGE_TYPE = org.apache.lucene.index.TieredMergePolicy$MERGE_TYPE of org.apache.lucene.index.TieredMergePolicy
protected abstract MergeScore = org.apache.lucene.index.TieredMergePolicy$MergeScore of org.apache.lucene.index.TieredMergePolicy
private SegmentSizeAndDocs = org.apache.lucene.index.TieredMergePolicy$SegmentSizeAndDocs of org.apache.lucene.index.TieredMergePolicy