public class org.apache.cassandra.db.Memtable implements java.lang.Comparable<org.apache.cassandra.db.Memtable>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.Memtable
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final org.apache.cassandra.utils.memory.MemtablePool MEMORY_POOL;
descriptor: Lorg/apache/cassandra/utils/memory/MemtablePool;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final int ROW_OVERHEAD_HEAP_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.apache.cassandra.utils.memory.MemtableAllocator allocator;
descriptor: Lorg/apache/cassandra/utils/memory/MemtableAllocator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong liveDataSize;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong currentOperations;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile org.apache.cassandra.utils.concurrent.OpOrder$Barrier writeBarrier;
descriptor: Lorg/apache/cassandra/utils/concurrent/OpOrder$Barrier;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.util.concurrent.atomic.AtomicReference<org.apache.cassandra.db.commitlog.CommitLogPosition> commitLogUpperBound;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;
private java.util.concurrent.atomic.AtomicReference<org.apache.cassandra.db.commitlog.CommitLogPosition> commitLogLowerBound;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;
private final org.apache.cassandra.db.commitlog.CommitLogPosition approximateCommitLogLowerBound;
descriptor: Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.ConcurrentNavigableMap<org.apache.cassandra.db.PartitionPosition, org.apache.cassandra.db.partitions.AtomicBTreePartition> partitions;
descriptor: Ljava/util/concurrent/ConcurrentNavigableMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentNavigableMap<Lorg/apache/cassandra/db/PartitionPosition;Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;>;
public final org.apache.cassandra.db.ColumnFamilyStore cfs;
descriptor: Lorg/apache/cassandra/db/ColumnFamilyStore;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final long creationNano;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long minTimestamp;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public final org.apache.cassandra.db.ClusteringComparator initialComparator;
descriptor: Lorg/apache/cassandra/db/ClusteringComparator;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final org.apache.cassandra.db.Memtable$ColumnsCollector columnsCollector;
descriptor: Lorg/apache/cassandra/db/Memtable$ColumnsCollector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.db.Memtable$StatsCollector statsCollector;
descriptor: Lorg/apache/cassandra/db/Memtable$StatsCollector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$config$Config$MemtableAllocationType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, 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=2, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/db/Memtable;
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.cassandra.db.Memtable.$assertionsDisabled:Z
3: ldc Lorg/apache/cassandra/db/Memtable;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.db.Memtable.logger:Lorg/slf4j/Logger;
4: invokestatic org.apache.cassandra.db.Memtable.createMemtableAllocatorPool:()Lorg/apache/cassandra/utils/memory/MemtablePool;
putstatic org.apache.cassandra.db.Memtable.MEMORY_POOL:Lorg/apache/cassandra/utils/memory/MemtablePool;
5: ldc "cassandra.memtable_row_overhead_computation_step"
ldc "100000"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokestatic org.apache.cassandra.db.Memtable.estimateRowOverhead:(I)I
putstatic org.apache.cassandra.db.Memtable.ROW_OVERHEAD_HEAP_SIZE:I
return
LocalVariableTable:
Start End Slot Name Signature
private static org.apache.cassandra.utils.memory.MemtablePool createMemtableAllocatorPool();
descriptor: ()Lorg/apache/cassandra/utils/memory/MemtablePool;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=4, args_size=0
0: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getMemtableHeapSpaceInMb:()J
bipush 20
lshl
lstore 0
start local 0 1: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getMemtableOffheapSpaceInMb:()J
bipush 20
lshl
lstore 2
start local 2 2: invokestatic org.apache.cassandra.db.Memtable.$SWITCH_TABLE$org$apache$cassandra$config$Config$MemtableAllocationType:()[I
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getMemtableAllocationType:()Lorg/apache/cassandra/config/Config$MemtableAllocationType;
invokevirtual org.apache.cassandra.config.Config$MemtableAllocationType.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 3
2: 4
3: 5
4: 8
default: 9
}
3: StackMap locals: long long
StackMap stack:
new org.apache.cassandra.utils.memory.HeapPool
dup
lload 0
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getMemtableCleanupThreshold:()Ljava/lang/Float;
invokevirtual java.lang.Float.floatValue:()F
new org.apache.cassandra.db.ColumnFamilyStore$FlushLargestColumnFamily
dup
invokespecial org.apache.cassandra.db.ColumnFamilyStore$FlushLargestColumnFamily.<init>:()V
invokespecial org.apache.cassandra.utils.memory.HeapPool.<init>:(JFLjava/lang/Runnable;)V
areturn
4: StackMap locals:
StackMap stack:
new org.apache.cassandra.utils.memory.SlabPool
dup
lload 0
lconst_0
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getMemtableCleanupThreshold:()Ljava/lang/Float;
invokevirtual java.lang.Float.floatValue:()F
new org.apache.cassandra.db.ColumnFamilyStore$FlushLargestColumnFamily
dup
invokespecial org.apache.cassandra.db.ColumnFamilyStore$FlushLargestColumnFamily.<init>:()V
invokespecial org.apache.cassandra.utils.memory.SlabPool.<init>:(JJFLjava/lang/Runnable;)V
areturn
5: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.io.util.FileUtils.isCleanerAvailable:Z
ifne 7
6: new java.lang.IllegalStateException
dup
ldc "Could not free direct byte buffer: offheap_buffers is not a safe memtable_allocation_type without this ability, please adjust your config. This feature is only guaranteed to work on an Oracle JVM. Refusing to start."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
new org.apache.cassandra.utils.memory.SlabPool
dup
lload 0
lload 2
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getMemtableCleanupThreshold:()Ljava/lang/Float;
invokevirtual java.lang.Float.floatValue:()F
new org.apache.cassandra.db.ColumnFamilyStore$FlushLargestColumnFamily
dup
invokespecial org.apache.cassandra.db.ColumnFamilyStore$FlushLargestColumnFamily.<init>:()V
invokespecial org.apache.cassandra.utils.memory.SlabPool.<init>:(JJFLjava/lang/Runnable;)V
areturn
8: StackMap locals:
StackMap stack:
new org.apache.cassandra.utils.memory.NativePool
dup
lload 0
lload 2
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getMemtableCleanupThreshold:()Ljava/lang/Float;
invokevirtual java.lang.Float.floatValue:()F
new org.apache.cassandra.db.ColumnFamilyStore$FlushLargestColumnFamily
dup
invokespecial org.apache.cassandra.db.ColumnFamilyStore$FlushLargestColumnFamily.<init>:()V
invokespecial org.apache.cassandra.utils.memory.NativePool.<init>:(JJFLjava/lang/Runnable;)V
areturn
9: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 heapLimit J
2 10 2 offHeapLimit J
public int compareTo(org.apache.cassandra.db.Memtable);
descriptor: (Lorg/apache/cassandra/db/Memtable;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.Memtable.approximateCommitLogLowerBound:Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
aload 1
getfield org.apache.cassandra.db.Memtable.approximateCommitLogLowerBound:Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
invokevirtual org.apache.cassandra.db.commitlog.CommitLogPosition.compareTo:(Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Memtable;
0 1 1 that Lorg/apache/cassandra/db/Memtable;
MethodParameters:
Name Flags
that
public void <init>(java.util.concurrent.atomic.AtomicReference<org.apache.cassandra.db.commitlog.CommitLogPosition>, org.apache.cassandra.db.ColumnFamilyStore);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
lconst_0
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:(J)V
putfield org.apache.cassandra.db.Memtable.liveDataSize:Ljava/util/concurrent/atomic/AtomicLong;
2: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
lconst_0
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:(J)V
putfield org.apache.cassandra.db.Memtable.currentOperations:Ljava/util/concurrent/atomic/AtomicLong;
3: aload 0
getstatic org.apache.cassandra.db.commitlog.CommitLog.instance:Lorg/apache/cassandra/db/commitlog/CommitLog;
invokevirtual org.apache.cassandra.db.commitlog.CommitLog.getCurrentPosition:()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
putfield org.apache.cassandra.db.Memtable.approximateCommitLogLowerBound:Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
4: aload 0
new java.util.concurrent.ConcurrentSkipListMap
dup
invokespecial java.util.concurrent.ConcurrentSkipListMap.<init>:()V
putfield org.apache.cassandra.db.Memtable.partitions:Ljava/util/concurrent/ConcurrentNavigableMap;
5: aload 0
invokestatic java.lang.System.nanoTime:()J
putfield org.apache.cassandra.db.Memtable.creationNano:J
6: aload 0
ldc 9223372036854775807
putfield org.apache.cassandra.db.Memtable.minTimestamp:J
7: aload 0
new org.apache.cassandra.db.Memtable$StatsCollector
dup
invokespecial org.apache.cassandra.db.Memtable$StatsCollector.<init>:()V
putfield org.apache.cassandra.db.Memtable.statsCollector:Lorg/apache/cassandra/db/Memtable$StatsCollector;
8: aload 0
aload 2
putfield org.apache.cassandra.db.Memtable.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
9: aload 0
aload 1
putfield org.apache.cassandra.db.Memtable.commitLogLowerBound:Ljava/util/concurrent/atomic/AtomicReference;
10: aload 0
getstatic org.apache.cassandra.db.Memtable.MEMORY_POOL:Lorg/apache/cassandra/utils/memory/MemtablePool;
invokevirtual org.apache.cassandra.utils.memory.MemtablePool.newAllocator:()Lorg/apache/cassandra/utils/memory/MemtableAllocator;
putfield org.apache.cassandra.db.Memtable.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
11: aload 0
aload 2
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
putfield org.apache.cassandra.db.Memtable.initialComparator:Lorg/apache/cassandra/db/ClusteringComparator;
12: aload 0
getfield org.apache.cassandra.db.Memtable.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.scheduleFlush:()V
13: aload 0
new org.apache.cassandra.db.Memtable$ColumnsCollector
dup
aload 2
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.partitionColumns:()Lorg/apache/cassandra/db/PartitionColumns;
invokespecial org.apache.cassandra.db.Memtable$ColumnsCollector.<init>:(Lorg/apache/cassandra/db/PartitionColumns;)V
putfield org.apache.cassandra.db.Memtable.columnsCollector:Lorg/apache/cassandra/db/Memtable$ColumnsCollector;
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/cassandra/db/Memtable;
0 15 1 commitLogLowerBound Ljava/util/concurrent/atomic/AtomicReference<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;
0 15 2 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
Signature: (Ljava/util/concurrent/atomic/AtomicReference<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
MethodParameters:
Name Flags
commitLogLowerBound
cfs
public void <init>(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
lconst_0
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:(J)V
putfield org.apache.cassandra.db.Memtable.liveDataSize:Ljava/util/concurrent/atomic/AtomicLong;
2: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
lconst_0
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:(J)V
putfield org.apache.cassandra.db.Memtable.currentOperations:Ljava/util/concurrent/atomic/AtomicLong;
3: aload 0
getstatic org.apache.cassandra.db.commitlog.CommitLog.instance:Lorg/apache/cassandra/db/commitlog/CommitLog;
invokevirtual org.apache.cassandra.db.commitlog.CommitLog.getCurrentPosition:()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
putfield org.apache.cassandra.db.Memtable.approximateCommitLogLowerBound:Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
4: aload 0
new java.util.concurrent.ConcurrentSkipListMap
dup
invokespecial java.util.concurrent.ConcurrentSkipListMap.<init>:()V
putfield org.apache.cassandra.db.Memtable.partitions:Ljava/util/concurrent/ConcurrentNavigableMap;
5: aload 0
invokestatic java.lang.System.nanoTime:()J
putfield org.apache.cassandra.db.Memtable.creationNano:J
6: aload 0
ldc 9223372036854775807
putfield org.apache.cassandra.db.Memtable.minTimestamp:J
7: aload 0
new org.apache.cassandra.db.Memtable$StatsCollector
dup
invokespecial org.apache.cassandra.db.Memtable$StatsCollector.<init>:()V
putfield org.apache.cassandra.db.Memtable.statsCollector:Lorg/apache/cassandra/db/Memtable$StatsCollector;
8: aload 0
aload 1
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
putfield org.apache.cassandra.db.Memtable.initialComparator:Lorg/apache/cassandra/db/ClusteringComparator;
9: aload 0
aconst_null
putfield org.apache.cassandra.db.Memtable.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
10: aload 0
aconst_null
putfield org.apache.cassandra.db.Memtable.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
11: aload 0
new org.apache.cassandra.db.Memtable$ColumnsCollector
dup
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.partitionColumns:()Lorg/apache/cassandra/db/PartitionColumns;
invokespecial org.apache.cassandra.db.Memtable$ColumnsCollector.<init>:(Lorg/apache/cassandra/db/PartitionColumns;)V
putfield org.apache.cassandra.db.Memtable.columnsCollector:Lorg/apache/cassandra/db/Memtable$ColumnsCollector;
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/db/Memtable;
0 13 1 metadata Lorg/apache/cassandra/config/CFMetaData;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
metadata
public org.apache.cassandra.utils.memory.MemtableAllocator getAllocator();
descriptor: ()Lorg/apache/cassandra/utils/memory/MemtableAllocator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Memtable.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Memtable;
public long getLiveDataSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Memtable.liveDataSize:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Memtable;
public long getOperations();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Memtable.currentOperations:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Memtable;
public void setDiscarding(org.apache.cassandra.utils.concurrent.OpOrder$Barrier, java.util.concurrent.atomic.AtomicReference<org.apache.cassandra.db.commitlog.CommitLogPosition>);
descriptor: (Lorg/apache/cassandra/utils/concurrent/OpOrder$Barrier;Ljava/util/concurrent/atomic/AtomicReference;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.db.Memtable.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.db.Memtable.writeBarrier:Lorg/apache/cassandra/utils/concurrent/OpOrder$Barrier;
ifnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.apache.cassandra.db.Memtable.commitLogUpperBound:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
aload 1
putfield org.apache.cassandra.db.Memtable.writeBarrier:Lorg/apache/cassandra/utils/concurrent/OpOrder$Barrier;
3: aload 0
getfield org.apache.cassandra.db.Memtable.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.setDiscarding:()V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/Memtable;
0 5 1 writeBarrier Lorg/apache/cassandra/utils/concurrent/OpOrder$Barrier;
0 5 2 commitLogUpperBound Ljava/util/concurrent/atomic/AtomicReference<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;
Signature: (Lorg/apache/cassandra/utils/concurrent/OpOrder$Barrier;Ljava/util/concurrent/atomic/AtomicReference<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;)V
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
writeBarrier
commitLogUpperBound
void setDiscarded();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Memtable.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.setDiscarded:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/Memtable;
public boolean accepts(org.apache.cassandra.utils.concurrent.OpOrder$Group, org.apache.cassandra.db.commitlog.CommitLogPosition);
descriptor: (Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.db.Memtable.writeBarrier:Lorg/apache/cassandra/utils/concurrent/OpOrder$Barrier;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals: org.apache.cassandra.utils.concurrent.OpOrder$Barrier
StackMap stack:
aload 3
aload 1
invokevirtual org.apache.cassandra.utils.concurrent.OpOrder$Barrier.isAfter:(Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;)Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.Memtable.commitLogUpperBound:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.commitlog.CommitLogPosition
astore 4
start local 4 8: aload 4
instanceof org.apache.cassandra.db.Memtable$LastCommitLogPosition
ifeq 11
9: aload 4
aload 2
invokevirtual org.apache.cassandra.db.commitlog.CommitLogPosition.compareTo:(Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)I
iflt 10
iconst_1
ireturn
StackMap locals: org.apache.cassandra.db.commitlog.CommitLogPosition
StackMap stack:
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 4
ifnull 13
aload 4
aload 2
invokevirtual org.apache.cassandra.db.commitlog.CommitLogPosition.compareTo:(Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)I
iflt 13
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.Memtable.commitLogUpperBound:Ljava/util/concurrent/atomic/AtomicReference;
aload 4
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 7
14: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/cassandra/db/Memtable;
0 15 1 opGroup Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
0 15 2 commitLogPosition Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
1 15 3 barrier Lorg/apache/cassandra/utils/concurrent/OpOrder$Barrier;
8 15 4 currentLast Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
MethodParameters:
Name Flags
opGroup
commitLogPosition
public org.apache.cassandra.db.commitlog.CommitLogPosition getCommitLogLowerBound();
descriptor: ()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Memtable.commitLogLowerBound:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.commitlog.CommitLogPosition
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Memtable;
public org.apache.cassandra.db.commitlog.CommitLogPosition getCommitLogUpperBound();
descriptor: ()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Memtable.commitLogUpperBound:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.commitlog.CommitLogPosition
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Memtable;
public boolean isLive();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Memtable.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.isLive:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Memtable;
public boolean isClean();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Memtable.partitions:Ljava/util/concurrent/ConcurrentNavigableMap;
invokeinterface java.util.concurrent.ConcurrentNavigableMap.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Memtable;
public boolean mayContainDataBefore(org.apache.cassandra.db.commitlog.CommitLogPosition);
descriptor: (Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.Memtable.approximateCommitLogLowerBound:Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
aload 1
invokevirtual org.apache.cassandra.db.commitlog.CommitLogPosition.compareTo:(Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)I
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/Memtable;
0 2 1 position Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
MethodParameters:
Name Flags
position
public boolean isExpired();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Memtable.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.memtableFlushPeriodInMs:I
istore 1
start local 1 1: iload 1
ifle 2
invokestatic java.lang.System.nanoTime:()J
aload 0
getfield org.apache.cassandra.db.Memtable.creationNano:J
lsub
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
iload 1
i2l
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
lcmp
iflt 2
iconst_1
ireturn
StackMap locals: int
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/Memtable;
1 3 1 period I
long put(org.apache.cassandra.db.partitions.PartitionUpdate, org.apache.cassandra.index.transactions.UpdateTransaction, org.apache.cassandra.utils.concurrent.OpOrder$Group);
descriptor: (Lorg/apache/cassandra/db/partitions/PartitionUpdate;Lorg/apache/cassandra/index/transactions/UpdateTransaction;Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;)J
flags: (0x0000)
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.cassandra.db.Memtable.partitions:Ljava/util/concurrent/ConcurrentNavigableMap;
aload 1
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate.partitionKey:()Lorg/apache/cassandra/db/DecoratedKey;
invokeinterface java.util.concurrent.ConcurrentNavigableMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.db.partitions.AtomicBTreePartition
astore 4
start local 4 1: lconst_0
lstore 5
start local 5 2: aload 4
ifnonnull 11
3: aload 0
getfield org.apache.cassandra.db.Memtable.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
aload 1
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate.partitionKey:()Lorg/apache/cassandra/db/DecoratedKey;
aload 3
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.clone:(Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;)Lorg/apache/cassandra/db/DecoratedKey;
astore 7
start local 7 4: new org.apache.cassandra.db.partitions.AtomicBTreePartition
dup
aload 0
getfield org.apache.cassandra.db.Memtable.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
aload 7
aload 0
getfield org.apache.cassandra.db.Memtable.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
invokespecial org.apache.cassandra.db.partitions.AtomicBTreePartition.<init>:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/utils/memory/MemtableAllocator;)V
astore 8
start local 8 5: aload 0
getfield org.apache.cassandra.db.Memtable.partitions:Ljava/util/concurrent/ConcurrentNavigableMap;
aload 7
aload 8
invokeinterface java.util.concurrent.ConcurrentNavigableMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.db.partitions.AtomicBTreePartition
astore 4
6: aload 4
ifnonnull 11
7: aload 8
astore 4
8: aload 7
invokevirtual org.apache.cassandra.db.DecoratedKey.getToken:()Lorg/apache/cassandra/dht/Token;
invokevirtual org.apache.cassandra.dht.Token.getHeapSize:()J
getstatic org.apache.cassandra.db.Memtable.ROW_OVERHEAD_HEAP_SIZE:I
i2l
ladd
l2i
istore 9
start local 9 9: aload 0
getfield org.apache.cassandra.db.Memtable.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.onHeap:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
iload 9
i2l
aload 3
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator.allocate:(JLorg/apache/cassandra/utils/concurrent/OpOrder$Group;)V
10: ldc 8
lstore 5
end local 9 end local 8 end local 7 11: StackMap locals: org.apache.cassandra.db.partitions.AtomicBTreePartition long
StackMap stack:
aload 4
aload 1
aload 3
aload 2
invokevirtual org.apache.cassandra.db.partitions.AtomicBTreePartition.addAllWithSizeDelta:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;Lorg/apache/cassandra/index/transactions/UpdateTransaction;)[J
astore 7
start local 7 12: aload 0
aload 0
getfield org.apache.cassandra.db.Memtable.minTimestamp:J
aload 4
invokevirtual org.apache.cassandra.db.partitions.AtomicBTreePartition.stats:()Lorg/apache/cassandra/db/rows/EncodingStats;
getfield org.apache.cassandra.db.rows.EncodingStats.minTimestamp:J
invokestatic java.lang.Math.min:(JJ)J
putfield org.apache.cassandra.db.Memtable.minTimestamp:J
13: aload 0
getfield org.apache.cassandra.db.Memtable.liveDataSize:Ljava/util/concurrent/atomic/AtomicLong;
lload 5
aload 7
iconst_0
laload
ladd
invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
pop2
14: aload 0
getfield org.apache.cassandra.db.Memtable.columnsCollector:Lorg/apache/cassandra/db/Memtable$ColumnsCollector;
aload 1
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate.columns:()Lorg/apache/cassandra/db/PartitionColumns;
invokevirtual org.apache.cassandra.db.Memtable$ColumnsCollector.update:(Lorg/apache/cassandra/db/PartitionColumns;)V
15: aload 0
getfield org.apache.cassandra.db.Memtable.statsCollector:Lorg/apache/cassandra/db/Memtable$StatsCollector;
aload 1
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate.stats:()Lorg/apache/cassandra/db/rows/EncodingStats;
invokevirtual org.apache.cassandra.db.Memtable$StatsCollector.update:(Lorg/apache/cassandra/db/rows/EncodingStats;)V
16: aload 0
getfield org.apache.cassandra.db.Memtable.currentOperations:Ljava/util/concurrent/atomic/AtomicLong;
aload 1
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate.operationCount:()I
i2l
invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
pop2
17: aload 7
iconst_1
laload
lreturn
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 18 0 this Lorg/apache/cassandra/db/Memtable;
0 18 1 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
0 18 2 indexer Lorg/apache/cassandra/index/transactions/UpdateTransaction;
0 18 3 opGroup Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
1 18 4 previous Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;
2 18 5 initialSize J
4 11 7 cloneKey Lorg/apache/cassandra/db/DecoratedKey;
5 11 8 empty Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;
9 11 9 overhead I
12 18 7 pair [J
MethodParameters:
Name Flags
update
indexer
opGroup
public int partitionCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Memtable.partitions:Ljava/util/concurrent/ConcurrentNavigableMap;
invokeinterface java.util.concurrent.ConcurrentNavigableMap.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Memtable;
public java.util.List<org.apache.cassandra.db.Memtable$FlushRunnable> flushRunnables(org.apache.cassandra.db.lifecycle.LifecycleTransaction);
descriptor: (Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.db.Memtable.createFlushRunnables:(Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Memtable;
0 1 1 txn Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
Signature: (Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;)Ljava/util/List<Lorg/apache/cassandra/db/Memtable$FlushRunnable;>;
MethodParameters:
Name Flags
txn
private java.util.List<org.apache.cassandra.db.Memtable$FlushRunnable> createFlushRunnables(org.apache.cassandra.db.lifecycle.LifecycleTransaction);
descriptor: (Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.Memtable.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDiskBoundaries:()Lorg/apache/cassandra/db/DiskBoundaries;
astore 2
start local 2 1: aload 2
getfield org.apache.cassandra.db.DiskBoundaries.positions:Lcom/google/common/collect/ImmutableList;
astore 3
start local 3 2: aload 2
getfield org.apache.cassandra.db.DiskBoundaries.directories:Ljava/util/List;
astore 4
start local 4 3: aload 3
ifnonnull 5
4: new org.apache.cassandra.db.Memtable$FlushRunnable
dup
aload 0
aload 1
invokespecial org.apache.cassandra.db.Memtable$FlushRunnable.<init>:(Lorg/apache/cassandra/db/Memtable;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;)V
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
5: StackMap locals: org.apache.cassandra.db.DiskBoundaries java.util.List java.util.List
StackMap stack:
new java.util.ArrayList
dup
aload 3
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 5
start local 5 6: aload 0
getfield org.apache.cassandra.db.Memtable.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getPartitioner:()Lorg/apache/cassandra/dht/IPartitioner;
invokeinterface org.apache.cassandra.dht.IPartitioner.getMinimumToken:()Lorg/apache/cassandra/dht/Token;
invokevirtual org.apache.cassandra.dht.Token.minKeyBound:()Lorg/apache/cassandra/dht/Token$KeyBound;
astore 6
start local 6 7: iconst_0
istore 7
start local 7 8: goto 13
9: StackMap locals: java.util.List org.apache.cassandra.db.PartitionPosition int
StackMap stack:
aload 3
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.db.PartitionPosition
astore 8
start local 8 10: aload 5
new org.apache.cassandra.db.Memtable$FlushRunnable
dup
aload 0
aload 6
aload 8
aload 4
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.db.Directories$DataDirectory
aload 1
invokespecial org.apache.cassandra.db.Memtable$FlushRunnable.<init>:(Lorg/apache/cassandra/db/Memtable;Lorg/apache/cassandra/db/PartitionPosition;Lorg/apache/cassandra/db/PartitionPosition;Lorg/apache/cassandra/db/Directories$DataDirectory;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: aload 8
astore 6
end local 8 12: iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
aload 3
invokeinterface java.util.List.size:()I
if_icmplt 9
end local 7 14: aload 5
15: areturn
16: StackMap locals: org.apache.cassandra.db.Memtable org.apache.cassandra.db.lifecycle.LifecycleTransaction org.apache.cassandra.db.DiskBoundaries java.util.List java.util.List java.util.List org.apache.cassandra.db.PartitionPosition
StackMap stack: java.lang.Throwable
astore 7
start local 7 17: aload 0
aload 5
aload 7
invokevirtual org.apache.cassandra.db.Memtable.abortRunnables:(Ljava/util/List;Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokestatic com.google.common.base.Throwables.propagate:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/cassandra/db/Memtable;
0 18 1 txn Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
1 18 2 diskBoundaries Lorg/apache/cassandra/db/DiskBoundaries;
2 18 3 boundaries Ljava/util/List<Lorg/apache/cassandra/db/PartitionPosition;>;
3 18 4 locations Ljava/util/List<Lorg/apache/cassandra/db/Directories$DataDirectory;>;
6 18 5 runnables Ljava/util/List<Lorg/apache/cassandra/db/Memtable$FlushRunnable;>;
7 18 6 rangeStart Lorg/apache/cassandra/db/PartitionPosition;
8 14 7 i I
10 12 8 t Lorg/apache/cassandra/db/PartitionPosition;
17 18 7 e Ljava/lang/Throwable;
Exception table:
from to target type
7 15 16 Class java.lang.Throwable
Signature: (Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;)Ljava/util/List<Lorg/apache/cassandra/db/Memtable$FlushRunnable;>;
MethodParameters:
Name Flags
txn
public java.lang.Throwable abortRunnables(java.util.List<org.apache.cassandra.db.Memtable$FlushRunnable>, java.lang.Throwable);
descriptor: (Ljava/util/List;Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 5
1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.db.Memtable java.util.List java.lang.Throwable top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Memtable$FlushRunnable
astore 3
start local 3 3: aload 3
getfield org.apache.cassandra.db.Memtable$FlushRunnable.writer:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
aload 2
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.abort:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 2
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: StackMap locals: org.apache.cassandra.db.Memtable java.util.List java.lang.Throwable
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/Memtable;
0 6 1 runnables Ljava/util/List<Lorg/apache/cassandra/db/Memtable$FlushRunnable;>;
0 6 2 t Ljava/lang/Throwable;
3 4 3 runnable Lorg/apache/cassandra/db/Memtable$FlushRunnable;
Signature: (Ljava/util/List<Lorg/apache/cassandra/db/Memtable$FlushRunnable;>;Ljava/lang/Throwable;)Ljava/lang/Throwable;
MethodParameters:
Name Flags
runnables
t
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "Memtable-%s@%s(%s serialized bytes, %s ops, %.0f%%/%.0f%% of on/off-heap limit)"
bipush 6
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield org.apache.cassandra.db.Memtable.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.db.Memtable.liveDataSize:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
invokestatic org.apache.cassandra.utils.FBUtilities.prettyPrintMemory:(J)Ljava/lang/String;
aastore
dup
iconst_3
aload 0
getfield org.apache.cassandra.db.Memtable.currentOperations:Ljava/util/concurrent/atomic/AtomicLong;
aastore
dup
iconst_4
2: ldc 100.0
aload 0
getfield org.apache.cassandra.db.Memtable.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.onHeap:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator.ownershipRatio:()F
fmul
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
aastore
dup
iconst_5
ldc 100.0
aload 0
getfield org.apache.cassandra.db.Memtable.allocator:Lorg/apache/cassandra/utils/memory/MemtableAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.offHeap:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator.ownershipRatio:()F
fmul
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/Memtable;
public org.apache.cassandra.db.Memtable$MemtableUnfilteredPartitionIterator makePartitionIterator(org.apache.cassandra.db.filter.ColumnFilter, org.apache.cassandra.db.DataRange, boolean);
descriptor: (Lorg/apache/cassandra/db/filter/ColumnFilter;Lorg/apache/cassandra/db/DataRange;Z)Lorg/apache/cassandra/db/Memtable$MemtableUnfilteredPartitionIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.apache.cassandra.db.DataRange.keyRange:()Lorg/apache/cassandra/dht/AbstractBounds;
astore 4
start local 4 1: aload 4
getfield org.apache.cassandra.dht.AbstractBounds.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.db.PartitionPosition
invokeinterface org.apache.cassandra.db.PartitionPosition.isMinimum:()Z
istore 5
start local 5 2: aload 4
getfield org.apache.cassandra.dht.AbstractBounds.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.db.PartitionPosition
invokeinterface org.apache.cassandra.db.PartitionPosition.isMinimum:()Z
istore 6
start local 6 3: aload 4
instanceof org.apache.cassandra.dht.Bounds
istore 7
start local 7 4: iload 7
ifne 5
aload 4
instanceof org.apache.cassandra.dht.IncludingExcludingBounds
ifne 5
iconst_0
goto 6
StackMap locals: org.apache.cassandra.db.Memtable org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.DataRange int org.apache.cassandra.dht.AbstractBounds int int int
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: istore 8
start local 8 7: iload 7
ifne 8
aload 4
instanceof org.apache.cassandra.dht.Range
ifne 8
iconst_0
goto 9
StackMap locals: int
StackMap stack:
8: iconst_1
StackMap locals:
StackMap stack: int
9: istore 9
start local 9 10: iload 5
ifeq 15
11: iload 6
ifeq 12
aload 0
getfield org.apache.cassandra.db.Memtable.partitions:Ljava/util/concurrent/ConcurrentNavigableMap;
goto 13
StackMap locals: int
StackMap stack:
12: aload 0
getfield org.apache.cassandra.db.Memtable.partitions:Ljava/util/concurrent/ConcurrentNavigableMap;
aload 4
getfield org.apache.cassandra.dht.AbstractBounds.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.db.PartitionPosition
iload 9
invokeinterface java.util.concurrent.ConcurrentNavigableMap.headMap:(Ljava/lang/Object;Z)Ljava/util/concurrent/ConcurrentNavigableMap;
StackMap locals:
StackMap stack: java.util.concurrent.ConcurrentNavigableMap
13: astore 10
start local 10 14: goto 19
end local 10 15: StackMap locals:
StackMap stack:
iload 6
ifeq 17
16: aload 0
getfield org.apache.cassandra.db.Memtable.partitions:Ljava/util/concurrent/ConcurrentNavigableMap;
aload 4
getfield org.apache.cassandra.dht.AbstractBounds.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.db.PartitionPosition
iload 8
invokeinterface java.util.concurrent.ConcurrentNavigableMap.tailMap:(Ljava/lang/Object;Z)Ljava/util/concurrent/ConcurrentNavigableMap;
goto 18
17: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.Memtable.partitions:Ljava/util/concurrent/ConcurrentNavigableMap;
aload 4
getfield org.apache.cassandra.dht.AbstractBounds.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.db.PartitionPosition
iload 8
aload 4
getfield org.apache.cassandra.dht.AbstractBounds.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.db.PartitionPosition
iload 9
invokeinterface java.util.concurrent.ConcurrentNavigableMap.subMap:(Ljava/lang/Object;ZLjava/lang/Object;Z)Ljava/util/concurrent/ConcurrentNavigableMap;
18: StackMap locals:
StackMap stack: java.util.concurrent.ConcurrentNavigableMap
astore 10
start local 10 19: StackMap locals: java.util.Map
StackMap stack:
ldc 2147483647
istore 11
start local 11 20: aload 0
getfield org.apache.cassandra.db.Memtable.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getCompactionStrategyManager:()Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.onlyPurgeRepairedTombstones:()Z
ifeq 22
21: aload 0
aload 10
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokevirtual org.apache.cassandra.db.Memtable.findMinLocalDeletionTime:(Ljava/util/Iterator;)I
istore 11
22: StackMap locals: int
StackMap stack:
aload 10
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 12
start local 12 23: new org.apache.cassandra.db.Memtable$MemtableUnfilteredPartitionIterator
dup
aload 0
getfield org.apache.cassandra.db.Memtable.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 12
iload 3
iload 11
aload 1
aload 2
invokespecial org.apache.cassandra.db.Memtable$MemtableUnfilteredPartitionIterator.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Ljava/util/Iterator;ZILorg/apache/cassandra/db/filter/ColumnFilter;Lorg/apache/cassandra/db/DataRange;)V
areturn
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 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/cassandra/db/Memtable;
0 24 1 columnFilter Lorg/apache/cassandra/db/filter/ColumnFilter;
0 24 2 dataRange Lorg/apache/cassandra/db/DataRange;
0 24 3 isForThrift Z
1 24 4 keyRange Lorg/apache/cassandra/dht/AbstractBounds<Lorg/apache/cassandra/db/PartitionPosition;>;
2 24 5 startIsMin Z
3 24 6 stopIsMin Z
4 24 7 isBound Z
7 24 8 includeStart Z
10 24 9 includeStop Z
14 15 10 subMap Ljava/util/Map<Lorg/apache/cassandra/db/PartitionPosition;Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;>;
19 24 10 subMap Ljava/util/Map<Lorg/apache/cassandra/db/PartitionPosition;Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;>;
20 24 11 minLocalDeletionTime I
23 24 12 iter Ljava/util/Iterator<Ljava/util/Map$Entry<Lorg/apache/cassandra/db/PartitionPosition;Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;>;>;
MethodParameters:
Name Flags
columnFilter final
dataRange final
isForThrift final
private int findMinLocalDeletionTime(java.util.Iterator<java.util.Map$Entry<org.apache.cassandra.db.PartitionPosition, org.apache.cassandra.db.partitions.AtomicBTreePartition>>);
descriptor: (Ljava/util/Iterator;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: ldc 2147483647
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 3: iload 2
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.partitions.AtomicBTreePartition
invokevirtual org.apache.cassandra.db.partitions.AtomicBTreePartition.stats:()Lorg/apache/cassandra/db/rows/EncodingStats;
getfield org.apache.cassandra.db.rows.EncodingStats.minLocalDeletionTime:I
invokestatic java.lang.Math.min:(II)I
istore 2
end local 3 4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/Memtable;
0 6 1 iterator Ljava/util/Iterator<Ljava/util/Map$Entry<Lorg/apache/cassandra/db/PartitionPosition;Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;>;>;
1 6 2 minLocalDeletionTime I
3 4 3 entry Ljava/util/Map$Entry<Lorg/apache/cassandra/db/PartitionPosition;Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;>;
Signature: (Ljava/util/Iterator<Ljava/util/Map$Entry<Lorg/apache/cassandra/db/PartitionPosition;Lorg/apache/cassandra/db/partitions/AtomicBTreePartition;>;>;)I
MethodParameters:
Name Flags
iterator
public org.apache.cassandra.db.partitions.Partition getPartition(org.apache.cassandra.db.DecoratedKey);
descriptor: (Lorg/apache/cassandra/db/DecoratedKey;)Lorg/apache/cassandra/db/partitions/Partition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.Memtable.partitions:Ljava/util/concurrent/ConcurrentNavigableMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentNavigableMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.db.partitions.Partition
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Memtable;
0 1 1 key Lorg/apache/cassandra/db/DecoratedKey;
MethodParameters:
Name Flags
key
public long getMinTimestamp();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Memtable.minTimestamp:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Memtable;
public void makeUnflushable();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Memtable.liveDataSize:Ljava/util/concurrent/atomic/AtomicLong;
ldc 1125899906842624
invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
pop2
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/Memtable;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
private static int estimateRowOverhead(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=10, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new org.apache.cassandra.utils.concurrent.OpOrder
dup
invokespecial org.apache.cassandra.utils.concurrent.OpOrder.<init>:()V
invokevirtual org.apache.cassandra.utils.concurrent.OpOrder.start:()Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
astore 3
start local 3 2: getstatic org.apache.cassandra.db.Memtable.MEMORY_POOL:Lorg/apache/cassandra/utils/memory/MemtablePool;
invokevirtual org.apache.cassandra.utils.memory.MemtablePool.newAllocator:()Lorg/apache/cassandra/utils/memory/MemtableAllocator;
astore 5
start local 5 3: new java.util.concurrent.ConcurrentSkipListMap
dup
invokespecial java.util.concurrent.ConcurrentSkipListMap.<init>:()V
astore 6
start local 6 4: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 7
start local 7 5: iconst_0
istore 8
start local 8 6: goto 9
7: StackMap locals: int java.lang.Throwable java.lang.Throwable org.apache.cassandra.utils.concurrent.OpOrder$Group top org.apache.cassandra.utils.memory.MemtableAllocator java.util.concurrent.ConcurrentNavigableMap java.lang.Object int
StackMap stack:
aload 6
aload 5
new org.apache.cassandra.db.BufferDecoratedKey
dup
new org.apache.cassandra.dht.Murmur3Partitioner$LongToken
dup
iload 8
i2l
invokespecial org.apache.cassandra.dht.Murmur3Partitioner$LongToken.<init>:(J)V
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
invokespecial org.apache.cassandra.db.BufferDecoratedKey.<init>:(Lorg/apache/cassandra/dht/Token;Ljava/nio/ByteBuffer;)V
aload 3
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.clone:(Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;)Lorg/apache/cassandra/db/DecoratedKey;
aload 7
invokeinterface java.util.concurrent.ConcurrentNavigableMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: iinc 8 1
StackMap locals:
StackMap stack:
9: iload 8
iload 0
if_icmplt 7
end local 8 10: aload 6
invokestatic org.apache.cassandra.utils.ObjectSizes.measureDeep:(Ljava/lang/Object;)J
l2d
iload 0
i2d
ddiv
dstore 8
start local 8 11: dload 8
dload 8
invokestatic java.lang.Math.floor:(D)D
dsub
ldc 0.05
dcmpg
ifge 12
dload 8
invokestatic java.lang.Math.floor:(D)D
goto 13
StackMap locals: int java.lang.Throwable java.lang.Throwable org.apache.cassandra.utils.concurrent.OpOrder$Group top org.apache.cassandra.utils.memory.MemtableAllocator java.util.concurrent.ConcurrentNavigableMap java.lang.Object double
StackMap stack:
12: dload 8
invokestatic java.lang.Math.ceil:(D)D
StackMap locals:
StackMap stack: double
13: d2i
istore 4
start local 4 14: iload 4
i2l
new org.apache.cassandra.dht.Murmur3Partitioner$LongToken
dup
lconst_0
invokespecial org.apache.cassandra.dht.Murmur3Partitioner$LongToken.<init>:(J)V
invokestatic org.apache.cassandra.utils.ObjectSizes.measureDeep:(Ljava/lang/Object;)J
lsub
l2i
istore 4
15: iload 4
i2l
getstatic org.apache.cassandra.db.partitions.AtomicBTreePartition.EMPTY_SIZE:J
ladd
l2i
istore 4
16: aload 5
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.setDiscarding:()V
17: aload 5
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.setDiscarded:()V
18: iload 4
19: aload 3
ifnull 20
aload 3
invokevirtual org.apache.cassandra.utils.concurrent.OpOrder$Group.close:()V
20: StackMap locals: int java.lang.Throwable java.lang.Throwable org.apache.cassandra.utils.concurrent.OpOrder$Group int org.apache.cassandra.utils.memory.MemtableAllocator java.util.concurrent.ConcurrentNavigableMap java.lang.Object double
StackMap stack: int
ireturn
end local 8 end local 7 end local 6 end local 5 end local 4 StackMap locals: int java.lang.Throwable java.lang.Throwable org.apache.cassandra.utils.concurrent.OpOrder$Group
StackMap stack: java.lang.Throwable
21: astore 1
22: aload 3
ifnull 23
aload 3
invokevirtual org.apache.cassandra.utils.concurrent.OpOrder$Group.close:()V
end local 3 StackMap locals:
StackMap stack:
23: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 2
aload 1
ifnonnull 25
aload 2
astore 1
goto 26
StackMap locals:
StackMap stack:
25: aload 1
aload 2
if_acmpeq 26
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
26: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 count I
2 23 3 group Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
14 21 4 rowOverhead I
3 21 5 allocator Lorg/apache/cassandra/utils/memory/MemtableAllocator;
4 21 6 partitions Ljava/util/concurrent/ConcurrentNavigableMap<Lorg/apache/cassandra/db/PartitionPosition;Ljava/lang/Object;>;
5 21 7 val Ljava/lang/Object;
6 10 8 i I
11 21 8 avgSize D
Exception table:
from to target type
2 19 21 any
1 20 24 any
21 24 24 any
MethodParameters:
Name Flags
count final
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.apache.cassandra.db.Memtable
invokevirtual org.apache.cassandra.db.Memtable.compareTo:(Lorg/apache/cassandra/db/Memtable;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
static int[] $SWITCH_TABLE$org$apache$cassandra$config$Config$MemtableAllocationType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.db.Memtable.$SWITCH_TABLE$org$apache$cassandra$config$Config$MemtableAllocationType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.config.Config$MemtableAllocationType.values:()[Lorg/apache/cassandra/config/Config$MemtableAllocationType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.config.Config$MemtableAllocationType.heap_buffers:Lorg/apache/cassandra/config/Config$MemtableAllocationType;
invokevirtual org.apache.cassandra.config.Config$MemtableAllocationType.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.apache.cassandra.config.Config$MemtableAllocationType.offheap_buffers:Lorg/apache/cassandra/config/Config$MemtableAllocationType;
invokevirtual org.apache.cassandra.config.Config$MemtableAllocationType.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.cassandra.config.Config$MemtableAllocationType.offheap_objects:Lorg/apache/cassandra/config/Config$MemtableAllocationType;
invokevirtual org.apache.cassandra.config.Config$MemtableAllocationType.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.apache.cassandra.config.Config$MemtableAllocationType.unslabbed_heap_buffers:Lorg/apache/cassandra/config/Config$MemtableAllocationType;
invokevirtual org.apache.cassandra.config.Config$MemtableAllocationType.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.apache.cassandra.db.Memtable.$SWITCH_TABLE$org$apache$cassandra$config$Config$MemtableAllocationType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lorg/apache/cassandra/db/Memtable;>;
SourceFile: "Memtable.java"
NestMembers:
org.apache.cassandra.db.Memtable$ColumnsCollector org.apache.cassandra.db.Memtable$FlushRunnable org.apache.cassandra.db.Memtable$LastCommitLogPosition org.apache.cassandra.db.Memtable$MemtableUnfilteredPartitionIterator org.apache.cassandra.db.Memtable$StatsCollector
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public final MemtableAllocationType = org.apache.cassandra.config.Config$MemtableAllocationType of org.apache.cassandra.config.Config
public FlushLargestColumnFamily = org.apache.cassandra.db.ColumnFamilyStore$FlushLargestColumnFamily of org.apache.cassandra.db.ColumnFamilyStore
public DataDirectory = org.apache.cassandra.db.Directories$DataDirectory of org.apache.cassandra.db.Directories
private ColumnsCollector = org.apache.cassandra.db.Memtable$ColumnsCollector of org.apache.cassandra.db.Memtable
FlushRunnable = org.apache.cassandra.db.Memtable$FlushRunnable of org.apache.cassandra.db.Memtable
public final LastCommitLogPosition = org.apache.cassandra.db.Memtable$LastCommitLogPosition of org.apache.cassandra.db.Memtable
public MemtableUnfilteredPartitionIterator = org.apache.cassandra.db.Memtable$MemtableUnfilteredPartitionIterator of org.apache.cassandra.db.Memtable
private StatsCollector = org.apache.cassandra.db.Memtable$StatsCollector of org.apache.cassandra.db.Memtable
public LongToken = org.apache.cassandra.dht.Murmur3Partitioner$LongToken of org.apache.cassandra.dht.Murmur3Partitioner
public KeyBound = org.apache.cassandra.dht.Token$KeyBound of org.apache.cassandra.dht.Token
public final Barrier = org.apache.cassandra.utils.concurrent.OpOrder$Barrier of org.apache.cassandra.utils.concurrent.OpOrder
public final Group = org.apache.cassandra.utils.concurrent.OpOrder$Group of org.apache.cassandra.utils.concurrent.OpOrder
public final SubAllocator = org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator of org.apache.cassandra.utils.memory.MemtableAllocator