class sun.nio.ch.PollArrayWrapper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.PollArrayWrapper
super_class: java.lang.Object
{
private sun.nio.ch.AllocatedNativeObject pollArray;
descriptor: Lsun/nio/ch/AllocatedNativeObject;
flags: (0x0002) ACC_PRIVATE
long pollArrayAddress;
descriptor: J
flags: (0x0000)
private static final short FD_OFFSET;
descriptor: S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final short EVENT_OFFSET;
descriptor: S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
static short SIZE_POLLFD;
descriptor: S
flags: (0x0008) ACC_STATIC
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 8
putstatic sun.nio.ch.PollArrayWrapper.SIZE_POLLFD:S
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
getstatic sun.nio.ch.PollArrayWrapper.SIZE_POLLFD:S
imul
istore 2
start local 2 2: aload 0
new sun.nio.ch.AllocatedNativeObject
dup
iload 2
iconst_1
invokespecial sun.nio.ch.AllocatedNativeObject.<init>:(IZ)V
putfield sun.nio.ch.PollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
3: aload 0
aload 0
getfield sun.nio.ch.PollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
invokevirtual sun.nio.ch.AllocatedNativeObject.address:()J
putfield sun.nio.ch.PollArrayWrapper.pollArrayAddress:J
4: aload 0
iload 1
putfield sun.nio.ch.PollArrayWrapper.size:I
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/ch/PollArrayWrapper;
0 6 1 newSize I
2 6 2 allocationSize I
MethodParameters:
Name Flags
newSize
void putEntry(int, sun.nio.ch.SelectionKeyImpl);
descriptor: (ILsun/nio/ch/SelectionKeyImpl;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokevirtual sun.nio.ch.SelectionKeyImpl.getFDVal:()I
invokevirtual sun.nio.ch.PollArrayWrapper.putDescriptor:(II)V
1: aload 0
iload 1
iconst_0
invokevirtual sun.nio.ch.PollArrayWrapper.putEventOps:(II)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/PollArrayWrapper;
0 3 1 index I
0 3 2 ski Lsun/nio/ch/SelectionKeyImpl;
MethodParameters:
Name Flags
index
ski
void replaceEntry(sun.nio.ch.PollArrayWrapper, int, sun.nio.ch.PollArrayWrapper, int);
descriptor: (Lsun/nio/ch/PollArrayWrapper;ILsun/nio/ch/PollArrayWrapper;I)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
iload 4
aload 1
iload 2
invokevirtual sun.nio.ch.PollArrayWrapper.getDescriptor:(I)I
invokevirtual sun.nio.ch.PollArrayWrapper.putDescriptor:(II)V
1: aload 3
iload 4
aload 1
iload 2
invokevirtual sun.nio.ch.PollArrayWrapper.getEventOps:(I)I
invokevirtual sun.nio.ch.PollArrayWrapper.putEventOps:(II)V
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 Lsun/nio/ch/PollArrayWrapper;
0 3 1 source Lsun/nio/ch/PollArrayWrapper;
0 3 2 sindex I
0 3 3 target Lsun/nio/ch/PollArrayWrapper;
0 3 4 tindex I
MethodParameters:
Name Flags
source
sindex
target
tindex
void grow(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new sun.nio.ch.PollArrayWrapper
dup
iload 1
invokespecial sun.nio.ch.PollArrayWrapper.<init>:(I)V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: sun.nio.ch.PollArrayWrapper int
StackMap stack:
aload 0
aload 0
iload 3
aload 2
iload 3
invokevirtual sun.nio.ch.PollArrayWrapper.replaceEntry:(Lsun/nio/ch/PollArrayWrapper;ILsun/nio/ch/PollArrayWrapper;I)V
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 0
getfield sun.nio.ch.PollArrayWrapper.size:I
if_icmplt 3
end local 3 6: aload 0
getfield sun.nio.ch.PollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
invokevirtual sun.nio.ch.AllocatedNativeObject.free:()V
7: aload 0
aload 2
getfield sun.nio.ch.PollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
putfield sun.nio.ch.PollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
8: aload 0
aload 2
getfield sun.nio.ch.PollArrayWrapper.size:I
putfield sun.nio.ch.PollArrayWrapper.size:I
9: aload 0
aload 0
getfield sun.nio.ch.PollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
invokevirtual sun.nio.ch.AllocatedNativeObject.address:()J
putfield sun.nio.ch.PollArrayWrapper.pollArrayAddress:J
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/nio/ch/PollArrayWrapper;
0 11 1 newSize I
1 11 2 temp Lsun/nio/ch/PollArrayWrapper;
2 6 3 i I
MethodParameters:
Name Flags
newSize
void free();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.PollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
invokevirtual sun.nio.ch.AllocatedNativeObject.free:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/PollArrayWrapper;
void putDescriptor(int, int);
descriptor: (II)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.PollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
getstatic sun.nio.ch.PollArrayWrapper.SIZE_POLLFD:S
iload 1
imul
iconst_0
iadd
iload 2
invokevirtual sun.nio.ch.AllocatedNativeObject.putInt:(II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/PollArrayWrapper;
0 2 1 i I
0 2 2 fd I
MethodParameters:
Name Flags
i
fd
void putEventOps(int, int);
descriptor: (II)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.PollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
getstatic sun.nio.ch.PollArrayWrapper.SIZE_POLLFD:S
iload 1
imul
iconst_4
iadd
iload 2
i2s
invokevirtual sun.nio.ch.AllocatedNativeObject.putShort:(IS)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/PollArrayWrapper;
0 2 1 i I
0 2 2 event I
MethodParameters:
Name Flags
i
event
int getEventOps(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.PollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
getstatic sun.nio.ch.PollArrayWrapper.SIZE_POLLFD:S
iload 1
imul
iconst_4
iadd
invokevirtual sun.nio.ch.AllocatedNativeObject.getShort:(I)S
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/PollArrayWrapper;
0 1 1 i I
MethodParameters:
Name Flags
i
int getDescriptor(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.PollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
getstatic sun.nio.ch.PollArrayWrapper.SIZE_POLLFD:S
iload 1
imul
iconst_0
iadd
invokevirtual sun.nio.ch.AllocatedNativeObject.getInt:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/PollArrayWrapper;
0 1 1 i I
MethodParameters:
Name Flags
i
void addWakeupSocket(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
iload 1
invokevirtual sun.nio.ch.PollArrayWrapper.putDescriptor:(II)V
1: aload 0
iload 2
getstatic sun.nio.ch.Net.POLLIN:S
invokevirtual sun.nio.ch.PollArrayWrapper.putEventOps:(II)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/PollArrayWrapper;
0 3 1 fdVal I
0 3 2 index I
MethodParameters:
Name Flags
fdVal
index
}
SourceFile: "PollArrayWrapper.java"