class sun.nio.ch.DevPollArrayWrapper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.DevPollArrayWrapper
super_class: java.lang.Object
{
static final short POLLIN;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final short POLLPRI;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final short POLLOUT;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final short POLLRDNORM;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 64
static final short POLLWRNORM;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final short POLLRDBAND;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 128
static final short POLLWRBAND;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 256
static final short POLLNORM;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 64
static final short POLLERR;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8
static final short POLLHUP;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 16
static final short POLLNVAL;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 32
static final short POLLREMOVE;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2048
static final short POLLCONN;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final short SIZE_POLLFD;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8
static final short FD_OFFSET;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final short EVENT_OFFSET;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final short REVENT_OFFSET;
descriptor: S
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 6
static final byte IGNORE;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1
static final int OPEN_MAX;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final int NUM_POLLFDS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final int INITIAL_PENDING_UPDATE_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private static final int MAX_UPDATE_ARRAY_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final sun.nio.ch.AllocatedNativeObject pollArray;
descriptor: Lsun/nio/ch/AllocatedNativeObject;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long pollArrayAddress;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int wfd;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int outgoingInterruptFD;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int incomingInterruptFD;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int interruptedIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
int updated;
descriptor: I
flags: (0x0000)
private final java.lang.Object updateLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int updateCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int[] updateDescriptors;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private final byte[] eventsLow;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.Map<java.lang.Integer, java.lang.Byte> eventsHigh;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/Byte;>;
private final java.util.BitSet registered;
descriptor: Ljava/util/BitSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
boolean interrupted;
descriptor: Z
flags: (0x0000)
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=5, locals=0, args_size=0
0: ldc Lsun/nio/ch/DevPollArrayWrapper;
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 sun.nio.ch.DevPollArrayWrapper.$assertionsDisabled:Z
3: invokestatic sun.nio.ch.IOUtil.fdLimit:()I
putstatic sun.nio.ch.DevPollArrayWrapper.OPEN_MAX:I
4: getstatic sun.nio.ch.DevPollArrayWrapper.OPEN_MAX:I
iconst_1
isub
sipush 8192
invokestatic java.lang.Math.min:(II)I
putstatic sun.nio.ch.DevPollArrayWrapper.NUM_POLLFDS:I
5: new sun.security.action.GetIntegerAction
dup
ldc "sun.nio.ch.maxUpdateArraySize"
getstatic sun.nio.ch.DevPollArrayWrapper.OPEN_MAX:I
ldc 65536
invokestatic java.lang.Math.min:(II)I
invokespecial sun.security.action.GetIntegerAction.<init>:(Ljava/lang/String;I)V
6: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.nio.ch.DevPollArrayWrapper.MAX_UPDATE_ARRAY_SIZE:I
7: invokestatic sun.nio.ch.IOUtil.load:()V
8: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.DevPollArrayWrapper.updateLock:Ljava/lang/Object;
2: aload 0
bipush 64
newarray 10
putfield sun.nio.ch.DevPollArrayWrapper.updateDescriptors:[I
3: aload 0
getstatic sun.nio.ch.DevPollArrayWrapper.MAX_UPDATE_ARRAY_SIZE:I
newarray 8
putfield sun.nio.ch.DevPollArrayWrapper.eventsLow:[B
4: aload 0
new java.util.BitSet
dup
invokespecial java.util.BitSet.<init>:()V
putfield sun.nio.ch.DevPollArrayWrapper.registered:Ljava/util/BitSet;
5: aload 0
iconst_0
putfield sun.nio.ch.DevPollArrayWrapper.interrupted:Z
6: getstatic sun.nio.ch.DevPollArrayWrapper.NUM_POLLFDS:I
bipush 8
imul
istore 1
start local 1 7: aload 0
new sun.nio.ch.AllocatedNativeObject
dup
iload 1
iconst_1
invokespecial sun.nio.ch.AllocatedNativeObject.<init>:(IZ)V
putfield sun.nio.ch.DevPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
8: aload 0
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
invokevirtual sun.nio.ch.AllocatedNativeObject.address:()J
putfield sun.nio.ch.DevPollArrayWrapper.pollArrayAddress:J
9: aload 0
aload 0
invokevirtual sun.nio.ch.DevPollArrayWrapper.init:()I
putfield sun.nio.ch.DevPollArrayWrapper.wfd:I
10: getstatic sun.nio.ch.DevPollArrayWrapper.OPEN_MAX:I
getstatic sun.nio.ch.DevPollArrayWrapper.MAX_UPDATE_ARRAY_SIZE:I
if_icmple 12
11: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.nio.ch.DevPollArrayWrapper.eventsHigh:Ljava/util/Map;
12: StackMap locals: sun.nio.ch.DevPollArrayWrapper int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/nio/ch/DevPollArrayWrapper;
7 13 1 allocationSize I
void initInterrupt(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
putfield sun.nio.ch.DevPollArrayWrapper.outgoingInterruptFD:I
1: aload 0
iload 1
putfield sun.nio.ch.DevPollArrayWrapper.incomingInterruptFD:I
2: aload 0
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.wfd:I
iload 1
iconst_1
invokevirtual sun.nio.ch.DevPollArrayWrapper.register:(III)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/ch/DevPollArrayWrapper;
0 4 1 fd0 I
0 4 2 fd1 I
MethodParameters:
Name Flags
fd0
fd1
void putReventOps(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: bipush 8
iload 1
imul
bipush 6
iadd
istore 3
start local 3 1: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
iload 3
iload 2
i2s
invokevirtual sun.nio.ch.AllocatedNativeObject.putShort:(IS)V
2: return
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/DevPollArrayWrapper;
0 3 1 i I
0 3 2 revent I
1 3 3 offset I
MethodParameters:
Name Flags
i
revent
int getEventOps(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: bipush 8
iload 1
imul
iconst_4
iadd
istore 2
start local 2 1: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
iload 2
invokevirtual sun.nio.ch.AllocatedNativeObject.getShort:(I)S
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/DevPollArrayWrapper;
0 2 1 i I
1 2 2 offset I
MethodParameters:
Name Flags
i
int getReventOps(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: bipush 8
iload 1
imul
bipush 6
iadd
istore 2
start local 2 1: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
iload 2
invokevirtual sun.nio.ch.AllocatedNativeObject.getShort:(I)S
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/DevPollArrayWrapper;
0 2 1 i I
1 2 2 offset I
MethodParameters:
Name Flags
i
int getDescriptor(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: bipush 8
iload 1
imul
iconst_0
iadd
istore 2
start local 2 1: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
iload 2
invokevirtual sun.nio.ch.AllocatedNativeObject.getInt:(I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/DevPollArrayWrapper;
0 2 1 i I
1 2 2 offset I
MethodParameters:
Name Flags
i
private void setUpdateEvents(int, byte);
descriptor: (IB)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
getstatic sun.nio.ch.DevPollArrayWrapper.MAX_UPDATE_ARRAY_SIZE:I
if_icmpge 3
1: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.eventsLow:[B
iload 1
iload 2
bastore
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.eventsHigh:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 2
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/DevPollArrayWrapper;
0 5 1 fd I
0 5 2 events B
MethodParameters:
Name Flags
fd
events
private byte getUpdateEvents(int);
descriptor: (I)B
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
getstatic sun.nio.ch.DevPollArrayWrapper.MAX_UPDATE_ARRAY_SIZE:I
if_icmpge 2
1: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.eventsLow:[B
iload 1
baload
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.eventsHigh:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Byte
astore 2
start local 2 3: aload 2
invokevirtual java.lang.Byte.byteValue:()B
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/ch/DevPollArrayWrapper;
0 4 1 fd I
3 4 2 result Ljava/lang/Byte;
MethodParameters:
Name Flags
fd
void setInterest(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.updateLock:Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.updateDescriptors:[I
arraylength
istore 4
start local 4 2: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.updateCount:I
iload 4
if_icmpne 7
3: iload 4
bipush 64
iadd
istore 5
start local 5 4: iload 5
newarray 10
astore 6
start local 6 5: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.updateDescriptors:[I
iconst_0
aload 6
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
aload 6
putfield sun.nio.ch.DevPollArrayWrapper.updateDescriptors:[I
end local 6 end local 5 7: StackMap locals: java.lang.Object int
StackMap stack:
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.updateDescriptors:[I
aload 0
dup
getfield sun.nio.ch.DevPollArrayWrapper.updateCount:I
dup_x1
iconst_1
iadd
putfield sun.nio.ch.DevPollArrayWrapper.updateCount:I
iload 1
iastore
8: iload 2
i2b
istore 5
start local 5 9: getstatic sun.nio.ch.DevPollArrayWrapper.$assertionsDisabled:Z
ifne 11
iload 5
iload 2
if_icmpne 10
iload 5
iconst_m1
if_icmpne 11
StackMap locals: int
StackMap stack:
10: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 5
invokevirtual sun.nio.ch.DevPollArrayWrapper.setUpdateEvents:(IB)V
end local 5 end local 4 12: aload 3
monitorexit
13: goto 16
StackMap locals: sun.nio.ch.DevPollArrayWrapper int int java.lang.Object
StackMap stack: java.lang.Throwable
14: aload 3
monitorexit
15: athrow
16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/nio/ch/DevPollArrayWrapper;
0 17 1 fd I
0 17 2 mask I
2 12 4 oldCapacity I
4 7 5 newCapacity I
5 7 6 newDescriptors [I
9 12 5 b B
Exception table:
from to target type
1 13 14 any
14 15 14 any
MethodParameters:
Name Flags
fd
mask
void release(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.updateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
iload 1
iconst_m1
invokevirtual sun.nio.ch.DevPollArrayWrapper.setUpdateEvents:(IB)V
2: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.registered:Ljava/util/BitSet;
iload 1
invokevirtual java.util.BitSet.get:(I)Z
ifeq 5
3: aload 0
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.wfd:I
iload 1
sipush 2048
invokevirtual sun.nio.ch.DevPollArrayWrapper.register:(III)V
4: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.registered:Ljava/util/BitSet;
iload 1
invokevirtual java.util.BitSet.clear:(I)V
5: StackMap locals: java.lang.Object
StackMap stack:
aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/nio/ch/DevPollArrayWrapper;
0 10 1 fd I
Exception table:
from to target type
1 6 7 any
7 8 7 any
MethodParameters:
Name Flags
fd
void closeDevPollFD();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.wfd:I
invokestatic sun.nio.ch.FileDispatcherImpl.closeIntFD:(I)V
1: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
invokevirtual sun.nio.ch.AllocatedNativeObject.free:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/DevPollArrayWrapper;
Exceptions:
throws java.io.IOException
int poll(long);
descriptor: (J)I
flags: (0x0000)
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.ch.DevPollArrayWrapper.updateRegistrations:()V
1: aload 0
aload 0
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.pollArrayAddress:J
getstatic sun.nio.ch.DevPollArrayWrapper.NUM_POLLFDS:I
lload 1
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.wfd:I
invokevirtual sun.nio.ch.DevPollArrayWrapper.poll0:(JIJI)I
putfield sun.nio.ch.DevPollArrayWrapper.updated:I
2: iconst_0
istore 3
start local 3 3: goto 9
4: StackMap locals: int
StackMap stack:
aload 0
iload 3
invokevirtual sun.nio.ch.DevPollArrayWrapper.getDescriptor:(I)I
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.incomingInterruptFD:I
if_icmpne 8
5: aload 0
iload 3
putfield sun.nio.ch.DevPollArrayWrapper.interruptedIndex:I
6: aload 0
iconst_1
putfield sun.nio.ch.DevPollArrayWrapper.interrupted:Z
7: goto 10
8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.updated:I
if_icmplt 4
end local 3 10: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.updated:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/nio/ch/DevPollArrayWrapper;
0 11 1 timeout J
3 10 3 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
timeout
void updateRegistrations();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.updateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 28
4: StackMap locals: java.lang.Object int int
StackMap stack:
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.updateDescriptors:[I
iload 2
iaload
istore 4
start local 4 5: aload 0
iload 4
invokevirtual sun.nio.ch.DevPollArrayWrapper.getUpdateEvents:(I)B
istore 5
start local 5 6: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.registered:Ljava/util/BitSet;
iload 4
invokevirtual java.util.BitSet.get:(I)Z
istore 6
start local 6 7: iload 5
iconst_m1
if_icmpeq 17
8: iload 5
ifne 15
9: iload 6
ifeq 13
10: sipush 2048
istore 5
11: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.registered:Ljava/util/BitSet;
iload 4
invokevirtual java.util.BitSet.clear:(I)V
12: goto 17
13: StackMap locals: int int int
StackMap stack:
iconst_m1
istore 5
14: goto 17
15: StackMap locals:
StackMap stack:
iload 6
ifne 17
16: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.registered:Ljava/util/BitSet;
iload 4
invokevirtual java.util.BitSet.set:(I)V
17: StackMap locals:
StackMap stack:
iload 5
iconst_m1
if_icmpeq 27
18: iload 6
ifeq 21
iload 5
sipush 2048
if_icmpeq 21
19: aload 0
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
iload 3
iload 4
sipush 2048
invokevirtual sun.nio.ch.DevPollArrayWrapper.putPollFD:(Lsun/nio/ch/AllocatedNativeObject;IIS)V
20: iinc 3 1
21: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
iload 3
iload 4
iload 5
invokevirtual sun.nio.ch.DevPollArrayWrapper.putPollFD:(Lsun/nio/ch/AllocatedNativeObject;IIS)V
22: iinc 3 1
23: iload 3
getstatic sun.nio.ch.DevPollArrayWrapper.NUM_POLLFDS:I
iconst_1
isub
if_icmplt 26
24: aload 0
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.wfd:I
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
invokevirtual sun.nio.ch.AllocatedNativeObject.address:()J
iload 3
invokevirtual sun.nio.ch.DevPollArrayWrapper.registerMultiple:(IJI)V
25: iconst_0
istore 3
26: StackMap locals:
StackMap stack:
aload 0
iload 4
iconst_m1
invokevirtual sun.nio.ch.DevPollArrayWrapper.setUpdateEvents:(IB)V
27: StackMap locals:
StackMap stack:
iinc 2 1
end local 6 end local 5 end local 4 28: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.updateCount:I
if_icmplt 4
29: iload 3
ifle 31
30: aload 0
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.wfd:I
aload 0
getfield sun.nio.ch.DevPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
invokevirtual sun.nio.ch.AllocatedNativeObject.address:()J
iload 3
invokevirtual sun.nio.ch.DevPollArrayWrapper.registerMultiple:(IJI)V
31: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.nio.ch.DevPollArrayWrapper.updateCount:I
end local 3 end local 2 32: aload 1
monitorexit
33: goto 36
StackMap locals: sun.nio.ch.DevPollArrayWrapper java.lang.Object
StackMap stack: java.lang.Throwable
34: aload 1
monitorexit
35: athrow
36: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lsun/nio/ch/DevPollArrayWrapper;
2 32 2 j I
3 32 3 index I
5 28 4 fd I
6 28 5 events S
7 28 6 wasRegistered Z
Exception table:
from to target type
1 33 34 any
34 35 34 any
Exceptions:
throws java.io.IOException
private void putPollFD(sun.nio.ch.AllocatedNativeObject, int, int, short);
descriptor: (Lsun/nio/ch/AllocatedNativeObject;IIS)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: bipush 8
iload 2
imul
istore 5
start local 5 1: aload 1
iload 5
iconst_0
iadd
iload 3
invokevirtual sun.nio.ch.AllocatedNativeObject.putInt:(II)V
2: aload 1
iload 5
iconst_4
iadd
iload 4
invokevirtual sun.nio.ch.AllocatedNativeObject.putShort:(IS)V
3: aload 1
iload 5
bipush 6
iadd
iconst_0
invokevirtual sun.nio.ch.AllocatedNativeObject.putShort:(IS)V
4: return
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 Lsun/nio/ch/DevPollArrayWrapper;
0 5 1 array Lsun/nio/ch/AllocatedNativeObject;
0 5 2 index I
0 5 3 fd I
0 5 4 event S
1 5 5 structIndex I
MethodParameters:
Name Flags
array
index
fd
event
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.DevPollArrayWrapper.outgoingInterruptFD:I
invokestatic sun.nio.ch.DevPollArrayWrapper.interrupt:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/DevPollArrayWrapper;
public int interruptedIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.interruptedIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/DevPollArrayWrapper;
boolean interrupted();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.DevPollArrayWrapper.interrupted:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/DevPollArrayWrapper;
void clearInterrupted();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.nio.ch.DevPollArrayWrapper.interrupted:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/DevPollArrayWrapper;
private native int init();
descriptor: ()I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
private native void register(int, int, int);
descriptor: (III)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
wfd
fd
mask
private native void registerMultiple(int, long, int);
descriptor: (IJI)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
wfd
address
len
private native int poll0(long, int, long, int);
descriptor: (JIJI)I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
pollAddress
numfds
timeout
wfd
private static native void interrupt(int);
descriptor: (I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
}
SourceFile: "DevPollArrayWrapper.java"