public class org.apache.cassandra.io.util.Memory implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.io.util.Memory
super_class: java.lang.Object
{
private static final sun.misc.Unsafe unsafe;
descriptor: Lsun/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long BYTE_ARRAY_BASE_OFFSET;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean bigEndian;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.nio.ByteBuffer[] NO_BYTE_BUFFERS;
descriptor: [Ljava/nio/ByteBuffer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
protected long peer;
descriptor: J
flags: (0x0004) ACC_PROTECTED
protected final long size;
descriptor: J
flags: (0x0014) ACC_PROTECTED, 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=3, locals=1, args_size=0
0: ldc Lorg/apache/cassandra/io/util/Memory;
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.io.util.Memory.$assertionsDisabled:Z
3: ldc Lsun/misc/Unsafe;
ldc "theUnsafe"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 0
start local 0 4: aload 0
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
5: aload 0
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.misc.Unsafe
putstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
end local 0 6: goto 9
7: StackMap locals:
StackMap stack: java.lang.Exception
astore 0
start local 0 8: new java.lang.AssertionError
dup
aload 0
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 0 9: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
ldc [B
invokevirtual sun.misc.Unsafe.arrayBaseOffset:(Ljava/lang/Class;)I
i2l
putstatic org.apache.cassandra.io.util.Memory.BYTE_ARRAY_BASE_OFFSET:J
10: invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
putstatic org.apache.cassandra.io.util.Memory.bigEndian:Z
11: iconst_0
anewarray java.nio.ByteBuffer
putstatic org.apache.cassandra.io.util.Memory.NO_BYTE_BUFFERS:[Ljava/nio/ByteBuffer;
return
LocalVariableTable:
Start End Slot Name Signature
4 6 0 field Ljava/lang/reflect/Field;
8 9 0 e Ljava/lang/Exception;
Exception table:
from to target type
3 6 7 Class java.lang.Exception
protected void <init>(long);
descriptor: (J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: lload 1
lconst_0
lcmp
ifgt 3
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.apache.cassandra.io.util.Memory long
StackMap stack:
aload 0
lload 1
putfield org.apache.cassandra.io.util.Memory.size:J
4: aload 0
aload 0
getfield org.apache.cassandra.io.util.Memory.size:J
invokestatic org.apache.cassandra.utils.memory.MemoryUtil.allocate:(J)J
putfield org.apache.cassandra.io.util.Memory.peer:J
5: aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lconst_0
lcmp
ifne 7
6: new java.lang.OutOfMemoryError
dup
invokespecial java.lang.OutOfMemoryError.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/io/util/Memory;
0 8 1 bytes J
MethodParameters:
Name Flags
bytes
protected void <init>(org.apache.cassandra.io.util.Memory);
descriptor: (Lorg/apache/cassandra/io/util/Memory;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield org.apache.cassandra.io.util.Memory.size:J
putfield org.apache.cassandra.io.util.Memory.size:J
2: aload 0
aload 1
getfield org.apache.cassandra.io.util.Memory.peer:J
putfield org.apache.cassandra.io.util.Memory.peer:J
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/Memory;
0 4 1 copyOf Lorg/apache/cassandra/io/util/Memory;
MethodParameters:
Name Flags
copyOf
public static org.apache.cassandra.io.util.Memory allocate(long);
descriptor: (J)Lorg/apache/cassandra/io/util/Memory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
lconst_0
lcmp
ifge 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.concurrent.Ref.DEBUG_ENABLED:Z
ifeq 4
3: new org.apache.cassandra.io.util.SafeMemory
dup
lload 0
invokespecial org.apache.cassandra.io.util.SafeMemory.<init>:(J)V
areturn
4: StackMap locals:
StackMap stack:
new org.apache.cassandra.io.util.Memory
dup
lload 0
invokespecial org.apache.cassandra.io.util.Memory.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 bytes J
MethodParameters:
Name Flags
bytes
public void setByte(long, byte);
descriptor: (JB)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
lload 1
lconst_1
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
1: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
iload 3
invokevirtual sun.misc.Unsafe.putByte:(JB)V
2: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/util/Memory;
0 3 1 offset J
0 3 3 b B
MethodParameters:
Name Flags
offset
b
public void setMemory(long, long, byte);
descriptor: (JJB)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
lload 1
lload 1
lload 3
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
1: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
lload 3
iload 5
invokevirtual sun.misc.Unsafe.setMemory:(JJB)V
2: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/util/Memory;
0 3 1 offset J
0 3 3 bytes J
0 3 5 b B
MethodParameters:
Name Flags
offset
bytes
b
public void setLong(long, long);
descriptor: (JJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
lload 1
ldc 8
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
1: getstatic org.apache.cassandra.utils.Architecture.IS_UNALIGNED:Z
ifeq 4
2: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
lload 3
invokevirtual sun.misc.Unsafe.putLong:(JJ)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
lload 3
invokevirtual org.apache.cassandra.io.util.Memory.putLongByByte:(JJ)V
5: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/io/util/Memory;
0 6 1 offset J
0 6 3 l J
MethodParameters:
Name Flags
offset
l
private void putLongByByte(long, long);
descriptor: (JJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 3 0: getstatic org.apache.cassandra.io.util.Memory.bigEndian:Z
ifeq 10
1: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
lload 3
bipush 56
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
2: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
lconst_1
ladd
lload 3
bipush 48
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
3: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 2
ladd
lload 3
bipush 40
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
4: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 3
ladd
lload 3
bipush 32
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
5: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 4
ladd
lload 3
bipush 24
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
6: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 5
ladd
lload 3
bipush 16
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
7: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 6
ladd
lload 3
bipush 8
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
8: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 7
ladd
lload 3
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
9: goto 18
10: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 7
ladd
lload 3
bipush 56
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
11: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 6
ladd
lload 3
bipush 48
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
12: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 5
ladd
lload 3
bipush 40
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
13: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 4
ladd
lload 3
bipush 32
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
14: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 3
ladd
lload 3
bipush 24
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
15: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 2
ladd
lload 3
bipush 16
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
16: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
lconst_1
ladd
lload 3
bipush 8
lshr
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
17: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
lload 3
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
18: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/cassandra/io/util/Memory;
0 19 1 address J
0 19 3 value J
MethodParameters:
Name Flags
address
value
public void setInt(long, int);
descriptor: (JI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
lload 1
ldc 4
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
1: getstatic org.apache.cassandra.utils.Architecture.IS_UNALIGNED:Z
ifeq 4
2: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
iload 3
invokevirtual sun.misc.Unsafe.putInt:(JI)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
iload 3
invokevirtual org.apache.cassandra.io.util.Memory.putIntByByte:(JI)V
5: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/io/util/Memory;
0 6 1 offset J
0 6 3 l I
MethodParameters:
Name Flags
offset
l
private void putIntByByte(long, int);
descriptor: (JI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: getstatic org.apache.cassandra.io.util.Memory.bigEndian:Z
ifeq 6
1: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
iload 3
bipush 24
ishr
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
2: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
lconst_1
ladd
iload 3
bipush 16
ishr
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
3: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 2
ladd
iload 3
bipush 8
ishr
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
4: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 3
ladd
iload 3
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
5: goto 10
6: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 3
ladd
iload 3
bipush 24
ishr
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
7: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 2
ladd
iload 3
bipush 16
ishr
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
8: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
lconst_1
ladd
iload 3
bipush 8
ishr
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
9: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
iload 3
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
10: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/io/util/Memory;
0 11 1 address J
0 11 3 value I
MethodParameters:
Name Flags
address
value
public void setShort(long, short);
descriptor: (JS)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
lload 1
ldc 2
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
1: getstatic org.apache.cassandra.utils.Architecture.IS_UNALIGNED:Z
ifeq 4
2: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
iload 3
invokevirtual sun.misc.Unsafe.putShort:(JS)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
iload 3
invokevirtual org.apache.cassandra.io.util.Memory.putShortByByte:(JS)V
5: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/io/util/Memory;
0 6 1 offset J
0 6 3 l S
MethodParameters:
Name Flags
offset
l
private void putShortByByte(long, short);
descriptor: (JS)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: getstatic org.apache.cassandra.io.util.Memory.bigEndian:Z
ifeq 4
1: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
iload 3
bipush 8
ishr
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
2: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
lconst_1
ladd
iload 3
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
3: goto 6
4: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
lconst_1
ladd
iload 3
bipush 8
ishr
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
5: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
iload 3
i2b
invokevirtual sun.misc.Unsafe.putByte:(JB)V
6: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/io/util/Memory;
0 7 1 address J
0 7 3 value S
MethodParameters:
Name Flags
address
value
public void setBytes(long, java.nio.ByteBuffer);
descriptor: (JLjava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 3
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
lload 1
lload 1
aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
5: aload 3
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 8
6: aload 0
lload 1
aload 3
invokevirtual java.nio.ByteBuffer.array:()[B
aload 3
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 3
invokevirtual java.nio.ByteBuffer.position:()I
iadd
aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual org.apache.cassandra.io.util.Memory.setBytes:(J[BII)V
7: goto 12
8: StackMap locals:
StackMap stack:
aload 3
instanceof sun.nio.ch.DirectBuffer
ifeq 11
9: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
aload 3
checkcast sun.nio.ch.DirectBuffer
invokeinterface sun.nio.ch.DirectBuffer.address:()J
aload 3
invokevirtual java.nio.ByteBuffer.position:()I
i2l
ladd
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
invokevirtual sun.misc.Unsafe.copyMemory:(JJJ)V
10: goto 12
11: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/io/util/Memory;
0 13 1 memoryOffset J
0 13 3 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
memoryOffset
buffer
public void setBytes(long, byte[], int, int);
descriptor: (J[BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=6, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 5 0: aload 3
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 4
iflt 5
3: iload 5
iflt 5
4: iload 4
iload 5
iadd
aload 3
arraylength
if_icmple 6
5: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
iload 5
ifne 8
7: return
8: StackMap locals:
StackMap stack:
aload 0
lload 1
lload 1
iload 5
i2l
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
9: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
aload 3
getstatic org.apache.cassandra.io.util.Memory.BYTE_ARRAY_BASE_OFFSET:J
iload 4
i2l
ladd
aconst_null
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
iload 5
i2l
invokevirtual sun.misc.Unsafe.copyMemory:(Ljava/lang/Object;JLjava/lang/Object;JJ)V
10: return
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/io/util/Memory;
0 11 1 memoryOffset J
0 11 3 buffer [B
0 11 4 bufferOffset I
0 11 5 count I
MethodParameters:
Name Flags
memoryOffset
buffer
bufferOffset
count
public byte getByte(long);
descriptor: (J)B
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
lload 1
lconst_1
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
1: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/Memory;
0 2 1 offset J
MethodParameters:
Name Flags
offset
public long getLong(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
lload 1
ldc 8
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
1: getstatic org.apache.cassandra.utils.Architecture.IS_UNALIGNED:Z
ifeq 3
2: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
invokevirtual sun.misc.Unsafe.getLong:(J)J
lreturn
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
invokevirtual org.apache.cassandra.io.util.Memory.getLongByByte:(J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/Memory;
0 4 1 offset J
MethodParameters:
Name Flags
offset
private long getLongByByte(long);
descriptor: (J)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.io.util.Memory.bigEndian:Z
ifeq 16
1: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
bipush 56
lshl
2: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
lconst_1
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
bipush 48
lshl
3: lor
4: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 2
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
bipush 40
lshl
5: lor
6: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 3
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
bipush 32
lshl
7: lor
8: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 4
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
bipush 24
lshl
9: lor
10: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 5
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
bipush 16
lshl
11: lor
12: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 6
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
bipush 8
lshl
13: lor
14: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 7
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
15: lor
lreturn
16: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 7
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
bipush 56
lshl
17: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 6
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
bipush 48
lshl
18: lor
19: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 5
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
bipush 40
lshl
20: lor
21: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 4
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
bipush 32
lshl
22: lor
23: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 3
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
bipush 24
lshl
24: lor
25: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 2
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
bipush 16
lshl
26: lor
27: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
lconst_1
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
bipush 8
lshl
28: lor
29: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
invokevirtual sun.misc.Unsafe.getByte:(J)B
i2l
ldc 255
land
30: lor
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/apache/cassandra/io/util/Memory;
0 31 1 address J
MethodParameters:
Name Flags
address
public int getInt(long);
descriptor: (J)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
lload 1
ldc 4
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
1: getstatic org.apache.cassandra.utils.Architecture.IS_UNALIGNED:Z
ifeq 3
2: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
invokevirtual sun.misc.Unsafe.getInt:(J)I
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
invokevirtual org.apache.cassandra.io.util.Memory.getIntByByte:(J)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/Memory;
0 4 1 offset J
MethodParameters:
Name Flags
offset
private int getIntByByte(long);
descriptor: (J)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.io.util.Memory.bigEndian:Z
ifeq 8
1: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
invokevirtual sun.misc.Unsafe.getByte:(J)B
bipush 24
ishl
2: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
lconst_1
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
sipush 255
iand
bipush 16
ishl
3: ior
4: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 2
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
sipush 255
iand
bipush 8
ishl
5: ior
6: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 3
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
sipush 255
iand
7: ior
ireturn
8: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 3
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
bipush 24
ishl
9: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 2
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
sipush 255
iand
bipush 16
ishl
10: ior
11: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
lconst_1
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
sipush 255
iand
bipush 8
ishl
12: ior
13: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
lload 1
invokevirtual sun.misc.Unsafe.getByte:(J)B
sipush 255
iand
14: ior
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/cassandra/io/util/Memory;
0 15 1 address J
MethodParameters:
Name Flags
address
public void getBytes(long, byte[], int, int);
descriptor: (J[BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 5 0: aload 3
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 4
iflt 3
iload 5
iflt 3
iload 5
aload 3
arraylength
iload 4
isub
if_icmple 4
3: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
iload 5
ifne 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
lload 1
lload 1
iload 5
i2l
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
7: aconst_null
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
aload 3
iload 4
iload 5
invokestatic org.apache.cassandra.utils.FastByteOperations$UnsafeOperations.copy:(Ljava/lang/Object;J[BII)V
8: return
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/io/util/Memory;
0 9 1 memoryOffset J
0 9 3 buffer [B
0 9 4 bufferOffset I
0 9 5 count I
MethodParameters:
Name Flags
memoryOffset
buffer
bufferOffset
count
protected void checkBounds(long, long);
descriptor: (JJ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tInline cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/Memory;
RuntimeInvisibleAnnotations:
Inline()
MethodParameters:
Name Flags
start
end
public void put(long, org.apache.cassandra.io.util.Memory, long, long);
descriptor: (JLorg/apache/cassandra/io/util/Memory;JJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 6 0: aload 0
lload 1
lload 1
lload 6
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
1: aload 3
lload 4
lload 4
lload 6
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
2: getstatic org.apache.cassandra.io.util.Memory.unsafe:Lsun/misc/Unsafe;
aload 3
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 4
ladd
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
lload 6
invokevirtual sun.misc.Unsafe.copyMemory:(JJJ)V
3: return
end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/Memory;
0 4 1 trgOffset J
0 4 3 memory Lorg/apache/cassandra/io/util/Memory;
0 4 4 srcOffset J
0 4 6 size J
MethodParameters:
Name Flags
trgOffset
memory
srcOffset
size
public org.apache.cassandra.io.util.Memory copy(long);
descriptor: (J)Lorg/apache/cassandra/io/util/Memory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=4, args_size=2
start local 0 start local 1 0: lload 1
invokestatic org.apache.cassandra.io.util.Memory.allocate:(J)Lorg/apache/cassandra/io/util/Memory;
astore 3
start local 3 1: aload 3
lconst_0
aload 0
lconst_0
aload 0
invokevirtual org.apache.cassandra.io.util.Memory.size:()J
lload 1
invokestatic java.lang.Math.min:(JJ)J
invokevirtual org.apache.cassandra.io.util.Memory.put:(JLorg/apache/cassandra/io/util/Memory;JJ)V
2: aload 3
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/util/Memory;
0 3 1 newSize J
1 3 3 copy Lorg/apache/cassandra/io/util/Memory;
MethodParameters:
Name Flags
newSize
public void free();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lconst_0
lcmp
ifeq 1
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
invokestatic org.apache.cassandra.utils.memory.MemoryUtil.free:(J)V
goto 2
1: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.io.util.Memory.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.cassandra.io.util.Memory.size:J
lconst_0
lcmp
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
lconst_0
putfield org.apache.cassandra.io.util.Memory.peer:J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/Memory;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.util.Memory.free:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/Memory;
public long size();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.io.util.Memory.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lconst_0
lcmp
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.util.Memory.size:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/Memory;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.cassandra.io.util.Memory
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.io.util.Memory
astore 2
start local 2 5: aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
aload 2
getfield org.apache.cassandra.io.util.Memory.peer:J
lcmp
ifne 7
aload 0
getfield org.apache.cassandra.io.util.Memory.size:J
aload 2
getfield org.apache.cassandra.io.util.Memory.size:J
lcmp
ifne 7
6: iconst_1
ireturn
7: StackMap locals: org.apache.cassandra.io.util.Memory
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/io/util/Memory;
0 8 1 o Ljava/lang/Object;
5 8 2 b Lorg/apache/cassandra/io/util/Memory;
MethodParameters:
Name Flags
o
public java.nio.ByteBuffer[] asByteBuffers(long, long);
descriptor: (JJ)[Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
lload 1
lload 3
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
1: aload 0
invokevirtual org.apache.cassandra.io.util.Memory.size:()J
lconst_0
lcmp
ifne 3
2: getstatic org.apache.cassandra.io.util.Memory.NO_BYTE_BUFFERS:[Ljava/nio/ByteBuffer;
areturn
3: StackMap locals:
StackMap stack:
lload 3
ldc 2147483647
ldiv
l2i
iconst_1
iadd
anewarray java.nio.ByteBuffer
astore 5
start local 5 4: aload 0
invokevirtual org.apache.cassandra.io.util.Memory.size:()J
aload 5
arraylength
i2l
ldiv
l2i
istore 6
start local 6 5: iconst_0
istore 7
start local 7 6: goto 11
7: StackMap locals: java.nio.ByteBuffer[] int int
StackMap stack:
aload 5
iload 7
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
iload 6
invokestatic org.apache.cassandra.utils.memory.MemoryUtil.getByteBuffer:(JI)Ljava/nio/ByteBuffer;
aastore
8: lload 1
iload 6
i2l
ladd
lstore 1
9: lload 3
iload 6
i2l
lsub
lstore 3
10: iinc 7 1
StackMap locals:
StackMap stack:
11: iload 7
aload 5
arraylength
iconst_1
isub
if_icmplt 7
end local 7 12: aload 5
aload 5
arraylength
iconst_1
isub
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
lload 3
l2i
invokestatic org.apache.cassandra.utils.memory.MemoryUtil.getByteBuffer:(JI)Ljava/nio/ByteBuffer;
aastore
13: aload 5
areturn
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/io/util/Memory;
0 14 1 offset J
0 14 3 length J
4 14 5 result [Ljava/nio/ByteBuffer;
5 14 6 size I
6 12 7 i I
MethodParameters:
Name Flags
offset
length
public java.nio.ByteBuffer asByteBuffer(long, int);
descriptor: (JI)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
lload 1
iload 3
i2l
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
1: aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 1
ladd
iload 3
invokestatic org.apache.cassandra.utils.memory.MemoryUtil.getByteBuffer:(JI)Ljava/nio/ByteBuffer;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/util/Memory;
0 2 1 offset J
0 2 3 length I
MethodParameters:
Name Flags
offset
length
public void setByteBuffer(java.nio.ByteBuffer, long, int);
descriptor: (Ljava/nio/ByteBuffer;JI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
lload 2
lload 2
iload 4
i2l
ladd
invokevirtual org.apache.cassandra.io.util.Memory.checkBounds:(JJ)V
1: aload 1
aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
lload 2
ladd
iload 4
invokestatic org.apache.cassandra.utils.memory.MemoryUtil.setByteBuffer:(Ljava/nio/ByteBuffer;JI)V
2: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/util/Memory;
0 3 1 buffer Ljava/nio/ByteBuffer;
0 3 2 offset J
0 3 4 length I
MethodParameters:
Name Flags
buffer
offset
length
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.util.Memory.peer:J
aload 0
getfield org.apache.cassandra.io.util.Memory.size:J
invokestatic org.apache.cassandra.io.util.Memory.toString:(JJ)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/util/Memory;
protected static java.lang.String toString(long, long);
descriptor: (JJ)Ljava/lang/String;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 2 0: ldc "Memory@[%x..%x)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
lload 0
lload 2
ladd
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 peer J
0 1 2 size J
MethodParameters:
Name Flags
peer
size
}
SourceFile: "Memory.java"
InnerClasses:
public final UnsafeOperations = org.apache.cassandra.utils.FastByteOperations$UnsafeOperations of org.apache.cassandra.utils.FastByteOperations