class org.apache.lucene.search.LRUQueryCache$LeafCache implements org.apache.lucene.util.Accountable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.search.LRUQueryCache$LeafCache
super_class: java.lang.Object
{
private final java.lang.Object key;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<org.apache.lucene.search.Query, org.apache.lucene.search.DocIdSet> cache;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/DocIdSet;>;
private volatile long ramBytesUsed;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
final org.apache.lucene.search.LRUQueryCache this$0;
descriptor: Lorg/apache/lucene/search/LRUQueryCache;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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/search/LRUQueryCache;
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.search.LRUQueryCache$LeafCache.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.lucene.search.LRUQueryCache, java.lang.Object);
descriptor: (Lorg/apache/lucene/search/LRUQueryCache;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.apache.lucene.search.LRUQueryCache$LeafCache.this$0:Lorg/apache/lucene/search/LRUQueryCache;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.apache.lucene.search.LRUQueryCache$LeafCache.key:Ljava/lang/Object;
2: aload 0
new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
putfield org.apache.lucene.search.LRUQueryCache$LeafCache.cache:Ljava/util/Map;
3: aload 0
lconst_0
putfield org.apache.lucene.search.LRUQueryCache$LeafCache.ramBytesUsed:J
4: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/search/LRUQueryCache$LeafCache;
0 5 2 key Ljava/lang/Object;
MethodParameters:
Name Flags
this$0 final
key
private void onDocIdSetCache(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield org.apache.lucene.search.LRUQueryCache$LeafCache.ramBytesUsed:J
lload 1
ladd
putfield org.apache.lucene.search.LRUQueryCache$LeafCache.ramBytesUsed:J
1: aload 0
getfield org.apache.lucene.search.LRUQueryCache$LeafCache.this$0:Lorg/apache/lucene/search/LRUQueryCache;
aload 0
getfield org.apache.lucene.search.LRUQueryCache$LeafCache.key:Ljava/lang/Object;
lload 1
invokevirtual org.apache.lucene.search.LRUQueryCache.onDocIdSetCache:(Ljava/lang/Object;J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/search/LRUQueryCache$LeafCache;
0 3 1 ramBytesUsed J
MethodParameters:
Name Flags
ramBytesUsed
private void onDocIdSetEviction(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield org.apache.lucene.search.LRUQueryCache$LeafCache.ramBytesUsed:J
lload 1
lsub
putfield org.apache.lucene.search.LRUQueryCache$LeafCache.ramBytesUsed:J
1: aload 0
getfield org.apache.lucene.search.LRUQueryCache$LeafCache.this$0:Lorg/apache/lucene/search/LRUQueryCache;
aload 0
getfield org.apache.lucene.search.LRUQueryCache$LeafCache.key:Ljava/lang/Object;
iconst_1
lload 1
invokevirtual org.apache.lucene.search.LRUQueryCache.onDocIdSetEviction:(Ljava/lang/Object;IJ)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/search/LRUQueryCache$LeafCache;
0 3 1 ramBytesUsed J
MethodParameters:
Name Flags
ramBytesUsed
org.apache.lucene.search.DocIdSet get(org.apache.lucene.search.Query);
descriptor: (Lorg/apache/lucene/search/Query;)Lorg/apache/lucene/search/DocIdSet;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.search.LRUQueryCache$LeafCache.$assertionsDisabled:Z
ifne 1
aload 1
instanceof org.apache.lucene.search.BoostQuery
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.search.LRUQueryCache$LeafCache.$assertionsDisabled:Z
ifne 2
aload 1
instanceof org.apache.lucene.search.ConstantScoreQuery
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$LeafCache.cache:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.search.DocIdSet
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/search/LRUQueryCache$LeafCache;
0 3 1 query Lorg/apache/lucene/search/Query;
MethodParameters:
Name Flags
query
void putIfAbsent(org.apache.lucene.search.Query, org.apache.lucene.search.DocIdSet);
descriptor: (Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/DocIdSet;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.lucene.search.LRUQueryCache$LeafCache.$assertionsDisabled:Z
ifne 1
aload 1
instanceof org.apache.lucene.search.BoostQuery
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.search.LRUQueryCache$LeafCache.$assertionsDisabled:Z
ifne 2
aload 1
instanceof org.apache.lucene.search.ConstantScoreQuery
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$LeafCache.cache:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 4
3: aload 0
getstatic org.apache.lucene.util.RamUsageEstimator.HASHTABLE_RAM_BYTES_PER_ENTRY:J
aload 2
invokevirtual org.apache.lucene.search.DocIdSet.ramBytesUsed:()J
ladd
invokevirtual org.apache.lucene.search.LRUQueryCache$LeafCache.onDocIdSetCache:(J)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/search/LRUQueryCache$LeafCache;
0 5 1 query Lorg/apache/lucene/search/Query;
0 5 2 set Lorg/apache/lucene/search/DocIdSet;
MethodParameters:
Name Flags
query
set
void remove(org.apache.lucene.search.Query);
descriptor: (Lorg/apache/lucene/search/Query;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.search.LRUQueryCache$LeafCache.$assertionsDisabled:Z
ifne 1
aload 1
instanceof org.apache.lucene.search.BoostQuery
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.search.LRUQueryCache$LeafCache.$assertionsDisabled:Z
ifne 2
aload 1
instanceof org.apache.lucene.search.ConstantScoreQuery
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$LeafCache.cache:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.search.DocIdSet
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 0
getstatic org.apache.lucene.util.RamUsageEstimator.HASHTABLE_RAM_BYTES_PER_ENTRY:J
aload 2
invokevirtual org.apache.lucene.search.DocIdSet.ramBytesUsed:()J
ladd
invokevirtual org.apache.lucene.search.LRUQueryCache$LeafCache.onDocIdSetEviction:(J)V
5: StackMap locals: org.apache.lucene.search.DocIdSet
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/search/LRUQueryCache$LeafCache;
0 6 1 query Lorg/apache/lucene/search/Query;
3 6 2 removed Lorg/apache/lucene/search/DocIdSet;
MethodParameters:
Name Flags
query
public long ramBytesUsed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.LRUQueryCache$LeafCache.ramBytesUsed:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/LRUQueryCache$LeafCache;
}
SourceFile: "LRUQueryCache.java"
NestHost: org.apache.lucene.search.LRUQueryCache
InnerClasses:
private LeafCache = org.apache.lucene.search.LRUQueryCache$LeafCache of org.apache.lucene.search.LRUQueryCache