class java.nio.HeapByteBuffer extends java.nio.ByteBuffer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: java.nio.HeapByteBuffer
super_class: java.nio.ByteBuffer
{
private static final long ARRAY_BASE_OFFSET;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long ARRAY_INDEX_SCALE;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
ldc [B
invokevirtual jdk.internal.misc.Unsafe.arrayBaseOffset:(Ljava/lang/Class;)I
i2l
putstatic java.nio.HeapByteBuffer.ARRAY_BASE_OFFSET:J
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
ldc [B
invokevirtual jdk.internal.misc.Unsafe.arrayIndexScale:(Ljava/lang/Class;)I
i2l
putstatic java.nio.HeapByteBuffer.ARRAY_INDEX_SCALE:J
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(int, int, jdk.internal.access.foreign.MemorySegmentProxy);
descriptor: (IILjdk/internal/access/foreign/MemorySegmentProxy;)V
flags: (0x0000)
Code:
stack=8, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_m1
iconst_0
iload 2
iload 1
iload 1
newarray 8
iconst_0
aload 3
invokespecial java.nio.ByteBuffer.<init>:(IIII[BILjdk/internal/access/foreign/MemorySegmentProxy;)V
1: aload 0
getstatic java.nio.HeapByteBuffer.ARRAY_BASE_OFFSET:J
putfield java.nio.HeapByteBuffer.address:J
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 cap I
0 3 2 lim I
0 3 3 segment Ljdk/internal/access/foreign/MemorySegmentProxy;
MethodParameters:
Name Flags
cap
lim
segment
void <init>(byte[], int, int, jdk.internal.access.foreign.MemorySegmentProxy);
descriptor: ([BIILjdk/internal/access/foreign/MemorySegmentProxy;)V
flags: (0x0000)
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iconst_m1
iload 2
iload 2
iload 3
iadd
aload 1
arraylength
aload 1
iconst_0
aload 4
invokespecial java.nio.ByteBuffer.<init>:(IIII[BILjdk/internal/access/foreign/MemorySegmentProxy;)V
1: aload 0
getstatic java.nio.HeapByteBuffer.ARRAY_BASE_OFFSET:J
putfield java.nio.HeapByteBuffer.address:J
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 buf [B
0 3 2 off I
0 3 3 len I
0 3 4 segment Ljdk/internal/access/foreign/MemorySegmentProxy;
MethodParameters:
Name Flags
buf
off
len
segment
protected void <init>(byte[], int, int, int, int, int, jdk.internal.access.foreign.MemorySegmentProxy);
descriptor: ([BIIIIILjdk/internal/access/foreign/MemorySegmentProxy;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
iload 2
iload 3
iload 4
iload 5
aload 1
iload 6
aload 7
invokespecial java.nio.ByteBuffer.<init>:(IIII[BILjdk/internal/access/foreign/MemorySegmentProxy;)V
1: aload 0
getstatic java.nio.HeapByteBuffer.ARRAY_BASE_OFFSET:J
iload 6
i2l
getstatic java.nio.HeapByteBuffer.ARRAY_INDEX_SCALE:J
lmul
ladd
putfield java.nio.HeapByteBuffer.address:J
2: return
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 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 buf [B
0 3 2 mark I
0 3 3 pos I
0 3 4 lim I
0 3 5 cap I
0 3 6 off I
0 3 7 segment Ljdk/internal/access/foreign/MemorySegmentProxy;
MethodParameters:
Name Flags
buf
mark
pos
lim
cap
off
segment
public java.nio.ByteBuffer slice();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
istore 2
start local 2 2: iload 1
iload 2
if_icmpgt 3
iload 2
iload 1
isub
goto 4
StackMap locals: int int
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 3
start local 3 5: new java.nio.HeapByteBuffer
dup
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
6: iconst_m1
7: iconst_0
8: iload 3
9: iload 3
10: iload 1
aload 0
getfield java.nio.HeapByteBuffer.offset:I
iadd
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
11: invokespecial java.nio.HeapByteBuffer.<init>:([BIIIIILjdk/internal/access/foreign/MemorySegmentProxy;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/nio/HeapByteBuffer;
1 12 1 pos I
2 12 2 lim I
5 12 3 rem I
public java.nio.ByteBuffer slice(int, int);
descriptor: (II)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
invokestatic java.util.Objects.checkFromIndexSize:(III)I
pop
1: new java.nio.HeapByteBuffer
dup
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
2: iconst_m1
3: iconst_0
4: iload 2
5: iload 2
6: iload 1
aload 0
getfield java.nio.HeapByteBuffer.offset:I
iadd
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
7: invokespecial java.nio.HeapByteBuffer.<init>:([BIIIIILjdk/internal/access/foreign/MemorySegmentProxy;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/nio/HeapByteBuffer;
0 8 1 index I
0 8 2 length I
MethodParameters:
Name Flags
index
length
public java.nio.ByteBuffer duplicate();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: new java.nio.HeapByteBuffer
dup
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
1: aload 0
invokevirtual java.nio.HeapByteBuffer.markValue:()I
2: aload 0
invokevirtual java.nio.HeapByteBuffer.position:()I
3: aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
4: aload 0
invokevirtual java.nio.HeapByteBuffer.capacity:()I
5: aload 0
getfield java.nio.HeapByteBuffer.offset:I
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
6: invokespecial java.nio.HeapByteBuffer.<init>:([BIIIIILjdk/internal/access/foreign/MemorySegmentProxy;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/nio/HeapByteBuffer;
public java.nio.ByteBuffer asReadOnlyBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: new java.nio.HeapByteBufferR
dup
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
1: aload 0
invokevirtual java.nio.HeapByteBuffer.markValue:()I
2: aload 0
invokevirtual java.nio.HeapByteBuffer.position:()I
3: aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
4: aload 0
invokevirtual java.nio.HeapByteBuffer.capacity:()I
5: aload 0
getfield java.nio.HeapByteBuffer.offset:I
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
6: invokespecial java.nio.HeapByteBufferR.<init>:([BIIIIILjdk/internal/access/foreign/MemorySegmentProxy;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/nio/HeapByteBuffer;
protected int ix(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield java.nio.HeapByteBuffer.offset:I
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/HeapByteBuffer;
0 1 1 i I
MethodParameters:
Name Flags
i
private long byteOffset(long);
descriptor: (J)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.nio.HeapByteBuffer.address:J
lload 1
ladd
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/HeapByteBuffer;
0 1 1 i J
MethodParameters:
Name Flags
i
public byte get();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
invokevirtual java.nio.HeapByteBuffer.nextGetIndex:()I
invokevirtual java.nio.HeapByteBuffer.ix:(I)I
baload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/HeapByteBuffer;
public byte get(int);
descriptor: (I)B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
invokevirtual java.nio.HeapByteBuffer.checkIndex:(I)I
invokevirtual java.nio.HeapByteBuffer.ix:(I)I
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/HeapByteBuffer;
0 2 1 i I
MethodParameters:
Name Flags
i
public java.nio.ByteBuffer get(byte[], int, int);
descriptor: ([BII)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: iload 2
iload 3
aload 1
arraylength
invokestatic java.util.Objects.checkFromIndexSize:(III)I
pop
2: aload 0
invokevirtual java.nio.HeapByteBuffer.position:()I
istore 4
start local 4 3: iload 3
aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
iload 4
isub
if_icmple 5
4: new java.nio.BufferUnderflowException
dup
invokespecial java.nio.BufferUnderflowException.<init>:()V
athrow
5: StackMap locals: int
StackMap stack:
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
iload 4
invokevirtual java.nio.HeapByteBuffer.ix:(I)I
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
iload 4
iload 3
iadd
invokevirtual java.nio.HeapByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
7: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/nio/HeapByteBuffer;
0 8 1 dst [B
0 8 2 offset I
0 8 3 length I
3 8 4 pos I
MethodParameters:
Name Flags
dst
offset
length
public java.nio.ByteBuffer get(int, byte[], int, int);
descriptor: (I[BII)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: iload 1
iload 4
aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
invokestatic java.util.Objects.checkFromIndexSize:(III)I
pop
2: iload 3
iload 4
aload 2
arraylength
invokestatic java.util.Objects.checkFromIndexSize:(III)I
pop
3: aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
iload 1
invokevirtual java.nio.HeapByteBuffer.ix:(I)I
aload 2
iload 3
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/nio/HeapByteBuffer;
0 5 1 index I
0 5 2 dst [B
0 5 3 offset I
0 5 4 length I
MethodParameters:
Name Flags
index
dst
offset
length
public boolean isDirect();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/HeapByteBuffer;
public boolean isReadOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/HeapByteBuffer;
public java.nio.ByteBuffer put(byte);
descriptor: (B)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
invokevirtual java.nio.HeapByteBuffer.nextPutIndex:()I
invokevirtual java.nio.HeapByteBuffer.ix:(I)I
iload 1
bastore
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 x B
MethodParameters:
Name Flags
x
public java.nio.ByteBuffer put(int, byte);
descriptor: (IB)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
invokevirtual java.nio.HeapByteBuffer.checkIndex:(I)I
invokevirtual java.nio.HeapByteBuffer.ix:(I)I
iload 2
bastore
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 i I
0 3 2 x B
MethodParameters:
Name Flags
i
x
public java.nio.ByteBuffer put(byte[], int, int);
descriptor: ([BII)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: iload 2
iload 3
aload 1
arraylength
invokestatic java.util.Objects.checkFromIndexSize:(III)I
pop
2: aload 0
invokevirtual java.nio.HeapByteBuffer.position:()I
istore 4
start local 4 3: iload 3
aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
iload 4
isub
if_icmple 5
4: new java.nio.BufferOverflowException
dup
invokespecial java.nio.BufferOverflowException.<init>:()V
athrow
5: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
iload 4
invokevirtual java.nio.HeapByteBuffer.ix:(I)I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
iload 4
iload 3
iadd
invokevirtual java.nio.HeapByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
7: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/nio/HeapByteBuffer;
0 8 1 src [B
0 8 2 offset I
0 8 3 length I
3 8 4 pos I
MethodParameters:
Name Flags
src
offset
length
public java.nio.ByteBuffer put(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: aload 0
aload 1
invokespecial java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 src Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
src
public java.nio.ByteBuffer put(int, byte[], int, int);
descriptor: (I[BII)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: iload 1
iload 4
aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
invokestatic java.util.Objects.checkFromIndexSize:(III)I
pop
2: iload 3
iload 4
aload 2
arraylength
invokestatic java.util.Objects.checkFromIndexSize:(III)I
pop
3: aload 2
iload 3
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
iload 1
invokevirtual java.nio.HeapByteBuffer.ix:(I)I
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/nio/HeapByteBuffer;
0 5 1 index I
0 5 2 src [B
0 5 3 offset I
0 5 4 length I
MethodParameters:
Name Flags
index
src
offset
length
public java.nio.ByteBuffer compact();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
iload 1
isub
istore 2
start local 2 2: aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
iload 1
invokevirtual java.nio.HeapByteBuffer.ix:(I)I
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
iconst_0
invokevirtual java.nio.HeapByteBuffer.ix:(I)I
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
iload 2
invokevirtual java.nio.HeapByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
4: aload 0
aload 0
invokevirtual java.nio.HeapByteBuffer.capacity:()I
invokevirtual java.nio.HeapByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
5: aload 0
invokevirtual java.nio.HeapByteBuffer.discardMark:()V
6: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/nio/HeapByteBuffer;
1 7 1 pos I
2 7 2 rem I
byte _get(int);
descriptor: (I)B
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.nio.HeapByteBuffer.hb:[B
iload 1
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/HeapByteBuffer;
0 1 1 i I
MethodParameters:
Name Flags
i
void _put(int, byte);
descriptor: (IB)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.nio.HeapByteBuffer.hb:[B
iload 1
iload 2
bastore
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/HeapByteBuffer;
0 2 1 i I
0 2 2 b B
MethodParameters:
Name Flags
i
b
public char getChar();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iconst_2
invokevirtual java.nio.HeapByteBuffer.nextGetIndex:(I)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.getCharUnaligned:(Ljava/lang/Object;JZ)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/HeapByteBuffer;
public char getChar(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
iconst_2
invokevirtual java.nio.HeapByteBuffer.checkIndex:(II)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.getCharUnaligned:(Ljava/lang/Object;JZ)C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/HeapByteBuffer;
0 1 1 i I
MethodParameters:
Name Flags
i
public java.nio.ByteBuffer putChar(char);
descriptor: (C)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iconst_2
invokevirtual java.nio.HeapByteBuffer.nextPutIndex:(I)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
iload 1
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.putCharUnaligned:(Ljava/lang/Object;JCZ)V
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 x C
MethodParameters:
Name Flags
x
public java.nio.ByteBuffer putChar(int, char);
descriptor: (IC)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
iconst_2
invokevirtual java.nio.HeapByteBuffer.checkIndex:(II)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
iload 2
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.putCharUnaligned:(Ljava/lang/Object;JCZ)V
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 i I
0 3 2 x C
MethodParameters:
Name Flags
i
x
public java.nio.CharBuffer asCharBuffer();
descriptor: ()Ljava/nio/CharBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
iload 1
isub
iconst_1
ishr
istore 2
start local 2 2: aload 0
getfield java.nio.HeapByteBuffer.address:J
iload 1
i2l
ladd
lstore 3
start local 3 3: aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
ifeq 12
4: new java.nio.ByteBufferAsCharBufferB
dup
aload 0
5: iconst_m1
6: iconst_0
7: iload 2
8: iload 2
9: lload 3
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
10: invokespecial java.nio.ByteBufferAsCharBufferB.<init>:(Ljava/nio/ByteBuffer;IIIIJLjdk/internal/access/foreign/MemorySegmentProxy;)V
11: goto 19
12: StackMap locals: int int long
StackMap stack:
new java.nio.ByteBufferAsCharBufferL
dup
aload 0
13: iconst_m1
14: iconst_0
15: iload 2
16: iload 2
17: lload 3
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
18: invokespecial java.nio.ByteBufferAsCharBufferL.<init>:(Ljava/nio/ByteBuffer;IIIIJLjdk/internal/access/foreign/MemorySegmentProxy;)V
19: StackMap locals:
StackMap stack: java.nio.CharBuffer
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/nio/HeapByteBuffer;
1 20 1 pos I
2 20 2 size I
3 20 3 addr J
public short getShort();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iconst_2
invokevirtual java.nio.HeapByteBuffer.nextGetIndex:(I)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.getShortUnaligned:(Ljava/lang/Object;JZ)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/HeapByteBuffer;
public short getShort(int);
descriptor: (I)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
iconst_2
invokevirtual java.nio.HeapByteBuffer.checkIndex:(II)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.getShortUnaligned:(Ljava/lang/Object;JZ)S
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/HeapByteBuffer;
0 2 1 i I
MethodParameters:
Name Flags
i
public java.nio.ByteBuffer putShort(short);
descriptor: (S)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iconst_2
invokevirtual java.nio.HeapByteBuffer.nextPutIndex:(I)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
iload 1
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.putShortUnaligned:(Ljava/lang/Object;JSZ)V
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 x S
MethodParameters:
Name Flags
x
public java.nio.ByteBuffer putShort(int, short);
descriptor: (IS)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
iconst_2
invokevirtual java.nio.HeapByteBuffer.checkIndex:(II)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
iload 2
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.putShortUnaligned:(Ljava/lang/Object;JSZ)V
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 i I
0 3 2 x S
MethodParameters:
Name Flags
i
x
public java.nio.ShortBuffer asShortBuffer();
descriptor: ()Ljava/nio/ShortBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
iload 1
isub
iconst_1
ishr
istore 2
start local 2 2: aload 0
getfield java.nio.HeapByteBuffer.address:J
iload 1
i2l
ladd
lstore 3
start local 3 3: aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
ifeq 12
4: new java.nio.ByteBufferAsShortBufferB
dup
aload 0
5: iconst_m1
6: iconst_0
7: iload 2
8: iload 2
9: lload 3
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
10: invokespecial java.nio.ByteBufferAsShortBufferB.<init>:(Ljava/nio/ByteBuffer;IIIIJLjdk/internal/access/foreign/MemorySegmentProxy;)V
11: goto 19
12: StackMap locals: int int long
StackMap stack:
new java.nio.ByteBufferAsShortBufferL
dup
aload 0
13: iconst_m1
14: iconst_0
15: iload 2
16: iload 2
17: lload 3
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
18: invokespecial java.nio.ByteBufferAsShortBufferL.<init>:(Ljava/nio/ByteBuffer;IIIIJLjdk/internal/access/foreign/MemorySegmentProxy;)V
19: StackMap locals:
StackMap stack: java.nio.ShortBuffer
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/nio/HeapByteBuffer;
1 20 1 pos I
2 20 2 size I
3 20 3 addr J
public int getInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iconst_4
invokevirtual java.nio.HeapByteBuffer.nextGetIndex:(I)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.getIntUnaligned:(Ljava/lang/Object;JZ)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/HeapByteBuffer;
public int getInt(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
iconst_4
invokevirtual java.nio.HeapByteBuffer.checkIndex:(II)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.getIntUnaligned:(Ljava/lang/Object;JZ)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/HeapByteBuffer;
0 2 1 i I
MethodParameters:
Name Flags
i
public java.nio.ByteBuffer putInt(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iconst_4
invokevirtual java.nio.HeapByteBuffer.nextPutIndex:(I)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
iload 1
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.putIntUnaligned:(Ljava/lang/Object;JIZ)V
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 x I
MethodParameters:
Name Flags
x
public java.nio.ByteBuffer putInt(int, int);
descriptor: (II)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
iconst_4
invokevirtual java.nio.HeapByteBuffer.checkIndex:(II)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
iload 2
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.putIntUnaligned:(Ljava/lang/Object;JIZ)V
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 i I
0 3 2 x I
MethodParameters:
Name Flags
i
x
public java.nio.IntBuffer asIntBuffer();
descriptor: ()Ljava/nio/IntBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
iload 1
isub
iconst_2
ishr
istore 2
start local 2 2: aload 0
getfield java.nio.HeapByteBuffer.address:J
iload 1
i2l
ladd
lstore 3
start local 3 3: aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
ifeq 12
4: new java.nio.ByteBufferAsIntBufferB
dup
aload 0
5: iconst_m1
6: iconst_0
7: iload 2
8: iload 2
9: lload 3
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
10: invokespecial java.nio.ByteBufferAsIntBufferB.<init>:(Ljava/nio/ByteBuffer;IIIIJLjdk/internal/access/foreign/MemorySegmentProxy;)V
11: goto 19
12: StackMap locals: int int long
StackMap stack:
new java.nio.ByteBufferAsIntBufferL
dup
aload 0
13: iconst_m1
14: iconst_0
15: iload 2
16: iload 2
17: lload 3
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
18: invokespecial java.nio.ByteBufferAsIntBufferL.<init>:(Ljava/nio/ByteBuffer;IIIIJLjdk/internal/access/foreign/MemorySegmentProxy;)V
19: StackMap locals:
StackMap stack: java.nio.IntBuffer
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/nio/HeapByteBuffer;
1 20 1 pos I
2 20 2 size I
3 20 3 addr J
public long getLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
bipush 8
invokevirtual java.nio.HeapByteBuffer.nextGetIndex:(I)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.getLongUnaligned:(Ljava/lang/Object;JZ)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/HeapByteBuffer;
public long getLong(int);
descriptor: (I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
bipush 8
invokevirtual java.nio.HeapByteBuffer.checkIndex:(II)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.getLongUnaligned:(Ljava/lang/Object;JZ)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/HeapByteBuffer;
0 2 1 i I
MethodParameters:
Name Flags
i
public java.nio.ByteBuffer putLong(long);
descriptor: (J)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
bipush 8
invokevirtual java.nio.HeapByteBuffer.nextPutIndex:(I)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
lload 1
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.putLongUnaligned:(Ljava/lang/Object;JJZ)V
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 x J
MethodParameters:
Name Flags
x
public java.nio.ByteBuffer putLong(int, long);
descriptor: (IJ)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
bipush 8
invokevirtual java.nio.HeapByteBuffer.checkIndex:(II)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
lload 2
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.putLongUnaligned:(Ljava/lang/Object;JJZ)V
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 i I
0 3 2 x J
MethodParameters:
Name Flags
i
x
public java.nio.LongBuffer asLongBuffer();
descriptor: ()Ljava/nio/LongBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
iload 1
isub
iconst_3
ishr
istore 2
start local 2 2: aload 0
getfield java.nio.HeapByteBuffer.address:J
iload 1
i2l
ladd
lstore 3
start local 3 3: aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
ifeq 12
4: new java.nio.ByteBufferAsLongBufferB
dup
aload 0
5: iconst_m1
6: iconst_0
7: iload 2
8: iload 2
9: lload 3
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
10: invokespecial java.nio.ByteBufferAsLongBufferB.<init>:(Ljava/nio/ByteBuffer;IIIIJLjdk/internal/access/foreign/MemorySegmentProxy;)V
11: goto 19
12: StackMap locals: int int long
StackMap stack:
new java.nio.ByteBufferAsLongBufferL
dup
aload 0
13: iconst_m1
14: iconst_0
15: iload 2
16: iload 2
17: lload 3
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
18: invokespecial java.nio.ByteBufferAsLongBufferL.<init>:(Ljava/nio/ByteBuffer;IIIIJLjdk/internal/access/foreign/MemorySegmentProxy;)V
19: StackMap locals:
StackMap stack: java.nio.LongBuffer
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/nio/HeapByteBuffer;
1 20 1 pos I
2 20 2 size I
3 20 3 addr J
public float getFloat();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iconst_4
invokevirtual java.nio.HeapByteBuffer.nextGetIndex:(I)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.getIntUnaligned:(Ljava/lang/Object;JZ)I
istore 1
start local 1 2: iload 1
invokestatic java.lang.Float.intBitsToFloat:(I)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
2 3 1 x I
public float getFloat(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
iconst_4
invokevirtual java.nio.HeapByteBuffer.checkIndex:(II)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.getIntUnaligned:(Ljava/lang/Object;JZ)I
istore 2
start local 2 2: iload 2
invokestatic java.lang.Float.intBitsToFloat:(I)F
freturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 i I
2 3 2 x I
MethodParameters:
Name Flags
i
public java.nio.ByteBuffer putFloat(float);
descriptor: (F)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: fload 1
invokestatic java.lang.Float.floatToRawIntBits:(F)I
istore 2
start local 2 2: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iconst_4
invokevirtual java.nio.HeapByteBuffer.nextPutIndex:(I)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
iload 2
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.putIntUnaligned:(Ljava/lang/Object;JIZ)V
3: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/nio/HeapByteBuffer;
0 4 1 x F
2 4 2 y I
MethodParameters:
Name Flags
x
public java.nio.ByteBuffer putFloat(int, float);
descriptor: (IF)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: fload 2
invokestatic java.lang.Float.floatToRawIntBits:(F)I
istore 3
start local 3 2: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
iconst_4
invokevirtual java.nio.HeapByteBuffer.checkIndex:(II)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
iload 3
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.putIntUnaligned:(Ljava/lang/Object;JIZ)V
3: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/nio/HeapByteBuffer;
0 4 1 i I
0 4 2 x F
2 4 3 y I
MethodParameters:
Name Flags
i
x
public java.nio.FloatBuffer asFloatBuffer();
descriptor: ()Ljava/nio/FloatBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
iload 1
isub
iconst_2
ishr
istore 2
start local 2 2: aload 0
getfield java.nio.HeapByteBuffer.address:J
iload 1
i2l
ladd
lstore 3
start local 3 3: aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
ifeq 12
4: new java.nio.ByteBufferAsFloatBufferB
dup
aload 0
5: iconst_m1
6: iconst_0
7: iload 2
8: iload 2
9: lload 3
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
10: invokespecial java.nio.ByteBufferAsFloatBufferB.<init>:(Ljava/nio/ByteBuffer;IIIIJLjdk/internal/access/foreign/MemorySegmentProxy;)V
11: goto 19
12: StackMap locals: int int long
StackMap stack:
new java.nio.ByteBufferAsFloatBufferL
dup
aload 0
13: iconst_m1
14: iconst_0
15: iload 2
16: iload 2
17: lload 3
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
18: invokespecial java.nio.ByteBufferAsFloatBufferL.<init>:(Ljava/nio/ByteBuffer;IIIIJLjdk/internal/access/foreign/MemorySegmentProxy;)V
19: StackMap locals:
StackMap stack: java.nio.FloatBuffer
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/nio/HeapByteBuffer;
1 20 1 pos I
2 20 2 size I
3 20 3 addr J
public double getDouble();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
bipush 8
invokevirtual java.nio.HeapByteBuffer.nextGetIndex:(I)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.getLongUnaligned:(Ljava/lang/Object;JZ)J
lstore 1
start local 1 2: lload 1
invokestatic java.lang.Double.longBitsToDouble:(J)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
2 3 1 x J
public double getDouble(int);
descriptor: (I)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
bipush 8
invokevirtual java.nio.HeapByteBuffer.checkIndex:(II)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.getLongUnaligned:(Ljava/lang/Object;JZ)J
lstore 2
start local 2 2: lload 2
invokestatic java.lang.Double.longBitsToDouble:(J)D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/HeapByteBuffer;
0 3 1 i I
2 3 2 x J
MethodParameters:
Name Flags
i
public java.nio.ByteBuffer putDouble(double);
descriptor: (D)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: dload 1
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
lstore 3
start local 3 2: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
bipush 8
invokevirtual java.nio.HeapByteBuffer.nextPutIndex:(I)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
lload 3
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.putLongUnaligned:(Ljava/lang/Object;JJZ)V
3: aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/nio/HeapByteBuffer;
0 4 1 x D
2 4 3 y J
MethodParameters:
Name Flags
x
public java.nio.ByteBuffer putDouble(int, double);
descriptor: (ID)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.nio.HeapByteBuffer.checkSegment:()V
1: dload 2
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
lstore 4
start local 4 2: getstatic java.nio.HeapByteBuffer.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.HeapByteBuffer.hb:[B
aload 0
aload 0
iload 1
bipush 8
invokevirtual java.nio.HeapByteBuffer.checkIndex:(II)I
i2l
invokevirtual java.nio.HeapByteBuffer.byteOffset:(J)J
lload 4
aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
invokevirtual jdk.internal.misc.Unsafe.putLongUnaligned:(Ljava/lang/Object;JJZ)V
3: aload 0
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/nio/HeapByteBuffer;
0 4 1 i I
0 4 2 x D
2 4 4 y J
MethodParameters:
Name Flags
i
x
public java.nio.DoubleBuffer asDoubleBuffer();
descriptor: ()Ljava/nio/DoubleBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.HeapByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.HeapByteBuffer.limit:()I
iload 1
isub
iconst_3
ishr
istore 2
start local 2 2: aload 0
getfield java.nio.HeapByteBuffer.address:J
iload 1
i2l
ladd
lstore 3
start local 3 3: aload 0
getfield java.nio.HeapByteBuffer.bigEndian:Z
ifeq 12
4: new java.nio.ByteBufferAsDoubleBufferB
dup
aload 0
5: iconst_m1
6: iconst_0
7: iload 2
8: iload 2
9: lload 3
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
10: invokespecial java.nio.ByteBufferAsDoubleBufferB.<init>:(Ljava/nio/ByteBuffer;IIIIJLjdk/internal/access/foreign/MemorySegmentProxy;)V
11: goto 19
12: StackMap locals: int int long
StackMap stack:
new java.nio.ByteBufferAsDoubleBufferL
dup
aload 0
13: iconst_m1
14: iconst_0
15: iload 2
16: iload 2
17: lload 3
aload 0
getfield java.nio.HeapByteBuffer.segment:Ljdk/internal/access/foreign/MemorySegmentProxy;
18: invokespecial java.nio.ByteBufferAsDoubleBufferL.<init>:(Ljava/nio/ByteBuffer;IIIIJLjdk/internal/access/foreign/MemorySegmentProxy;)V
19: StackMap locals:
StackMap stack: java.nio.DoubleBuffer
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/nio/HeapByteBuffer;
1 20 1 pos I
2 20 2 size I
3 20 3 addr J
public java.nio.Buffer duplicate();
descriptor: ()Ljava/nio/Buffer;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual java.nio.HeapByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.nio.Buffer slice(int, int);
descriptor: (II)Ljava/nio/Buffer;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
iload 1
iload 2
invokevirtual java.nio.HeapByteBuffer.slice:(II)Ljava/nio/ByteBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.nio.Buffer slice();
descriptor: ()Ljava/nio/Buffer;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual java.nio.HeapByteBuffer.slice:()Ljava/nio/ByteBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "HeapByteBuffer.java"