public class org.apache.cassandra.utils.memory.SlabPool extends org.apache.cassandra.utils.memory.MemtablePool
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.memory.SlabPool
super_class: org.apache.cassandra.utils.memory.MemtablePool
{
final boolean allocateOnHeap;
descriptor: Z
flags: (0x0010) ACC_FINAL
public void <init>(long, long, float, java.lang.Runnable);
descriptor: (JJFLjava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=5
start local 0 // org.apache.cassandra.utils.memory.SlabPool this
start local 1 // long maxOnHeapMemory
start local 3 // long maxOffHeapMemory
start local 5 // float cleanupThreshold
start local 6 // java.lang.Runnable cleaner
0: .line 27
aload 0 /* this */
lload 1 /* maxOnHeapMemory */
lload 3 /* maxOffHeapMemory */
fload 5 /* cleanupThreshold */
aload 6 /* cleaner */
invokespecial org.apache.cassandra.utils.memory.MemtablePool.<init>:(JJFLjava/lang/Runnable;)V
1: .line 28
aload 0 /* this */
lload 3 /* maxOffHeapMemory */
lconst_0
lcmp
ifne 2
iconst_1
goto 3
StackMap locals: org.apache.cassandra.utils.memory.SlabPool long long float java.lang.Runnable
StackMap stack: org.apache.cassandra.utils.memory.SlabPool
2: iconst_0
StackMap locals: org.apache.cassandra.utils.memory.SlabPool long long float java.lang.Runnable
StackMap stack: org.apache.cassandra.utils.memory.SlabPool int
3: putfield org.apache.cassandra.utils.memory.SlabPool.allocateOnHeap:Z
4: .line 29
return
end local 6 // java.lang.Runnable cleaner
end local 5 // float cleanupThreshold
end local 3 // long maxOffHeapMemory
end local 1 // long maxOnHeapMemory
end local 0 // org.apache.cassandra.utils.memory.SlabPool this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/memory/SlabPool;
0 5 1 maxOnHeapMemory J
0 5 3 maxOffHeapMemory J
0 5 5 cleanupThreshold F
0 5 6 cleaner Ljava/lang/Runnable;
MethodParameters:
Name Flags
maxOnHeapMemory
maxOffHeapMemory
cleanupThreshold
cleaner
public org.apache.cassandra.utils.memory.MemtableAllocator newAllocator();
descriptor: ()Lorg/apache/cassandra/utils/memory/MemtableAllocator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 // org.apache.cassandra.utils.memory.SlabPool this
0: .line 33
new org.apache.cassandra.utils.memory.SlabAllocator
dup
aload 0 /* this */
getfield org.apache.cassandra.utils.memory.SlabPool.onHeap:Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
invokevirtual org.apache.cassandra.utils.memory.MemtablePool$SubPool.newAllocator:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
aload 0 /* this */
getfield org.apache.cassandra.utils.memory.SlabPool.offHeap:Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
invokevirtual org.apache.cassandra.utils.memory.MemtablePool$SubPool.newAllocator:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
aload 0 /* this */
getfield org.apache.cassandra.utils.memory.SlabPool.allocateOnHeap:Z
invokespecial org.apache.cassandra.utils.memory.SlabAllocator.<init>:(Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;Z)V
areturn
end local 0 // org.apache.cassandra.utils.memory.SlabPool this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/memory/SlabPool;
}
SourceFile: "SlabPool.java"
InnerClasses:
public final SubAllocator = org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator of org.apache.cassandra.utils.memory.MemtableAllocator
public SubPool = org.apache.cassandra.utils.memory.MemtablePool$SubPool of org.apache.cassandra.utils.memory.MemtablePool