class sun.nio.ch.PollArrayWrapper extends sun.nio.ch.AbstractPollArrayWrapper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.PollArrayWrapper
super_class: sun.nio.ch.AbstractPollArrayWrapper
{
int interruptFD;
descriptor: I
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic sun.nio.ch.IOUtil.load:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.nio.ch.AbstractPollArrayWrapper.<init>:()V
1: iload 1
iconst_1
iadd
bipush 8
imul
istore 1
2: aload 0
new sun.nio.ch.AllocatedNativeObject
dup
iload 1
iconst_0
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
iconst_1
putfield sun.nio.ch.PollArrayWrapper.totalChannels:I
5: return
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
MethodParameters:
Name Flags
newSize
void initInterrupt(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
putfield sun.nio.ch.PollArrayWrapper.interruptFD:I
1: aload 0
iconst_0
iload 1
invokevirtual sun.nio.ch.PollArrayWrapper.putDescriptor:(II)V
2: aload 0
iconst_0
getstatic sun.nio.ch.Net.POLLIN:S
invokevirtual sun.nio.ch.PollArrayWrapper.putEventOps:(II)V
3: aload 0
iconst_0
iconst_0
invokevirtual sun.nio.ch.PollArrayWrapper.putReventOps:(II)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/PollArrayWrapper;
0 5 1 fd0 I
0 5 2 fd1 I
MethodParameters:
Name Flags
fd0
fd1
void release(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
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 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 addEntry(sun.nio.ch.SelChImpl);
descriptor: (Lsun/nio/ch/SelChImpl;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield sun.nio.ch.PollArrayWrapper.totalChannels:I
aload 1
invokeinterface sun.nio.ch.SelChImpl.getFD:()Ljava/io/FileDescriptor;
invokestatic sun.nio.ch.IOUtil.fdVal:(Ljava/io/FileDescriptor;)I
invokevirtual sun.nio.ch.PollArrayWrapper.putDescriptor:(II)V
1: aload 0
aload 0
getfield sun.nio.ch.PollArrayWrapper.totalChannels:I
iconst_0
invokevirtual sun.nio.ch.PollArrayWrapper.putEventOps:(II)V
2: aload 0
aload 0
getfield sun.nio.ch.PollArrayWrapper.totalChannels:I
iconst_0
invokevirtual sun.nio.ch.PollArrayWrapper.putReventOps:(II)V
3: aload 0
dup
getfield sun.nio.ch.PollArrayWrapper.totalChannels:I
iconst_1
iadd
putfield sun.nio.ch.PollArrayWrapper.totalChannels:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/PollArrayWrapper;
0 5 1 sc Lsun/nio/ch/SelChImpl;
MethodParameters:
Name Flags
sc
static void replaceEntry(sun.nio.ch.PollArrayWrapper, int, sun.nio.ch.PollArrayWrapper, int);
descriptor: (Lsun/nio/ch/PollArrayWrapper;ILsun/nio/ch/PollArrayWrapper;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
iload 3
aload 0
iload 1
invokevirtual sun.nio.ch.PollArrayWrapper.getDescriptor:(I)I
invokevirtual sun.nio.ch.PollArrayWrapper.putDescriptor:(II)V
1: aload 2
iload 3
aload 0
iload 1
invokevirtual sun.nio.ch.PollArrayWrapper.getEventOps:(I)I
invokevirtual sun.nio.ch.PollArrayWrapper.putEventOps:(II)V
2: aload 2
iload 3
aload 0
iload 1
invokevirtual sun.nio.ch.PollArrayWrapper.getReventOps:(I)I
invokevirtual sun.nio.ch.PollArrayWrapper.putReventOps:(II)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 source Lsun/nio/ch/PollArrayWrapper;
0 4 1 sindex I
0 4 2 target Lsun/nio/ch/PollArrayWrapper;
0 4 3 tindex I
MethodParameters:
Name Flags
source
sindex
target
tindex
void grow(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=4, 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
iload 3
aload 2
iload 3
invokestatic 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.totalChannels: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 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
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/nio/ch/PollArrayWrapper;
0 10 1 newSize I
1 10 2 temp Lsun/nio/ch/PollArrayWrapper;
2 6 3 i I
MethodParameters:
Name Flags
newSize
int poll(int, int, long);
descriptor: (IIJ)I
flags: (0x0000)
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
getfield sun.nio.ch.PollArrayWrapper.pollArrayAddress:J
iload 2
bipush 8
imul
i2l
ladd
1: iload 1
lload 3
2: invokevirtual sun.nio.ch.PollArrayWrapper.poll0:(JIJ)I
ireturn
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 numfds I
0 3 2 offset I
0 3 3 timeout J
MethodParameters:
Name Flags
numfds
offset
timeout
public void interrupt();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.PollArrayWrapper.interruptFD:I
invokestatic sun.nio.ch.PollArrayWrapper.interrupt:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/PollArrayWrapper;
private native int poll0(long, int, long);
descriptor: (JIJ)I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
pollAddress
numfds
timeout
private static native void interrupt(int);
descriptor: (I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
}
SourceFile: "PollArrayWrapper.java"