class java.nio.ByteBufferAsShortBufferB extends java.nio.ShortBuffer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: java.nio.ByteBufferAsShortBufferB
super_class: java.nio.ShortBuffer
{
protected final java.nio.ByteBuffer bb;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljava/nio/ByteBufferAsShortBufferB;
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.ByteBufferAsShortBufferB.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iconst_m1
iconst_0
1: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_1
ishr
2: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_1
ishr
invokespecial java.nio.ShortBuffer.<init>:(IIII)V
3: aload 0
aload 1
putfield java.nio.ByteBufferAsShortBufferB.bb:Ljava/nio/ByteBuffer;
4: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.capacity:()I
istore 2
start local 2 5: aload 0
iload 2
invokevirtual java.nio.ByteBufferAsShortBufferB.limit:(I)Ljava/nio/ShortBuffer;
pop
6: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.position:()I
istore 3
start local 3 7: getstatic java.nio.ByteBufferAsShortBufferB.$assertionsDisabled:Z
ifne 8
iload 3
iload 2
if_icmple 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: java.nio.ByteBufferAsShortBufferB java.nio.ByteBuffer int int
StackMap stack:
aload 0
aload 1
getfield java.nio.ByteBuffer.address:J
putfield java.nio.ByteBufferAsShortBufferB.address:J
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/nio/ByteBufferAsShortBufferB;
0 10 1 bb Ljava/nio/ByteBuffer;
5 10 2 cap I
7 10 3 pos I
MethodParameters:
Name Flags
bb
void <init>(java.nio.ByteBuffer, int, int, int, int, long);
descriptor: (Ljava/nio/ByteBuffer;IIIIJ)V
flags: (0x0000)
Code:
stack=5, locals=8, 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.ShortBuffer.<init>:(IIII)V
1: aload 0
aload 1
putfield java.nio.ByteBufferAsShortBufferB.bb:Ljava/nio/ByteBuffer;
2: aload 0
lload 6
putfield java.nio.ByteBufferAsShortBufferB.address:J
3: getstatic java.nio.ByteBufferAsShortBufferB.$assertionsDisabled:Z
ifne 4
aload 0
getfield java.nio.ByteBufferAsShortBufferB.address:J
aload 1
getfield java.nio.ByteBuffer.address:J
lcmp
ifge 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: java.nio.ByteBufferAsShortBufferB java.nio.ByteBuffer int int int int long
StackMap stack:
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 5 0 this Ljava/nio/ByteBufferAsShortBufferB;
0 5 1 bb Ljava/nio/ByteBuffer;
0 5 2 mark I
0 5 3 pos I
0 5 4 lim I
0 5 5 cap I
0 5 6 addr J
MethodParameters:
Name Flags
bb
mark
pos
lim
cap
addr
java.lang.Object base();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.ByteBufferAsShortBufferB.bb:Ljava/nio/ByteBuffer;
getfield java.nio.ByteBuffer.hb:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/ByteBufferAsShortBufferB;
public java.nio.ShortBuffer slice();
descriptor: ()Ljava/nio/ShortBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.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: aload 0
iload 1
i2l
invokevirtual java.nio.ByteBufferAsShortBufferB.byteOffset:(J)J
lstore 4
start local 4 6: new java.nio.ByteBufferAsShortBufferB
dup
aload 0
getfield java.nio.ByteBufferAsShortBufferB.bb:Ljava/nio/ByteBuffer;
iconst_m1
iconst_0
iload 3
iload 3
lload 4
invokespecial java.nio.ByteBufferAsShortBufferB.<init>:(Ljava/nio/ByteBuffer;IIIIJ)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/nio/ByteBufferAsShortBufferB;
1 7 1 pos I
2 7 2 lim I
5 7 3 rem I
6 7 4 addr J
public java.nio.ShortBuffer duplicate();
descriptor: ()Ljava/nio/ShortBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: new java.nio.ByteBufferAsShortBufferB
dup
aload 0
getfield java.nio.ByteBufferAsShortBufferB.bb:Ljava/nio/ByteBuffer;
1: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.markValue:()I
2: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.position:()I
3: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.limit:()I
4: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.capacity:()I
5: aload 0
getfield java.nio.ByteBufferAsShortBufferB.address:J
6: invokespecial java.nio.ByteBufferAsShortBufferB.<init>:(Ljava/nio/ByteBuffer;IIIIJ)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/nio/ByteBufferAsShortBufferB;
public java.nio.ShortBuffer asReadOnlyBuffer();
descriptor: ()Ljava/nio/ShortBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: new java.nio.ByteBufferAsShortBufferRB
dup
aload 0
getfield java.nio.ByteBufferAsShortBufferB.bb:Ljava/nio/ByteBuffer;
1: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.markValue:()I
2: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.position:()I
3: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.limit:()I
4: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.capacity:()I
5: aload 0
getfield java.nio.ByteBufferAsShortBufferB.address:J
6: invokespecial java.nio.ByteBufferAsShortBufferRB.<init>:(Ljava/nio/ByteBuffer;IIIIJ)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/nio/ByteBufferAsShortBufferB;
private int ix(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.nio.ByteBufferAsShortBufferB.address:J
aload 0
getfield java.nio.ByteBufferAsShortBufferB.bb:Ljava/nio/ByteBuffer;
getfield java.nio.ByteBuffer.address:J
lsub
l2i
istore 2
start local 2 1: iload 1
iconst_1
ishl
iload 2
iadd
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/ByteBufferAsShortBufferB;
0 2 1 i I
1 2 2 off I
MethodParameters:
Name Flags
i
protected long byteOffset(long);
descriptor: (J)J
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
iconst_1
lshl
aload 0
getfield java.nio.ByteBufferAsShortBufferB.address:J
ladd
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/ByteBufferAsShortBufferB;
0 1 1 i J
MethodParameters:
Name Flags
i
public short get();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic java.nio.ByteBufferAsShortBufferB.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.ByteBufferAsShortBufferB.bb:Ljava/nio/ByteBuffer;
getfield java.nio.ByteBuffer.hb:[B
aload 0
aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.nextGetIndex:()I
i2l
invokevirtual java.nio.ByteBufferAsShortBufferB.byteOffset:(J)J
1: iconst_1
2: invokevirtual jdk.internal.misc.Unsafe.getShortUnaligned:(Ljava/lang/Object;JZ)S
istore 1
start local 1 3: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/nio/ByteBufferAsShortBufferB;
3 4 1 x S
public short get(int);
descriptor: (I)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic java.nio.ByteBufferAsShortBufferB.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.ByteBufferAsShortBufferB.bb:Ljava/nio/ByteBuffer;
getfield java.nio.ByteBuffer.hb:[B
aload 0
aload 0
iload 1
invokevirtual java.nio.ByteBufferAsShortBufferB.checkIndex:(I)I
i2l
invokevirtual java.nio.ByteBufferAsShortBufferB.byteOffset:(J)J
1: iconst_1
2: invokevirtual jdk.internal.misc.Unsafe.getShortUnaligned:(Ljava/lang/Object;JZ)S
istore 2
start local 2 3: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/nio/ByteBufferAsShortBufferB;
0 4 1 i I
3 4 2 x S
MethodParameters:
Name Flags
i
public java.nio.ShortBuffer put(short);
descriptor: (S)Ljava/nio/ShortBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: iload 1
istore 2
start local 2 1: getstatic java.nio.ByteBufferAsShortBufferB.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.ByteBufferAsShortBufferB.bb:Ljava/nio/ByteBuffer;
getfield java.nio.ByteBuffer.hb:[B
aload 0
aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.nextPutIndex:()I
i2l
invokevirtual java.nio.ByteBufferAsShortBufferB.byteOffset:(J)J
iload 2
2: iconst_1
3: invokevirtual jdk.internal.misc.Unsafe.putShortUnaligned:(Ljava/lang/Object;JSZ)V
4: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/nio/ByteBufferAsShortBufferB;
0 5 1 x S
1 5 2 y S
MethodParameters:
Name Flags
x
public java.nio.ShortBuffer put(int, short);
descriptor: (IS)Ljava/nio/ShortBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
istore 3
start local 3 1: getstatic java.nio.ByteBufferAsShortBufferB.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 0
getfield java.nio.ByteBufferAsShortBufferB.bb:Ljava/nio/ByteBuffer;
getfield java.nio.ByteBuffer.hb:[B
aload 0
aload 0
iload 1
invokevirtual java.nio.ByteBufferAsShortBufferB.checkIndex:(I)I
i2l
invokevirtual java.nio.ByteBufferAsShortBufferB.byteOffset:(J)J
iload 3
2: iconst_1
3: invokevirtual jdk.internal.misc.Unsafe.putShortUnaligned:(Ljava/lang/Object;JSZ)V
4: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/nio/ByteBufferAsShortBufferB;
0 5 1 i I
0 5 2 x S
1 5 3 y S
MethodParameters:
Name Flags
i
x
public java.nio.ShortBuffer compact();
descriptor: ()Ljava/nio/ShortBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.limit:()I
istore 2
start local 2 2: getstatic java.nio.ByteBufferAsShortBufferB.$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: aload 0
getfield java.nio.ByteBufferAsShortBufferB.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 4
start local 4 7: aload 4
aload 0
iload 2
invokevirtual java.nio.ByteBufferAsShortBufferB.ix:(I)I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
8: aload 4
aload 0
iconst_0
invokevirtual java.nio.ByteBufferAsShortBufferB.ix:(I)I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
9: aload 4
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
astore 5
start local 5 10: aload 5
iload 1
iconst_1
ishl
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
11: aload 5
invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
pop
12: aload 0
iload 3
invokevirtual java.nio.ByteBufferAsShortBufferB.position:(I)Ljava/nio/ShortBuffer;
pop
13: aload 0
aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.capacity:()I
invokevirtual java.nio.ByteBufferAsShortBufferB.limit:(I)Ljava/nio/ShortBuffer;
pop
14: aload 0
invokevirtual java.nio.ByteBufferAsShortBufferB.discardMark:()V
15: aload 0
areturn
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 16 0 this Ljava/nio/ByteBufferAsShortBufferB;
1 16 1 pos I
2 16 2 lim I
6 16 3 rem I
7 16 4 db Ljava/nio/ByteBuffer;
10 16 5 sb Ljava/nio/ByteBuffer;
public boolean isDirect();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.ByteBufferAsShortBufferB.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.isDirect:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/ByteBufferAsShortBufferB;
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/ByteBufferAsShortBufferB;
public java.nio.ByteOrder order();
descriptor: ()Ljava/nio/ByteOrder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/ByteBufferAsShortBufferB;
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.ByteBufferAsShortBufferB.slice:()Ljava/nio/ShortBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
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.ByteBufferAsShortBufferB.duplicate:()Ljava/nio/ShortBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ByteBufferAsShortBufferB.java"