class sun.nio.ch.IOVecWrapper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.IOVecWrapper
super_class: java.lang.Object
{
private static final int BASE_OFFSET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int LEN_OFFSET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int SIZE_IOVEC;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final sun.nio.ch.AllocatedNativeObject vecArray;
descriptor: Lsun/nio/ch/AllocatedNativeObject;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int size;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer[] buf;
descriptor: [Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int[] position;
descriptor: [I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int[] remaining;
descriptor: [I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer[] shadow;
descriptor: [Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final long address;
descriptor: J
flags: (0x0010) ACC_FINAL
static int addressSize;
descriptor: I
flags: (0x0008) ACC_STATIC
private static final java.lang.ThreadLocal<sun.nio.ch.IOVecWrapper> cached;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Lsun/nio/ch/IOVecWrapper;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
1: putstatic sun.nio.ch.IOVecWrapper.cached:Ljava/lang/ThreadLocal;
2: invokestatic sun.nio.ch.Util.unsafe:()Ljdk/internal/misc/Unsafe;
invokevirtual jdk.internal.misc.Unsafe.addressSize:()I
putstatic sun.nio.ch.IOVecWrapper.addressSize:I
3: getstatic sun.nio.ch.IOVecWrapper.addressSize:I
putstatic sun.nio.ch.IOVecWrapper.LEN_OFFSET:I
4: getstatic sun.nio.ch.IOVecWrapper.addressSize:I
iconst_2
imul
i2s
putstatic sun.nio.ch.IOVecWrapper.SIZE_IOVEC:I
5: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield sun.nio.ch.IOVecWrapper.size:I
2: aload 0
iload 1
anewarray java.nio.ByteBuffer
putfield sun.nio.ch.IOVecWrapper.buf:[Ljava/nio/ByteBuffer;
3: aload 0
iload 1
newarray 10
putfield sun.nio.ch.IOVecWrapper.position:[I
4: aload 0
iload 1
newarray 10
putfield sun.nio.ch.IOVecWrapper.remaining:[I
5: aload 0
iload 1
anewarray java.nio.ByteBuffer
putfield sun.nio.ch.IOVecWrapper.shadow:[Ljava/nio/ByteBuffer;
6: aload 0
new sun.nio.ch.AllocatedNativeObject
dup
iload 1
getstatic sun.nio.ch.IOVecWrapper.SIZE_IOVEC:I
imul
iconst_0
invokespecial sun.nio.ch.AllocatedNativeObject.<init>:(IZ)V
putfield sun.nio.ch.IOVecWrapper.vecArray:Lsun/nio/ch/AllocatedNativeObject;
7: aload 0
aload 0
getfield sun.nio.ch.IOVecWrapper.vecArray:Lsun/nio/ch/AllocatedNativeObject;
invokevirtual sun.nio.ch.AllocatedNativeObject.address:()J
putfield sun.nio.ch.IOVecWrapper.address:J
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/ch/IOVecWrapper;
0 9 1 size I
MethodParameters:
Name Flags
size
static sun.nio.ch.IOVecWrapper get(int);
descriptor: (I)Lsun/nio/ch/IOVecWrapper;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic sun.nio.ch.IOVecWrapper.cached:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast sun.nio.ch.IOVecWrapper
astore 1
start local 1 1: aload 1
ifnull 4
aload 1
getfield sun.nio.ch.IOVecWrapper.size:I
iload 0
if_icmpge 4
2: aload 1
getfield sun.nio.ch.IOVecWrapper.vecArray:Lsun/nio/ch/AllocatedNativeObject;
invokevirtual sun.nio.ch.AllocatedNativeObject.free:()V
3: aconst_null
astore 1
4: StackMap locals: sun.nio.ch.IOVecWrapper
StackMap stack:
aload 1
ifnonnull 8
5: new sun.nio.ch.IOVecWrapper
dup
iload 0
invokespecial sun.nio.ch.IOVecWrapper.<init>:(I)V
astore 1
6: invokestatic jdk.internal.ref.CleanerFactory.cleaner:()Ljava/lang/ref/Cleaner;
aload 1
new sun.nio.ch.IOVecWrapper$Deallocator
dup
aload 1
getfield sun.nio.ch.IOVecWrapper.vecArray:Lsun/nio/ch/AllocatedNativeObject;
invokespecial sun.nio.ch.IOVecWrapper$Deallocator.<init>:(Lsun/nio/ch/AllocatedNativeObject;)V
invokevirtual java.lang.ref.Cleaner.register:(Ljava/lang/Object;Ljava/lang/Runnable;)Ljava/lang/ref/Cleaner$Cleanable;
pop
7: getstatic sun.nio.ch.IOVecWrapper.cached:Ljava/lang/ThreadLocal;
aload 1
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 size I
1 9 1 wrapper Lsun/nio/ch/IOVecWrapper;
MethodParameters:
Name Flags
size
void setBuffer(int, java.nio.ByteBuffer, int, int);
descriptor: (ILjava/nio/ByteBuffer;II)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield sun.nio.ch.IOVecWrapper.buf:[Ljava/nio/ByteBuffer;
iload 1
aload 2
aastore
1: aload 0
getfield sun.nio.ch.IOVecWrapper.position:[I
iload 1
iload 3
iastore
2: aload 0
getfield sun.nio.ch.IOVecWrapper.remaining:[I
iload 1
iload 4
iastore
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/ch/IOVecWrapper;
0 4 1 i I
0 4 2 buf Ljava/nio/ByteBuffer;
0 4 3 pos I
0 4 4 rem I
MethodParameters:
Name Flags
i
buf
pos
rem
void setShadow(int, java.nio.ByteBuffer);
descriptor: (ILjava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.nio.ch.IOVecWrapper.shadow:[Ljava/nio/ByteBuffer;
iload 1
aload 2
aastore
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/IOVecWrapper;
0 2 1 i I
0 2 2 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
i
buf
java.nio.ByteBuffer getBuffer(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.IOVecWrapper.buf:[Ljava/nio/ByteBuffer;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/IOVecWrapper;
0 1 1 i I
MethodParameters:
Name Flags
i
int getPosition(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.IOVecWrapper.position:[I
iload 1
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/IOVecWrapper;
0 1 1 i I
MethodParameters:
Name Flags
i
int getRemaining(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.IOVecWrapper.remaining:[I
iload 1
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/IOVecWrapper;
0 1 1 i I
MethodParameters:
Name Flags
i
java.nio.ByteBuffer getShadow(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.IOVecWrapper.shadow:[Ljava/nio/ByteBuffer;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/IOVecWrapper;
0 1 1 i I
MethodParameters:
Name Flags
i
void clearRefs(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.IOVecWrapper.buf:[Ljava/nio/ByteBuffer;
iload 1
aconst_null
aastore
1: aload 0
getfield sun.nio.ch.IOVecWrapper.shadow:[Ljava/nio/ByteBuffer;
iload 1
aconst_null
aastore
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/IOVecWrapper;
0 3 1 i I
MethodParameters:
Name Flags
i
void putBase(int, long);
descriptor: (IJ)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.nio.ch.IOVecWrapper.SIZE_IOVEC:I
iload 1
imul
iconst_0
iadd
istore 4
start local 4 1: getstatic sun.nio.ch.IOVecWrapper.addressSize:I
iconst_4
if_icmpne 3
2: aload 0
getfield sun.nio.ch.IOVecWrapper.vecArray:Lsun/nio/ch/AllocatedNativeObject;
iload 4
lload 2
l2i
invokevirtual sun.nio.ch.AllocatedNativeObject.putInt:(II)V
goto 4
3: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.ch.IOVecWrapper.vecArray:Lsun/nio/ch/AllocatedNativeObject;
iload 4
lload 2
invokevirtual sun.nio.ch.AllocatedNativeObject.putLong:(IJ)V
4: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/IOVecWrapper;
0 5 1 i I
0 5 2 base J
1 5 4 offset I
MethodParameters:
Name Flags
i
base
void putLen(int, long);
descriptor: (IJ)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.nio.ch.IOVecWrapper.SIZE_IOVEC:I
iload 1
imul
getstatic sun.nio.ch.IOVecWrapper.LEN_OFFSET:I
iadd
istore 4
start local 4 1: getstatic sun.nio.ch.IOVecWrapper.addressSize:I
iconst_4
if_icmpne 3
2: aload 0
getfield sun.nio.ch.IOVecWrapper.vecArray:Lsun/nio/ch/AllocatedNativeObject;
iload 4
lload 2
l2i
invokevirtual sun.nio.ch.AllocatedNativeObject.putInt:(II)V
goto 4
3: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.ch.IOVecWrapper.vecArray:Lsun/nio/ch/AllocatedNativeObject;
iload 4
lload 2
invokevirtual sun.nio.ch.AllocatedNativeObject.putLong:(IJ)V
4: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/IOVecWrapper;
0 5 1 i I
0 5 2 len J
1 5 4 offset I
MethodParameters:
Name Flags
i
len
}
SourceFile: "IOVecWrapper.java"
NestMembers:
sun.nio.ch.IOVecWrapper$Deallocator
InnerClasses:
public abstract Cleanable = java.lang.ref.Cleaner$Cleanable of java.lang.ref.Cleaner
private Deallocator = sun.nio.ch.IOVecWrapper$Deallocator of sun.nio.ch.IOVecWrapper