class java.nio.DirectByteBuffer extends java.nio.MappedByteBuffer implements sun.nio.ch.DirectBuffer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: java.nio.DirectByteBuffer
super_class: java.nio.MappedByteBuffer
{
protected static final sun.misc.Unsafe unsafe;
descriptor: Lsun/misc/Unsafe;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private static final long arrayBaseOffset;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected static final boolean unaligned;
descriptor: Z
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected java.lang.Object viewedBuffer;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
private final sun.misc.Cleaner cleaner;
descriptor: Lsun/misc/Cleaner;
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=2, locals=0, args_size=0
0: ldc Ljava/nio/DirectByteBuffer;
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 java.nio.DirectByteBuffer.$assertionsDisabled:Z
3: invokestatic java.nio.Bits.unsafe:()Lsun/misc/Unsafe;
putstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
4: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
ldc [B
invokevirtual sun.misc.Unsafe.arrayBaseOffset:(Ljava/lang/Class;)I
i2l
putstatic java.nio.DirectByteBuffer.arrayBaseOffset:J
5: invokestatic java.nio.Bits.unaligned:()Z
putstatic java.nio.DirectByteBuffer.unaligned:Z
return
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object viewedBuffer();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.DirectByteBuffer.viewedBuffer:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
public sun.misc.Cleaner cleaner();
descriptor: ()Lsun/misc/Cleaner;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.DirectByteBuffer.cleaner:Lsun/misc/Cleaner;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
iconst_m1
iconst_0
iload 1
iload 1
iconst_0
invokespecial java.nio.MappedByteBuffer.<init>:(IIIIZ)V
1: aload 0
aconst_null
putfield java.nio.DirectByteBuffer.viewedBuffer:Ljava/lang/Object;
2: iload 1
i2l
invokestatic java.nio.Bits.reserveMemory:(J)V
3: invokestatic java.nio.Bits.pageSize:()I
istore 2
start local 2 4: lconst_0
lstore 3
start local 3 5: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
iload 1
iload 2
iadd
i2l
invokevirtual sun.misc.Unsafe.allocateMemory:(J)J
lstore 3
6: goto 10
StackMap locals: java.nio.DirectByteBuffer int int long
StackMap stack: java.lang.OutOfMemoryError
7: astore 5
start local 5 8: iload 1
i2l
invokestatic java.nio.Bits.unreserveMemory:(J)V
9: aload 5
athrow
end local 5 10: StackMap locals:
StackMap stack:
getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
lload 3
iload 1
iload 2
iadd
i2l
iconst_0
invokevirtual sun.misc.Unsafe.setMemory:(JJB)V
11: lload 3
iload 2
i2l
lrem
lconst_0
lcmp
ifeq 14
12: aload 0
lload 3
iload 2
i2l
ladd
lload 3
iload 2
iconst_1
isub
i2l
land
lsub
putfield java.nio.DirectByteBuffer.address:J
13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
lload 3
putfield java.nio.DirectByteBuffer.address:J
15: StackMap locals:
StackMap stack:
aload 0
aload 0
new java.nio.DirectByteBuffer$Deallocator
dup
lload 3
iload 1
invokespecial java.nio.DirectByteBuffer$Deallocator.<init>:(JI)V
invokestatic sun.misc.Cleaner.create:(Ljava/lang/Object;Ljava/lang/Runnable;)Lsun/misc/Cleaner;
putfield java.nio.DirectByteBuffer.cleaner:Lsun/misc/Cleaner;
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljava/nio/DirectByteBuffer;
0 17 1 cap I
4 17 2 ps I
5 17 3 base J
8 10 5 x Ljava/lang/OutOfMemoryError;
Exception table:
from to target type
5 6 7 Class java.lang.OutOfMemoryError
MethodParameters:
Name Flags
cap
private void <init>(long, int);
descriptor: (JI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
iconst_m1
iconst_0
iload 3
iload 3
iconst_0
invokespecial java.nio.MappedByteBuffer.<init>:(IIIIZ)V
1: aload 0
aconst_null
putfield java.nio.DirectByteBuffer.viewedBuffer:Ljava/lang/Object;
2: aload 0
lload 1
putfield java.nio.DirectByteBuffer.address:J
3: aload 0
aconst_null
putfield java.nio.DirectByteBuffer.cleaner:Lsun/misc/Cleaner;
4: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/nio/DirectByteBuffer;
0 5 1 addr J
0 5 3 cap I
MethodParameters:
Name Flags
addr
cap
protected void <init>(int, long, java.lang.Runnable);
descriptor: (IJLjava/lang/Runnable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
iconst_m1
iconst_0
iload 1
iload 1
iconst_1
invokespecial java.nio.MappedByteBuffer.<init>:(IIIIZ)V
1: aload 0
aconst_null
putfield java.nio.DirectByteBuffer.viewedBuffer:Ljava/lang/Object;
2: aload 0
lload 2
putfield java.nio.DirectByteBuffer.address:J
3: aload 0
aconst_null
putfield java.nio.DirectByteBuffer.viewedBuffer:Ljava/lang/Object;
4: aload 0
aload 0
aload 4
invokestatic sun.misc.Cleaner.create:(Ljava/lang/Object;Ljava/lang/Runnable;)Lsun/misc/Cleaner;
putfield java.nio.DirectByteBuffer.cleaner:Lsun/misc/Cleaner;
5: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/nio/DirectByteBuffer;
0 6 1 cap I
0 6 2 addr J
0 6 4 unmapper Ljava/lang/Runnable;
MethodParameters:
Name Flags
cap
addr
unmapper
void <init>(sun.nio.ch.DirectBuffer, int, int, int, int, int);
descriptor: (Lsun/nio/ch/DirectBuffer;IIIII)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
iload 2
iload 3
iload 4
iload 5
invokespecial java.nio.MappedByteBuffer.<init>:(IIII)V
1: aload 0
aconst_null
putfield java.nio.DirectByteBuffer.viewedBuffer:Ljava/lang/Object;
2: aload 0
aload 1
invokeinterface sun.nio.ch.DirectBuffer.address:()J
iload 6
i2l
ladd
putfield java.nio.DirectByteBuffer.address:J
3: aload 0
aload 1
putfield java.nio.DirectByteBuffer.viewedBuffer:Ljava/lang/Object;
4: aload 0
aconst_null
putfield java.nio.DirectByteBuffer.cleaner:Lsun/misc/Cleaner;
5: return
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 6 0 this Ljava/nio/DirectByteBuffer;
0 6 1 db Lsun/nio/ch/DirectBuffer;
0 6 2 mark I
0 6 3 pos I
0 6 4 lim I
0 6 5 cap I
0 6 6 off I
MethodParameters:
Name Flags
db
mark
pos
lim
cap
off
public java.nio.ByteBuffer slice();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.DirectByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.DirectByteBuffer.limit:()I
istore 2
start local 2 2: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 3
iload 1
iload 2
if_icmple 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: int int
StackMap stack:
iload 1
iload 2
if_icmpgt 4
iload 2
iload 1
isub
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: iload 1
iconst_0
ishl
istore 4
start local 4 7: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 8
iload 4
ifge 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: int int
StackMap stack:
new java.nio.DirectByteBuffer
dup
aload 0
iconst_m1
iconst_0
iload 3
iload 3
iload 4
invokespecial java.nio.DirectByteBuffer.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/nio/DirectByteBuffer;
1 9 1 pos I
2 9 2 lim I
6 9 3 rem I
7 9 4 off I
public java.nio.ByteBuffer duplicate();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: new java.nio.DirectByteBuffer
dup
aload 0
1: aload 0
invokevirtual java.nio.DirectByteBuffer.markValue:()I
2: aload 0
invokevirtual java.nio.DirectByteBuffer.position:()I
3: aload 0
invokevirtual java.nio.DirectByteBuffer.limit:()I
4: aload 0
invokevirtual java.nio.DirectByteBuffer.capacity:()I
5: iconst_0
6: invokespecial java.nio.DirectByteBuffer.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/nio/DirectByteBuffer;
public java.nio.ByteBuffer asReadOnlyBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: new java.nio.DirectByteBufferR
dup
aload 0
1: aload 0
invokevirtual java.nio.DirectByteBuffer.markValue:()I
2: aload 0
invokevirtual java.nio.DirectByteBuffer.position:()I
3: aload 0
invokevirtual java.nio.DirectByteBuffer.limit:()I
4: aload 0
invokevirtual java.nio.DirectByteBuffer.capacity:()I
5: iconst_0
6: invokespecial java.nio.DirectByteBufferR.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/nio/DirectByteBuffer;
public long address();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.DirectByteBuffer.address:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
private long ix(int);
descriptor: (I)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.nio.DirectByteBuffer.address:J
iload 1
i2l
iconst_0
lshl
ladd
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
0 1 1 i I
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: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
aload 0
aload 0
invokevirtual java.nio.DirectByteBuffer.nextGetIndex:()I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual sun.misc.Unsafe.getByte:(J)B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
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: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
aload 0
aload 0
iload 1
invokevirtual java.nio.DirectByteBuffer.checkIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual sun.misc.Unsafe.getByte:(J)B
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
0 1 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=10, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
i2l
iconst_0
lshl
ldc 6
lcmp
ifle 16
1: iload 2
iload 3
aload 1
arraylength
invokestatic java.nio.DirectByteBuffer.checkBounds:(III)V
2: aload 0
invokevirtual java.nio.DirectByteBuffer.position:()I
istore 4
start local 4 3: aload 0
invokevirtual java.nio.DirectByteBuffer.limit:()I
istore 5
start local 5 4: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 5
iload 4
iload 5
if_icmple 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: int int
StackMap stack:
iload 4
iload 5
if_icmpgt 6
iload 5
iload 4
isub
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 6
start local 6 8: iload 3
iload 6
if_icmple 10
9: new java.nio.BufferUnderflowException
dup
invokespecial java.nio.BufferUnderflowException.<init>:()V
athrow
10: StackMap locals: int
StackMap stack:
aload 0
iload 4
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
aload 1
getstatic java.nio.DirectByteBuffer.arrayBaseOffset:J
11: iload 2
i2l
iconst_0
lshl
12: iload 3
i2l
iconst_0
lshl
13: invokestatic java.nio.Bits.copyToArray:(JLjava/lang/Object;JJJ)V
14: aload 0
iload 4
iload 3
iadd
invokevirtual java.nio.DirectByteBuffer.position:(I)Ljava/nio/Buffer;
pop
end local 6 end local 5 end local 4 15: goto 17
16: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokespecial java.nio.MappedByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
17: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljava/nio/DirectByteBuffer;
0 18 1 dst [B
0 18 2 offset I
0 18 3 length I
3 15 4 pos I
4 15 5 lim I
8 15 6 rem I
MethodParameters:
Name Flags
dst
offset
length
public java.nio.ByteBuffer put(byte);
descriptor: (B)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
aload 0
aload 0
invokevirtual java.nio.DirectByteBuffer.nextPutIndex:()I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
iload 1
invokevirtual sun.misc.Unsafe.putByte:(JB)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 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: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
aload 0
aload 0
iload 1
invokevirtual java.nio.DirectByteBuffer.checkIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
iload 2
invokevirtual sun.misc.Unsafe.putByte:(JB)V
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 1 i I
0 2 2 x B
MethodParameters:
Name Flags
i
x
public java.nio.ByteBuffer put(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.nio.DirectByteBuffer
ifeq 22
1: aload 1
aload 0
if_acmpne 3
2: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 1
checkcast java.nio.DirectByteBuffer
astore 2
start local 2 4: aload 2
invokevirtual java.nio.DirectByteBuffer.position:()I
istore 3
start local 3 5: aload 2
invokevirtual java.nio.DirectByteBuffer.limit:()I
istore 4
start local 4 6: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 7
iload 3
iload 4
if_icmple 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: java.nio.DirectByteBuffer int int
StackMap stack:
iload 3
iload 4
if_icmpgt 8
iload 4
iload 3
isub
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 5
start local 5 10: aload 0
invokevirtual java.nio.DirectByteBuffer.position:()I
istore 6
start local 6 11: aload 0
invokevirtual java.nio.DirectByteBuffer.limit:()I
istore 7
start local 7 12: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 13
iload 6
iload 7
if_icmple 13
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
13: StackMap locals: int int int
StackMap stack:
iload 6
iload 7
if_icmpgt 14
iload 7
iload 6
isub
goto 15
StackMap locals:
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 8
start local 8 16: iload 5
iload 8
if_icmple 18
17: new java.nio.BufferOverflowException
dup
invokespecial java.nio.BufferOverflowException.<init>:()V
athrow
18: StackMap locals: int
StackMap stack:
getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
aload 2
iload 3
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
aload 0
iload 6
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
iload 5
i2l
iconst_0
lshl
invokevirtual sun.misc.Unsafe.copyMemory:(JJJ)V
19: aload 2
iload 3
iload 5
iadd
invokevirtual java.nio.DirectByteBuffer.position:(I)Ljava/nio/Buffer;
pop
20: aload 0
iload 6
iload 5
iadd
invokevirtual java.nio.DirectByteBuffer.position:(I)Ljava/nio/Buffer;
pop
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 21: goto 33
StackMap locals: java.nio.DirectByteBuffer java.nio.ByteBuffer
StackMap stack:
22: aload 1
getfield java.nio.ByteBuffer.hb:[B
ifnull 32
23: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 2
start local 2 24: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 3
start local 3 25: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 26
iload 2
iload 3
if_icmple 26
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
26: StackMap locals: int int
StackMap stack:
iload 2
iload 3
if_icmpgt 27
iload 3
iload 2
isub
goto 28
StackMap locals:
StackMap stack:
27: iconst_0
StackMap locals:
StackMap stack: int
28: istore 4
start local 4 29: aload 0
aload 1
getfield java.nio.ByteBuffer.hb:[B
aload 1
getfield java.nio.ByteBuffer.offset:I
iload 2
iadd
iload 4
invokevirtual java.nio.DirectByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
30: aload 1
iload 2
iload 4
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
end local 4 end local 3 end local 2 31: goto 33
32: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.nio.MappedByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
33: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljava/nio/DirectByteBuffer;
0 34 1 src Ljava/nio/ByteBuffer;
4 21 2 sb Ljava/nio/DirectByteBuffer;
5 21 3 spos I
6 21 4 slim I
10 21 5 srem I
11 21 6 pos I
12 21 7 lim I
16 21 8 rem I
24 31 2 spos I
25 31 3 slim I
29 31 4 srem I
MethodParameters:
Name Flags
src
public java.nio.ByteBuffer put(byte[], int, int);
descriptor: ([BII)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
i2l
iconst_0
lshl
ldc 6
lcmp
ifle 17
1: iload 2
iload 3
aload 1
arraylength
invokestatic java.nio.DirectByteBuffer.checkBounds:(III)V
2: aload 0
invokevirtual java.nio.DirectByteBuffer.position:()I
istore 4
start local 4 3: aload 0
invokevirtual java.nio.DirectByteBuffer.limit:()I
istore 5
start local 5 4: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 5
iload 4
iload 5
if_icmple 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: int int
StackMap stack:
iload 4
iload 5
if_icmpgt 6
iload 5
iload 4
isub
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 6
start local 6 8: iload 3
iload 6
if_icmple 10
9: new java.nio.BufferOverflowException
dup
invokespecial java.nio.BufferOverflowException.<init>:()V
athrow
10: StackMap locals: int
StackMap stack:
aload 1
getstatic java.nio.DirectByteBuffer.arrayBaseOffset:J
11: iload 2
i2l
iconst_0
lshl
12: aload 0
iload 4
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
13: iload 3
i2l
iconst_0
lshl
14: invokestatic java.nio.Bits.copyFromArray:(Ljava/lang/Object;JJJJ)V
15: aload 0
iload 4
iload 3
iadd
invokevirtual java.nio.DirectByteBuffer.position:(I)Ljava/nio/Buffer;
pop
end local 6 end local 5 end local 4 16: goto 18
17: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokespecial java.nio.MappedByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
18: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljava/nio/DirectByteBuffer;
0 19 1 src [B
0 19 2 offset I
0 19 3 length I
3 16 4 pos I
4 16 5 lim I
8 16 6 rem I
MethodParameters:
Name Flags
src
offset
length
public java.nio.ByteBuffer compact();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.DirectByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.DirectByteBuffer.limit:()I
istore 2
start local 2 2: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 3
iload 1
iload 2
if_icmple 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: int int
StackMap stack:
iload 1
iload 2
if_icmpgt 4
iload 2
iload 1
isub
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
aload 0
iload 1
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
aload 0
iconst_0
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
iload 3
i2l
iconst_0
lshl
invokevirtual sun.misc.Unsafe.copyMemory:(JJJ)V
7: aload 0
iload 3
invokevirtual java.nio.DirectByteBuffer.position:(I)Ljava/nio/Buffer;
pop
8: aload 0
aload 0
invokevirtual java.nio.DirectByteBuffer.capacity:()I
invokevirtual java.nio.DirectByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
9: aload 0
invokevirtual java.nio.DirectByteBuffer.discardMark:()V
10: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/nio/DirectByteBuffer;
1 11 1 pos I
2 11 2 lim I
6 11 3 rem I
public boolean isDirect();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
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/DirectByteBuffer;
byte _get(int);
descriptor: (I)B
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
aload 0
getfield java.nio.DirectByteBuffer.address:J
iload 1
i2l
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
0 1 1 i I
MethodParameters:
Name Flags
i
void _put(int, byte);
descriptor: (IB)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
aload 0
getfield java.nio.DirectByteBuffer.address:J
iload 1
i2l
ladd
iload 2
invokevirtual sun.misc.Unsafe.putByte:(JB)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 1 i I
0 2 2 b B
MethodParameters:
Name Flags
i
b
private char getChar(long);
descriptor: (J)C
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifeq 5
1: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
lload 1
invokevirtual sun.misc.Unsafe.getChar:(J)C
istore 3
start local 3 2: aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 3
iload 3
goto 4
StackMap locals: int
StackMap stack:
3: iload 3
invokestatic java.nio.Bits.swap:(C)C
StackMap locals:
StackMap stack: int
4: ireturn
end local 3 5: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
invokestatic java.nio.Bits.getChar:(JZ)C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/nio/DirectByteBuffer;
0 6 1 a J
2 5 3 x C
MethodParameters:
Name Flags
a
public char getChar();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
aload 0
iconst_2
invokevirtual java.nio.DirectByteBuffer.nextGetIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual java.nio.DirectByteBuffer.getChar:(J)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
public char getChar(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 0
iload 1
iconst_2
invokevirtual java.nio.DirectByteBuffer.checkIndex:(II)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual java.nio.DirectByteBuffer.getChar:(J)C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
0 1 1 i I
MethodParameters:
Name Flags
i
private java.nio.ByteBuffer putChar(long, char);
descriptor: (JC)Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifeq 6
1: iload 3
istore 4
start local 4 2: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
lload 1
aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 3
iload 4
goto 4
StackMap locals: java.nio.DirectByteBuffer long int int
StackMap stack: sun.misc.Unsafe long
3: iload 4
invokestatic java.nio.Bits.swap:(C)C
StackMap locals: java.nio.DirectByteBuffer long int int
StackMap stack: sun.misc.Unsafe long int
4: invokevirtual sun.misc.Unsafe.putChar:(JC)V
end local 4 5: goto 7
6: StackMap locals:
StackMap stack:
lload 1
iload 3
aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
invokestatic java.nio.Bits.putChar:(JCZ)V
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/nio/DirectByteBuffer;
0 8 1 a J
0 8 3 x C
2 5 4 y C
MethodParameters:
Name Flags
a
x
public java.nio.ByteBuffer putChar(char);
descriptor: (C)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 0
iconst_2
invokevirtual java.nio.DirectByteBuffer.nextPutIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
iload 1
invokevirtual java.nio.DirectByteBuffer.putChar:(JC)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 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=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 0
iload 1
iconst_2
invokevirtual java.nio.DirectByteBuffer.checkIndex:(II)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
iload 2
invokevirtual java.nio.DirectByteBuffer.putChar:(JC)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 1 i I
0 2 2 x C
MethodParameters:
Name Flags
i
x
public java.nio.CharBuffer asCharBuffer();
descriptor: ()Ljava/nio/CharBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.DirectByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.DirectByteBuffer.limit:()I
istore 2
start local 2 2: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 3
iload 1
iload 2
if_icmple 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: int int
StackMap stack:
iload 1
iload 2
if_icmpgt 4
iload 2
iload 1
isub
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: iload 3
iconst_1
ishr
istore 4
start local 4 7: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifne 25
aload 0
getfield java.nio.DirectByteBuffer.address:J
iload 1
i2l
ladd
ldc 2
lrem
lconst_0
lcmp
ifeq 25
8: aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
ifeq 17
9: new java.nio.ByteBufferAsCharBufferB
dup
aload 0
10: iconst_m1
11: iconst_0
12: iload 4
13: iload 4
14: iload 1
15: invokespecial java.nio.ByteBufferAsCharBufferB.<init>:(Ljava/nio/ByteBuffer;IIIII)V
16: goto 24
17: StackMap locals: int int
StackMap stack:
new java.nio.ByteBufferAsCharBufferL
dup
aload 0
18: iconst_m1
19: iconst_0
20: iload 4
21: iload 4
22: iload 1
23: invokespecial java.nio.ByteBufferAsCharBufferL.<init>:(Ljava/nio/ByteBuffer;IIIII)V
24: StackMap locals:
StackMap stack: java.nio.CharBuffer
areturn
25: StackMap locals:
StackMap stack:
aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 34
26: new java.nio.DirectCharBufferU
dup
aload 0
27: iconst_m1
28: iconst_0
29: iload 4
30: iload 4
31: iload 1
32: invokespecial java.nio.DirectCharBufferU.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
33: goto 41
34: StackMap locals:
StackMap stack:
new java.nio.DirectCharBufferS
dup
aload 0
35: iconst_m1
36: iconst_0
37: iload 4
38: iload 4
39: iload 1
40: invokespecial java.nio.DirectCharBufferS.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
41: StackMap locals:
StackMap stack: java.nio.CharBuffer
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Ljava/nio/DirectByteBuffer;
1 42 1 off I
2 42 2 lim I
6 42 3 rem I
7 42 4 size I
private short getShort(long);
descriptor: (J)S
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifeq 5
1: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
lload 1
invokevirtual sun.misc.Unsafe.getShort:(J)S
istore 3
start local 3 2: aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 3
iload 3
goto 4
StackMap locals: int
StackMap stack:
3: iload 3
invokestatic java.nio.Bits.swap:(S)S
StackMap locals:
StackMap stack: int
4: ireturn
end local 3 5: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
invokestatic java.nio.Bits.getShort:(JZ)S
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/nio/DirectByteBuffer;
0 6 1 a J
2 5 3 x S
MethodParameters:
Name Flags
a
public short getShort();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
aload 0
iconst_2
invokevirtual java.nio.DirectByteBuffer.nextGetIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual java.nio.DirectByteBuffer.getShort:(J)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
public short getShort(int);
descriptor: (I)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 0
iload 1
iconst_2
invokevirtual java.nio.DirectByteBuffer.checkIndex:(II)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual java.nio.DirectByteBuffer.getShort:(J)S
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
0 1 1 i I
MethodParameters:
Name Flags
i
private java.nio.ByteBuffer putShort(long, short);
descriptor: (JS)Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifeq 6
1: iload 3
istore 4
start local 4 2: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
lload 1
aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 3
iload 4
goto 4
StackMap locals: java.nio.DirectByteBuffer long int int
StackMap stack: sun.misc.Unsafe long
3: iload 4
invokestatic java.nio.Bits.swap:(S)S
StackMap locals: java.nio.DirectByteBuffer long int int
StackMap stack: sun.misc.Unsafe long int
4: invokevirtual sun.misc.Unsafe.putShort:(JS)V
end local 4 5: goto 7
6: StackMap locals:
StackMap stack:
lload 1
iload 3
aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
invokestatic java.nio.Bits.putShort:(JSZ)V
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/nio/DirectByteBuffer;
0 8 1 a J
0 8 3 x S
2 5 4 y S
MethodParameters:
Name Flags
a
x
public java.nio.ByteBuffer putShort(short);
descriptor: (S)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 0
iconst_2
invokevirtual java.nio.DirectByteBuffer.nextPutIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
iload 1
invokevirtual java.nio.DirectByteBuffer.putShort:(JS)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 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=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 0
iload 1
iconst_2
invokevirtual java.nio.DirectByteBuffer.checkIndex:(II)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
iload 2
invokevirtual java.nio.DirectByteBuffer.putShort:(JS)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 1 i I
0 2 2 x S
MethodParameters:
Name Flags
i
x
public java.nio.ShortBuffer asShortBuffer();
descriptor: ()Ljava/nio/ShortBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.DirectByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.DirectByteBuffer.limit:()I
istore 2
start local 2 2: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 3
iload 1
iload 2
if_icmple 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: int int
StackMap stack:
iload 1
iload 2
if_icmpgt 4
iload 2
iload 1
isub
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: iload 3
iconst_1
ishr
istore 4
start local 4 7: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifne 25
aload 0
getfield java.nio.DirectByteBuffer.address:J
iload 1
i2l
ladd
ldc 2
lrem
lconst_0
lcmp
ifeq 25
8: aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
ifeq 17
9: new java.nio.ByteBufferAsShortBufferB
dup
aload 0
10: iconst_m1
11: iconst_0
12: iload 4
13: iload 4
14: iload 1
15: invokespecial java.nio.ByteBufferAsShortBufferB.<init>:(Ljava/nio/ByteBuffer;IIIII)V
16: goto 24
17: StackMap locals: int int
StackMap stack:
new java.nio.ByteBufferAsShortBufferL
dup
aload 0
18: iconst_m1
19: iconst_0
20: iload 4
21: iload 4
22: iload 1
23: invokespecial java.nio.ByteBufferAsShortBufferL.<init>:(Ljava/nio/ByteBuffer;IIIII)V
24: StackMap locals:
StackMap stack: java.nio.ShortBuffer
areturn
25: StackMap locals:
StackMap stack:
aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 34
26: new java.nio.DirectShortBufferU
dup
aload 0
27: iconst_m1
28: iconst_0
29: iload 4
30: iload 4
31: iload 1
32: invokespecial java.nio.DirectShortBufferU.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
33: goto 41
34: StackMap locals:
StackMap stack:
new java.nio.DirectShortBufferS
dup
aload 0
35: iconst_m1
36: iconst_0
37: iload 4
38: iload 4
39: iload 1
40: invokespecial java.nio.DirectShortBufferS.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
41: StackMap locals:
StackMap stack: java.nio.ShortBuffer
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Ljava/nio/DirectByteBuffer;
1 42 1 off I
2 42 2 lim I
6 42 3 rem I
7 42 4 size I
private int getInt(long);
descriptor: (J)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifeq 5
1: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
lload 1
invokevirtual sun.misc.Unsafe.getInt:(J)I
istore 3
start local 3 2: aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 3
iload 3
goto 4
StackMap locals: int
StackMap stack:
3: iload 3
invokestatic java.nio.Bits.swap:(I)I
StackMap locals:
StackMap stack: int
4: ireturn
end local 3 5: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
invokestatic java.nio.Bits.getInt:(JZ)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/nio/DirectByteBuffer;
0 6 1 a J
2 5 3 x I
MethodParameters:
Name Flags
a
public int getInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
aload 0
iconst_4
invokevirtual java.nio.DirectByteBuffer.nextGetIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual java.nio.DirectByteBuffer.getInt:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
public int getInt(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 0
iload 1
iconst_4
invokevirtual java.nio.DirectByteBuffer.checkIndex:(II)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual java.nio.DirectByteBuffer.getInt:(J)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
0 1 1 i I
MethodParameters:
Name Flags
i
private java.nio.ByteBuffer putInt(long, int);
descriptor: (JI)Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifeq 6
1: iload 3
istore 4
start local 4 2: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
lload 1
aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 3
iload 4
goto 4
StackMap locals: java.nio.DirectByteBuffer long int int
StackMap stack: sun.misc.Unsafe long
3: iload 4
invokestatic java.nio.Bits.swap:(I)I
StackMap locals: java.nio.DirectByteBuffer long int int
StackMap stack: sun.misc.Unsafe long int
4: invokevirtual sun.misc.Unsafe.putInt:(JI)V
end local 4 5: goto 7
6: StackMap locals:
StackMap stack:
lload 1
iload 3
aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
invokestatic java.nio.Bits.putInt:(JIZ)V
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/nio/DirectByteBuffer;
0 8 1 a J
0 8 3 x I
2 5 4 y I
MethodParameters:
Name Flags
a
x
public java.nio.ByteBuffer putInt(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 0
iconst_4
invokevirtual java.nio.DirectByteBuffer.nextPutIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
iload 1
invokevirtual java.nio.DirectByteBuffer.putInt:(JI)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 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=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 0
iload 1
iconst_4
invokevirtual java.nio.DirectByteBuffer.checkIndex:(II)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
iload 2
invokevirtual java.nio.DirectByteBuffer.putInt:(JI)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 1 i I
0 2 2 x I
MethodParameters:
Name Flags
i
x
public java.nio.IntBuffer asIntBuffer();
descriptor: ()Ljava/nio/IntBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.DirectByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.DirectByteBuffer.limit:()I
istore 2
start local 2 2: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 3
iload 1
iload 2
if_icmple 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: int int
StackMap stack:
iload 1
iload 2
if_icmpgt 4
iload 2
iload 1
isub
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: iload 3
iconst_2
ishr
istore 4
start local 4 7: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifne 25
aload 0
getfield java.nio.DirectByteBuffer.address:J
iload 1
i2l
ladd
ldc 4
lrem
lconst_0
lcmp
ifeq 25
8: aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
ifeq 17
9: new java.nio.ByteBufferAsIntBufferB
dup
aload 0
10: iconst_m1
11: iconst_0
12: iload 4
13: iload 4
14: iload 1
15: invokespecial java.nio.ByteBufferAsIntBufferB.<init>:(Ljava/nio/ByteBuffer;IIIII)V
16: goto 24
17: StackMap locals: int int
StackMap stack:
new java.nio.ByteBufferAsIntBufferL
dup
aload 0
18: iconst_m1
19: iconst_0
20: iload 4
21: iload 4
22: iload 1
23: invokespecial java.nio.ByteBufferAsIntBufferL.<init>:(Ljava/nio/ByteBuffer;IIIII)V
24: StackMap locals:
StackMap stack: java.nio.IntBuffer
areturn
25: StackMap locals:
StackMap stack:
aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 34
26: new java.nio.DirectIntBufferU
dup
aload 0
27: iconst_m1
28: iconst_0
29: iload 4
30: iload 4
31: iload 1
32: invokespecial java.nio.DirectIntBufferU.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
33: goto 41
34: StackMap locals:
StackMap stack:
new java.nio.DirectIntBufferS
dup
aload 0
35: iconst_m1
36: iconst_0
37: iload 4
38: iload 4
39: iload 1
40: invokespecial java.nio.DirectIntBufferS.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
41: StackMap locals:
StackMap stack: java.nio.IntBuffer
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Ljava/nio/DirectByteBuffer;
1 42 1 off I
2 42 2 lim I
6 42 3 rem I
7 42 4 size I
private long getLong(long);
descriptor: (J)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifeq 5
1: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
lload 1
invokevirtual sun.misc.Unsafe.getLong:(J)J
lstore 3
start local 3 2: aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 3
lload 3
goto 4
StackMap locals: long
StackMap stack:
3: lload 3
invokestatic java.nio.Bits.swap:(J)J
StackMap locals:
StackMap stack: long
4: lreturn
end local 3 5: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
invokestatic java.nio.Bits.getLong:(JZ)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/nio/DirectByteBuffer;
0 6 1 a J
2 5 3 x J
MethodParameters:
Name Flags
a
public long getLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
aload 0
bipush 8
invokevirtual java.nio.DirectByteBuffer.nextGetIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual java.nio.DirectByteBuffer.getLong:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
public long getLong(int);
descriptor: (I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 0
iload 1
bipush 8
invokevirtual java.nio.DirectByteBuffer.checkIndex:(II)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual java.nio.DirectByteBuffer.getLong:(J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
0 1 1 i I
MethodParameters:
Name Flags
i
private java.nio.ByteBuffer putLong(long, long);
descriptor: (JJ)Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 3 0: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifeq 6
1: lload 3
lstore 5
start local 5 2: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
lload 1
aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 3
lload 5
goto 4
StackMap locals: java.nio.DirectByteBuffer long long long
StackMap stack: sun.misc.Unsafe long
3: lload 5
invokestatic java.nio.Bits.swap:(J)J
StackMap locals: java.nio.DirectByteBuffer long long long
StackMap stack: sun.misc.Unsafe long long
4: invokevirtual sun.misc.Unsafe.putLong:(JJ)V
end local 5 5: goto 7
6: StackMap locals:
StackMap stack:
lload 1
lload 3
aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
invokestatic java.nio.Bits.putLong:(JJZ)V
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/nio/DirectByteBuffer;
0 8 1 a J
0 8 3 x J
2 5 5 y J
MethodParameters:
Name Flags
a
x
public java.nio.ByteBuffer putLong(long);
descriptor: (J)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 0
bipush 8
invokevirtual java.nio.DirectByteBuffer.nextPutIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
lload 1
invokevirtual java.nio.DirectByteBuffer.putLong:(JJ)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 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=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 0
iload 1
bipush 8
invokevirtual java.nio.DirectByteBuffer.checkIndex:(II)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
lload 2
invokevirtual java.nio.DirectByteBuffer.putLong:(JJ)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 1 i I
0 2 2 x J
MethodParameters:
Name Flags
i
x
public java.nio.LongBuffer asLongBuffer();
descriptor: ()Ljava/nio/LongBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.DirectByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.DirectByteBuffer.limit:()I
istore 2
start local 2 2: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 3
iload 1
iload 2
if_icmple 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: int int
StackMap stack:
iload 1
iload 2
if_icmpgt 4
iload 2
iload 1
isub
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: iload 3
iconst_3
ishr
istore 4
start local 4 7: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifne 25
aload 0
getfield java.nio.DirectByteBuffer.address:J
iload 1
i2l
ladd
ldc 8
lrem
lconst_0
lcmp
ifeq 25
8: aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
ifeq 17
9: new java.nio.ByteBufferAsLongBufferB
dup
aload 0
10: iconst_m1
11: iconst_0
12: iload 4
13: iload 4
14: iload 1
15: invokespecial java.nio.ByteBufferAsLongBufferB.<init>:(Ljava/nio/ByteBuffer;IIIII)V
16: goto 24
17: StackMap locals: int int
StackMap stack:
new java.nio.ByteBufferAsLongBufferL
dup
aload 0
18: iconst_m1
19: iconst_0
20: iload 4
21: iload 4
22: iload 1
23: invokespecial java.nio.ByteBufferAsLongBufferL.<init>:(Ljava/nio/ByteBuffer;IIIII)V
24: StackMap locals:
StackMap stack: java.nio.LongBuffer
areturn
25: StackMap locals:
StackMap stack:
aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 34
26: new java.nio.DirectLongBufferU
dup
aload 0
27: iconst_m1
28: iconst_0
29: iload 4
30: iload 4
31: iload 1
32: invokespecial java.nio.DirectLongBufferU.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
33: goto 41
34: StackMap locals:
StackMap stack:
new java.nio.DirectLongBufferS
dup
aload 0
35: iconst_m1
36: iconst_0
37: iload 4
38: iload 4
39: iload 1
40: invokespecial java.nio.DirectLongBufferS.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
41: StackMap locals:
StackMap stack: java.nio.LongBuffer
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Ljava/nio/DirectByteBuffer;
1 42 1 off I
2 42 2 lim I
6 42 3 rem I
7 42 4 size I
private float getFloat(long);
descriptor: (J)F
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifeq 5
1: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
lload 1
invokevirtual sun.misc.Unsafe.getInt:(J)I
istore 3
start local 3 2: aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 3
iload 3
goto 4
StackMap locals: int
StackMap stack:
3: iload 3
invokestatic java.nio.Bits.swap:(I)I
StackMap locals:
StackMap stack: int
4: invokestatic java.lang.Float.intBitsToFloat:(I)F
freturn
end local 3 5: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
invokestatic java.nio.Bits.getFloat:(JZ)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/nio/DirectByteBuffer;
0 6 1 a J
2 5 3 x I
MethodParameters:
Name Flags
a
public float getFloat();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
aload 0
iconst_4
invokevirtual java.nio.DirectByteBuffer.nextGetIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual java.nio.DirectByteBuffer.getFloat:(J)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
public float getFloat(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 0
iload 1
iconst_4
invokevirtual java.nio.DirectByteBuffer.checkIndex:(II)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual java.nio.DirectByteBuffer.getFloat:(J)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
0 1 1 i I
MethodParameters:
Name Flags
i
private java.nio.ByteBuffer putFloat(long, float);
descriptor: (JF)Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifeq 6
1: fload 3
invokestatic java.lang.Float.floatToRawIntBits:(F)I
istore 4
start local 4 2: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
lload 1
aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 3
iload 4
goto 4
StackMap locals: java.nio.DirectByteBuffer long float int
StackMap stack: sun.misc.Unsafe long
3: iload 4
invokestatic java.nio.Bits.swap:(I)I
StackMap locals: java.nio.DirectByteBuffer long float int
StackMap stack: sun.misc.Unsafe long int
4: invokevirtual sun.misc.Unsafe.putInt:(JI)V
end local 4 5: goto 7
6: StackMap locals:
StackMap stack:
lload 1
fload 3
aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
invokestatic java.nio.Bits.putFloat:(JFZ)V
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/nio/DirectByteBuffer;
0 8 1 a J
0 8 3 x F
2 5 4 y I
MethodParameters:
Name Flags
a
x
public java.nio.ByteBuffer putFloat(float);
descriptor: (F)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 0
iconst_4
invokevirtual java.nio.DirectByteBuffer.nextPutIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
fload 1
invokevirtual java.nio.DirectByteBuffer.putFloat:(JF)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 1 x F
MethodParameters:
Name Flags
x
public java.nio.ByteBuffer putFloat(int, float);
descriptor: (IF)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 0
iload 1
iconst_4
invokevirtual java.nio.DirectByteBuffer.checkIndex:(II)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
fload 2
invokevirtual java.nio.DirectByteBuffer.putFloat:(JF)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 1 i I
0 2 2 x F
MethodParameters:
Name Flags
i
x
public java.nio.FloatBuffer asFloatBuffer();
descriptor: ()Ljava/nio/FloatBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.DirectByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.DirectByteBuffer.limit:()I
istore 2
start local 2 2: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 3
iload 1
iload 2
if_icmple 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: int int
StackMap stack:
iload 1
iload 2
if_icmpgt 4
iload 2
iload 1
isub
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: iload 3
iconst_2
ishr
istore 4
start local 4 7: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifne 25
aload 0
getfield java.nio.DirectByteBuffer.address:J
iload 1
i2l
ladd
ldc 4
lrem
lconst_0
lcmp
ifeq 25
8: aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
ifeq 17
9: new java.nio.ByteBufferAsFloatBufferB
dup
aload 0
10: iconst_m1
11: iconst_0
12: iload 4
13: iload 4
14: iload 1
15: invokespecial java.nio.ByteBufferAsFloatBufferB.<init>:(Ljava/nio/ByteBuffer;IIIII)V
16: goto 24
17: StackMap locals: int int
StackMap stack:
new java.nio.ByteBufferAsFloatBufferL
dup
aload 0
18: iconst_m1
19: iconst_0
20: iload 4
21: iload 4
22: iload 1
23: invokespecial java.nio.ByteBufferAsFloatBufferL.<init>:(Ljava/nio/ByteBuffer;IIIII)V
24: StackMap locals:
StackMap stack: java.nio.FloatBuffer
areturn
25: StackMap locals:
StackMap stack:
aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 34
26: new java.nio.DirectFloatBufferU
dup
aload 0
27: iconst_m1
28: iconst_0
29: iload 4
30: iload 4
31: iload 1
32: invokespecial java.nio.DirectFloatBufferU.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
33: goto 41
34: StackMap locals:
StackMap stack:
new java.nio.DirectFloatBufferS
dup
aload 0
35: iconst_m1
36: iconst_0
37: iload 4
38: iload 4
39: iload 1
40: invokespecial java.nio.DirectFloatBufferS.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
41: StackMap locals:
StackMap stack: java.nio.FloatBuffer
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Ljava/nio/DirectByteBuffer;
1 42 1 off I
2 42 2 lim I
6 42 3 rem I
7 42 4 size I
private double getDouble(long);
descriptor: (J)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifeq 5
1: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
lload 1
invokevirtual sun.misc.Unsafe.getLong:(J)J
lstore 3
start local 3 2: aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 3
lload 3
goto 4
StackMap locals: long
StackMap stack:
3: lload 3
invokestatic java.nio.Bits.swap:(J)J
StackMap locals:
StackMap stack: long
4: invokestatic java.lang.Double.longBitsToDouble:(J)D
dreturn
end local 3 5: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
invokestatic java.nio.Bits.getDouble:(JZ)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/nio/DirectByteBuffer;
0 6 1 a J
2 5 3 x J
MethodParameters:
Name Flags
a
public double getDouble();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
aload 0
bipush 8
invokevirtual java.nio.DirectByteBuffer.nextGetIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual java.nio.DirectByteBuffer.getDouble:(J)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
public double getDouble(int);
descriptor: (I)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 0
iload 1
bipush 8
invokevirtual java.nio.DirectByteBuffer.checkIndex:(II)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
invokevirtual java.nio.DirectByteBuffer.getDouble:(J)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/DirectByteBuffer;
0 1 1 i I
MethodParameters:
Name Flags
i
private java.nio.ByteBuffer putDouble(long, double);
descriptor: (JD)Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 3 0: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifeq 6
1: dload 3
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
lstore 5
start local 5 2: getstatic java.nio.DirectByteBuffer.unsafe:Lsun/misc/Unsafe;
lload 1
aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 3
lload 5
goto 4
StackMap locals: java.nio.DirectByteBuffer long double long
StackMap stack: sun.misc.Unsafe long
3: lload 5
invokestatic java.nio.Bits.swap:(J)J
StackMap locals: java.nio.DirectByteBuffer long double long
StackMap stack: sun.misc.Unsafe long long
4: invokevirtual sun.misc.Unsafe.putLong:(JJ)V
end local 5 5: goto 7
6: StackMap locals:
StackMap stack:
lload 1
dload 3
aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
invokestatic java.nio.Bits.putDouble:(JDZ)V
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/nio/DirectByteBuffer;
0 8 1 a J
0 8 3 x D
2 5 5 y J
MethodParameters:
Name Flags
a
x
public java.nio.ByteBuffer putDouble(double);
descriptor: (D)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 0
bipush 8
invokevirtual java.nio.DirectByteBuffer.nextPutIndex:(I)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
dload 1
invokevirtual java.nio.DirectByteBuffer.putDouble:(JD)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 1 x D
MethodParameters:
Name Flags
x
public java.nio.ByteBuffer putDouble(int, double);
descriptor: (ID)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 0
iload 1
bipush 8
invokevirtual java.nio.DirectByteBuffer.checkIndex:(II)I
invokevirtual java.nio.DirectByteBuffer.ix:(I)J
dload 2
invokevirtual java.nio.DirectByteBuffer.putDouble:(JD)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/DirectByteBuffer;
0 2 1 i I
0 2 2 x D
MethodParameters:
Name Flags
i
x
public java.nio.DoubleBuffer asDoubleBuffer();
descriptor: ()Ljava/nio/DoubleBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.DirectByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.DirectByteBuffer.limit:()I
istore 2
start local 2 2: getstatic java.nio.DirectByteBuffer.$assertionsDisabled:Z
ifne 3
iload 1
iload 2
if_icmple 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: int int
StackMap stack:
iload 1
iload 2
if_icmpgt 4
iload 2
iload 1
isub
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: iload 3
iconst_3
ishr
istore 4
start local 4 7: getstatic java.nio.DirectByteBuffer.unaligned:Z
ifne 25
aload 0
getfield java.nio.DirectByteBuffer.address:J
iload 1
i2l
ladd
ldc 8
lrem
lconst_0
lcmp
ifeq 25
8: aload 0
getfield java.nio.DirectByteBuffer.bigEndian:Z
ifeq 17
9: new java.nio.ByteBufferAsDoubleBufferB
dup
aload 0
10: iconst_m1
11: iconst_0
12: iload 4
13: iload 4
14: iload 1
15: invokespecial java.nio.ByteBufferAsDoubleBufferB.<init>:(Ljava/nio/ByteBuffer;IIIII)V
16: goto 24
17: StackMap locals: int int
StackMap stack:
new java.nio.ByteBufferAsDoubleBufferL
dup
aload 0
18: iconst_m1
19: iconst_0
20: iload 4
21: iload 4
22: iload 1
23: invokespecial java.nio.ByteBufferAsDoubleBufferL.<init>:(Ljava/nio/ByteBuffer;IIIII)V
24: StackMap locals:
StackMap stack: java.nio.DoubleBuffer
areturn
25: StackMap locals:
StackMap stack:
aload 0
getfield java.nio.DirectByteBuffer.nativeByteOrder:Z
ifeq 34
26: new java.nio.DirectDoubleBufferU
dup
aload 0
27: iconst_m1
28: iconst_0
29: iload 4
30: iload 4
31: iload 1
32: invokespecial java.nio.DirectDoubleBufferU.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
33: goto 41
34: StackMap locals:
StackMap stack:
new java.nio.DirectDoubleBufferS
dup
aload 0
35: iconst_m1
36: iconst_0
37: iload 4
38: iload 4
39: iload 1
40: invokespecial java.nio.DirectDoubleBufferS.<init>:(Lsun/nio/ch/DirectBuffer;IIIII)V
41: StackMap locals:
StackMap stack: java.nio.DoubleBuffer
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Ljava/nio/DirectByteBuffer;
1 42 1 off I
2 42 2 lim I
6 42 3 rem I
7 42 4 size I
}
SourceFile: "DirectByteBuffer.java"
NestMembers:
java.nio.DirectByteBuffer$Deallocator
InnerClasses:
private Deallocator = java.nio.DirectByteBuffer$Deallocator of java.nio.DirectByteBuffer