public class org.apache.cassandra.utils.memory.MemtablePool$SubPool
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.memory.MemtablePool$SubPool
super_class: java.lang.Object
{
public final long limit;
descriptor: J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final float cleanThreshold;
descriptor: F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
volatile long allocated;
descriptor: J
flags: (0x0040) ACC_VOLATILE
volatile long reclaiming;
descriptor: J
flags: (0x0040) ACC_VOLATILE
volatile long nextClean;
descriptor: J
flags: (0x0040) ACC_VOLATILE
final org.apache.cassandra.utils.memory.MemtablePool this$0;
descriptor: Lorg/apache/cassandra/utils/memory/MemtablePool;
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/cassandra/utils/memory/MemtablePool;
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.utils.memory.MemtablePool$SubPool.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.utils.memory.MemtablePool, long, float);
descriptor: (Lorg/apache/cassandra/utils/memory/MemtablePool;JF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 2 start local 4 0: aload 0
aload 1
putfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.this$0:Lorg/apache/cassandra/utils/memory/MemtablePool;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
lload 2
putfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.limit:J
3: aload 0
fload 4
putfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.cleanThreshold:F
4: return
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
0 5 2 limit J
0 5 4 cleanThreshold F
MethodParameters:
Name Flags
this$0 final
limit
cleanThreshold
boolean needsCleaning();
descriptor: ()Z
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.utils.memory.MemtablePool$SubPool.used:()J
aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.nextClean:J
lcmp
ifle 1
aload 0
invokevirtual org.apache.cassandra.utils.memory.MemtablePool$SubPool.updateNextClean:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
void maybeClean();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.utils.memory.MemtablePool$SubPool.needsCleaning:()Z
ifeq 2
aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.this$0:Lorg/apache/cassandra/utils/memory/MemtablePool;
getfield org.apache.cassandra.utils.memory.MemtablePool.cleaner:Lorg/apache/cassandra/utils/memory/MemtableCleanerThread;
ifnull 2
1: aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.this$0:Lorg/apache/cassandra/utils/memory/MemtablePool;
getfield org.apache.cassandra.utils.memory.MemtablePool.cleaner:Lorg/apache/cassandra/utils/memory/MemtableCleanerThread;
invokevirtual org.apache.cassandra.utils.memory.MemtableCleanerThread.trigger:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
private boolean updateNextClean();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.nextClean:J
lstore 1
start local 1 1: aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.reclaiming:J
lstore 3
start local 3 2: lload 3
aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.limit:J
l2f
aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.cleanThreshold:F
fmul
f2l
ladd
lstore 5
start local 5 3: lload 1
lload 5
lcmp
ifeq 4
getstatic org.apache.cassandra.utils.memory.MemtablePool.nextCleanUpdater:Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;
aload 0
lload 1
lload 5
invokevirtual java.util.concurrent.atomic.AtomicLongFieldUpdater.compareAndSet:(Ljava/lang/Object;JJ)Z
ifeq 0
4: StackMap locals: long long long
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.utils.memory.MemtablePool$SubPool.used:()J
lload 5
lcmp
ifle 5
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
1 6 1 current J
2 6 3 reclaiming J
3 6 5 next J
boolean tryAllocate(long);
descriptor: (J)Z
flags: (0x0000)
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.allocated:J
dup2
lstore 3
start local 3 1: lload 1
ladd
aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.limit:J
lcmp
ifle 3
2: iconst_0
ireturn
3: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.utils.memory.MemtablePool.allocatedUpdater:Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;
aload 0
lload 3
lload 3
lload 1
ladd
invokevirtual java.util.concurrent.atomic.AtomicLongFieldUpdater.compareAndSet:(Ljava/lang/Object;JJ)Z
ifeq 0
4: iconst_1
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
0 5 1 size J
1 5 3 cur J
MethodParameters:
Name Flags
size
private void adjustAllocated(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.allocated:J
lstore 3
start local 3 1: getstatic org.apache.cassandra.utils.memory.MemtablePool.allocatedUpdater:Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;
aload 0
lload 3
lload 3
lload 1
ladd
invokevirtual java.util.concurrent.atomic.AtomicLongFieldUpdater.compareAndSet:(Ljava/lang/Object;JJ)Z
ifeq 0
2: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
0 3 1 size J
1 3 3 cur J
MethodParameters:
Name Flags
size
void allocated(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.utils.memory.MemtablePool$SubPool.$assertionsDisabled:Z
ifne 1
lload 1
lconst_0
lcmp
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifne 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual org.apache.cassandra.utils.memory.MemtablePool$SubPool.adjustAllocated:(J)V
4: aload 0
invokevirtual org.apache.cassandra.utils.memory.MemtablePool$SubPool.maybeClean:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
0 6 1 size J
MethodParameters:
Name Flags
size
void acquired(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.utils.memory.MemtablePool$SubPool.maybeClean:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
0 2 1 size J
MethodParameters:
Name Flags
size
void released(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.utils.memory.MemtablePool$SubPool.$assertionsDisabled:Z
ifne 1
lload 1
lconst_0
lcmp
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
lload 1
lneg
invokevirtual org.apache.cassandra.utils.memory.MemtablePool$SubPool.adjustAllocated:(J)V
2: aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.this$0:Lorg/apache/cassandra/utils/memory/MemtablePool;
getfield org.apache.cassandra.utils.memory.MemtablePool.hasRoom:Lorg/apache/cassandra/utils/concurrent/WaitQueue;
invokevirtual org.apache.cassandra.utils.concurrent.WaitQueue.signalAll:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
0 4 1 size J
MethodParameters:
Name Flags
size
void reclaiming(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifne 2
1: return
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.memory.MemtablePool.reclaimingUpdater:Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;
aload 0
lload 1
invokevirtual java.util.concurrent.atomic.AtomicLongFieldUpdater.addAndGet:(Ljava/lang/Object;J)J
pop2
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
0 4 1 size J
MethodParameters:
Name Flags
size
void reclaimed(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifne 2
1: return
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.memory.MemtablePool.reclaimingUpdater:Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;
aload 0
lload 1
lneg
invokevirtual java.util.concurrent.atomic.AtomicLongFieldUpdater.addAndGet:(Ljava/lang/Object;J)J
pop2
3: aload 0
invokevirtual org.apache.cassandra.utils.memory.MemtablePool$SubPool.updateNextClean:()Z
ifeq 5
aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.this$0:Lorg/apache/cassandra/utils/memory/MemtablePool;
getfield org.apache.cassandra.utils.memory.MemtablePool.cleaner:Lorg/apache/cassandra/utils/memory/MemtableCleanerThread;
ifnull 5
4: aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.this$0:Lorg/apache/cassandra/utils/memory/MemtablePool;
getfield org.apache.cassandra.utils.memory.MemtablePool.cleaner:Lorg/apache/cassandra/utils/memory/MemtableCleanerThread;
invokevirtual org.apache.cassandra.utils.memory.MemtableCleanerThread.trigger:()V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
0 6 1 size J
MethodParameters:
Name Flags
size
public long used();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.allocated:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
public float reclaimingRatio();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.reclaiming:J
l2f
aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.limit:J
l2f
fdiv
fstore 1
start local 1 1: fload 1
invokestatic java.lang.Float.isNaN:(F)Z
ifeq 3
2: fconst_0
freturn
3: StackMap locals: float
StackMap stack:
fload 1
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
1 4 1 r F
public float usedRatio();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.allocated:J
l2f
aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.limit:J
l2f
fdiv
fstore 1
start local 1 1: fload 1
invokestatic java.lang.Float.isNaN:(F)Z
ifeq 3
2: fconst_0
freturn
3: StackMap locals: float
StackMap stack:
fload 1
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
1 4 1 r F
public org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator newAllocator();
descriptor: ()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator
dup
aload 0
invokespecial org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator.<init>:(Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
public org.apache.cassandra.utils.concurrent.WaitQueue hasRoom();
descriptor: ()Lorg/apache/cassandra/utils/concurrent/WaitQueue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.this$0:Lorg/apache/cassandra/utils/memory/MemtablePool;
getfield org.apache.cassandra.utils.memory.MemtablePool.hasRoom:Lorg/apache/cassandra/utils/concurrent/WaitQueue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
public com.codahale.metrics.Timer$Context blockedTimerContext();
descriptor: ()Lcom/codahale/metrics/Timer$Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.memory.MemtablePool$SubPool.this$0:Lorg/apache/cassandra/utils/memory/MemtablePool;
getfield org.apache.cassandra.utils.memory.MemtablePool.blockedOnAllocating:Lcom/codahale/metrics/Timer;
invokevirtual com.codahale.metrics.Timer.time:()Lcom/codahale/metrics/Timer$Context;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/memory/MemtablePool$SubPool;
}
SourceFile: "MemtablePool.java"
NestHost: org.apache.cassandra.utils.memory.MemtablePool
InnerClasses:
public Context = com.codahale.metrics.Timer$Context of com.codahale.metrics.Timer
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