public final class org.apache.cassandra.utils.memory.ContextAllocator extends org.apache.cassandra.utils.memory.AbstractAllocator
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.utils.memory.ContextAllocator
super_class: org.apache.cassandra.utils.memory.AbstractAllocator
{
private final org.apache.cassandra.utils.concurrent.OpOrder$Group opGroup;
descriptor: Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.utils.memory.MemtableBufferAllocator allocator;
descriptor: Lorg/apache/cassandra/utils/memory/MemtableBufferAllocator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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/ContextAllocator;
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.ContextAllocator.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.utils.concurrent.OpOrder$Group, org.apache.cassandra.utils.memory.MemtableBufferAllocator);
descriptor: (Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;Lorg/apache/cassandra/utils/memory/MemtableBufferAllocator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.apache.cassandra.utils.memory.AbstractAllocator.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.utils.memory.ContextAllocator.opGroup:Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
2: aload 0
aload 2
putfield org.apache.cassandra.utils.memory.ContextAllocator.allocator:Lorg/apache/cassandra/utils/memory/MemtableBufferAllocator;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/memory/ContextAllocator;
0 4 1 opGroup Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
0 4 2 allocator Lorg/apache/cassandra/utils/memory/MemtableBufferAllocator;
MethodParameters:
Name Flags
opGroup
allocator
public java.nio.ByteBuffer clone(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.utils.memory.ContextAllocator.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 3
2: getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual org.apache.cassandra.utils.memory.ContextAllocator.allocate:(I)Ljava/nio/ByteBuffer;
astore 2
start local 2 4: aload 2
invokevirtual java.nio.ByteBuffer.mark:()Ljava/nio/Buffer;
pop
5: aload 2
aload 1
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
6: aload 2
invokevirtual java.nio.ByteBuffer.reset:()Ljava/nio/Buffer;
pop
7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/utils/memory/ContextAllocator;
0 8 1 buffer Ljava/nio/ByteBuffer;
4 8 2 cloned Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public java.nio.ByteBuffer allocate(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.memory.ContextAllocator.allocator:Lorg/apache/cassandra/utils/memory/MemtableBufferAllocator;
iload 1
aload 0
getfield org.apache.cassandra.utils.memory.ContextAllocator.opGroup:Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
invokevirtual org.apache.cassandra.utils.memory.MemtableBufferAllocator.allocate:(ILorg/apache/cassandra/utils/concurrent/OpOrder$Group;)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/memory/ContextAllocator;
0 1 1 size I
MethodParameters:
Name Flags
size
}
SourceFile: "ContextAllocator.java"
InnerClasses:
public final Group = org.apache.cassandra.utils.concurrent.OpOrder$Group of org.apache.cassandra.utils.concurrent.OpOrder