class sun.nio.ch.EPollArrayWrapper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.EPollArrayWrapper
super_class: java.lang.Object
{
private static final int EPOLLIN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int EPOLL_CTL_ADD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int EPOLL_CTL_DEL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int EPOLL_CTL_MOD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int SIZE_EPOLLEVENT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int EVENT_OFFSET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int DATA_OFFSET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int FD_OFFSET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int OPEN_MAX;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int NUM_EPOLLEVENTS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte KILLED;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
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 int epfd;
descriptor: I
flags: (0x0012) ACC_PRIVATE, 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 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 final java.util.Map<java.lang.Integer, java.lang.Byte> eventsHigh;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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
private boolean interrupted;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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/EPollArrayWrapper;
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.EPollArrayWrapper.$assertionsDisabled:Z
3: invokestatic sun.nio.ch.EPollArrayWrapper.sizeofEPollEvent:()I
putstatic sun.nio.ch.EPollArrayWrapper.SIZE_EPOLLEVENT:I
4: invokestatic sun.nio.ch.EPollArrayWrapper.offsetofData:()I
putstatic sun.nio.ch.EPollArrayWrapper.DATA_OFFSET:I
5: getstatic sun.nio.ch.EPollArrayWrapper.DATA_OFFSET:I
putstatic sun.nio.ch.EPollArrayWrapper.FD_OFFSET:I
6: invokestatic sun.nio.ch.IOUtil.fdLimit:()I
putstatic sun.nio.ch.EPollArrayWrapper.OPEN_MAX:I
7: getstatic sun.nio.ch.EPollArrayWrapper.OPEN_MAX:I
sipush 8192
invokestatic java.lang.Math.min:(II)I
putstatic sun.nio.ch.EPollArrayWrapper.NUM_EPOLLEVENTS:I
8: new sun.security.action.GetIntegerAction
dup
ldc "sun.nio.ch.maxUpdateArraySize"
getstatic sun.nio.ch.EPollArrayWrapper.OPEN_MAX:I
ldc 65536
invokestatic java.lang.Math.min:(II)I
invokespecial sun.security.action.GetIntegerAction.<init>:(Ljava/lang/String;I)V
9: 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.EPollArrayWrapper.MAX_UPDATE_ARRAY_SIZE:I
10: invokestatic sun.nio.ch.IOUtil.load:()V
11: invokestatic sun.nio.ch.EPollArrayWrapper.init:()V
12: 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.EPollArrayWrapper.updateLock:Ljava/lang/Object;
2: aload 0
bipush 64
newarray 10
putfield sun.nio.ch.EPollArrayWrapper.updateDescriptors:[I
3: aload 0
getstatic sun.nio.ch.EPollArrayWrapper.MAX_UPDATE_ARRAY_SIZE:I
newarray 8
putfield sun.nio.ch.EPollArrayWrapper.eventsLow:[B
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.nio.ch.EPollArrayWrapper.eventsHigh:Ljava/util/Map;
5: aload 0
new java.util.BitSet
dup
invokespecial java.util.BitSet.<init>:()V
putfield sun.nio.ch.EPollArrayWrapper.registered:Ljava/util/BitSet;
6: aload 0
iconst_0
putfield sun.nio.ch.EPollArrayWrapper.interrupted:Z
7: aload 0
aload 0
invokevirtual sun.nio.ch.EPollArrayWrapper.epollCreate:()I
putfield sun.nio.ch.EPollArrayWrapper.epfd:I
8: getstatic sun.nio.ch.EPollArrayWrapper.NUM_EPOLLEVENTS:I
getstatic sun.nio.ch.EPollArrayWrapper.SIZE_EPOLLEVENT:I
imul
istore 1
start local 1 9: aload 0
new sun.nio.ch.AllocatedNativeObject
dup
iload 1
iconst_1
invokespecial sun.nio.ch.AllocatedNativeObject.<init>:(IZ)V
putfield sun.nio.ch.EPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
10: aload 0
aload 0
getfield sun.nio.ch.EPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
invokevirtual sun.nio.ch.AllocatedNativeObject.address:()J
putfield sun.nio.ch.EPollArrayWrapper.pollArrayAddress:J
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/nio/ch/EPollArrayWrapper;
9 12 1 allocationSize I
Exceptions:
throws java.io.IOException
void initInterrupt(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
putfield sun.nio.ch.EPollArrayWrapper.outgoingInterruptFD:I
1: aload 0
iload 1
putfield sun.nio.ch.EPollArrayWrapper.incomingInterruptFD:I
2: aload 0
aload 0
getfield sun.nio.ch.EPollArrayWrapper.epfd:I
iconst_1
iload 1
iconst_1
invokevirtual sun.nio.ch.EPollArrayWrapper.epollCtl:(IIII)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/EPollArrayWrapper;
0 4 1 fd0 I
0 4 2 fd1 I
MethodParameters:
Name Flags
fd0
fd1
void putEventOps(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: getstatic sun.nio.ch.EPollArrayWrapper.SIZE_EPOLLEVENT:I
iload 1
imul
iconst_0
iadd
istore 3
start local 3 1: aload 0
getfield sun.nio.ch.EPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
iload 3
iload 2
invokevirtual sun.nio.ch.AllocatedNativeObject.putInt:(II)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/EPollArrayWrapper;
0 3 1 i I
0 3 2 event I
1 3 3 offset I
MethodParameters:
Name Flags
i
event
void putDescriptor(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: getstatic sun.nio.ch.EPollArrayWrapper.SIZE_EPOLLEVENT:I
iload 1
imul
getstatic sun.nio.ch.EPollArrayWrapper.FD_OFFSET:I
iadd
istore 3
start local 3 1: aload 0
getfield sun.nio.ch.EPollArrayWrapper.pollArray:Lsun/nio/ch/AllocatedNativeObject;
iload 3
iload 2
invokevirtual sun.nio.ch.AllocatedNativeObject.putInt:(II)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/EPollArrayWrapper;
0 3 1 i I
0 3 2 fd I
1 3 3 offset I
MethodParameters:
Name Flags
i
fd
int getEventOps(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic sun.nio.ch.EPollArrayWrapper.SIZE_EPOLLEVENT:I
iload 1
imul
iconst_0
iadd
istore 2
start local 2 1: aload 0
getfield sun.nio.ch.EPollArrayWrapper.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/EPollArrayWrapper;
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: getstatic sun.nio.ch.EPollArrayWrapper.SIZE_EPOLLEVENT:I
iload 1
imul
getstatic sun.nio.ch.EPollArrayWrapper.FD_OFFSET:I
iadd
istore 2
start local 2 1: aload 0
getfield sun.nio.ch.EPollArrayWrapper.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/EPollArrayWrapper;
0 2 1 i I
1 2 2 offset I
MethodParameters:
Name Flags
i
private boolean isEventsHighKilled(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic sun.nio.ch.EPollArrayWrapper.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual java.lang.Integer.intValue:()I
getstatic sun.nio.ch.EPollArrayWrapper.MAX_UPDATE_ARRAY_SIZE:I
if_icmpge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.EPollArrayWrapper.eventsHigh:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Byte
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokevirtual java.lang.Byte.byteValue:()B
iconst_m1
if_icmpne 3
iconst_1
ireturn
StackMap locals: java.lang.Byte
StackMap stack:
3: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/ch/EPollArrayWrapper;
0 4 1 key Ljava/lang/Integer;
2 4 2 value Ljava/lang/Byte;
MethodParameters:
Name Flags
key
private void setUpdateEvents(int, byte, boolean);
descriptor: (IBZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
getstatic sun.nio.ch.EPollArrayWrapper.MAX_UPDATE_ARRAY_SIZE:I
if_icmpge 4
1: aload 0
getfield sun.nio.ch.EPollArrayWrapper.eventsLow:[B
iload 1
baload
iconst_m1
if_icmpne 2
iload 3
ifeq 7
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.EPollArrayWrapper.eventsLow:[B
iload 1
iload 2
bastore
3: goto 7
4: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 4
start local 4 5: aload 0
aload 4
invokevirtual sun.nio.ch.EPollArrayWrapper.isEventsHighKilled:(Ljava/lang/Integer;)Z
ifeq 6
iload 3
ifeq 7
6: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
getfield sun.nio.ch.EPollArrayWrapper.eventsHigh:Ljava/util/Map;
aload 4
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
end local 4 7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/ch/EPollArrayWrapper;
0 8 1 fd I
0 8 2 events B
0 8 3 force Z
5 7 4 key Ljava/lang/Integer;
MethodParameters:
Name Flags
fd
events
force
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.EPollArrayWrapper.MAX_UPDATE_ARRAY_SIZE:I
if_icmpge 2
1: aload 0
getfield sun.nio.ch.EPollArrayWrapper.eventsLow:[B
iload 1
baload
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.EPollArrayWrapper.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/EPollArrayWrapper;
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.EPollArrayWrapper.updateLock:Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
getfield sun.nio.ch.EPollArrayWrapper.updateDescriptors:[I
arraylength
istore 4
start local 4 2: aload 0
getfield sun.nio.ch.EPollArrayWrapper.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.EPollArrayWrapper.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.EPollArrayWrapper.updateDescriptors:[I
end local 6 end local 5 7: StackMap locals: java.lang.Object int
StackMap stack:
aload 0
getfield sun.nio.ch.EPollArrayWrapper.updateDescriptors:[I
aload 0
dup
getfield sun.nio.ch.EPollArrayWrapper.updateCount:I
dup_x1
iconst_1
iadd
putfield sun.nio.ch.EPollArrayWrapper.updateCount:I
iload 1
iastore
8: iload 2
i2b
istore 5
start local 5 9: getstatic sun.nio.ch.EPollArrayWrapper.$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
iconst_0
invokevirtual sun.nio.ch.EPollArrayWrapper.setUpdateEvents:(IBZ)V
end local 5 end local 4 12: aload 3
monitorexit
13: goto 16
StackMap locals: sun.nio.ch.EPollArrayWrapper 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/EPollArrayWrapper;
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 add(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.EPollArrayWrapper.updateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: getstatic sun.nio.ch.EPollArrayWrapper.$assertionsDisabled:Z
ifne 2
aload 0
getfield sun.nio.ch.EPollArrayWrapper.registered:Ljava/util/BitSet;
iload 1
invokevirtual java.util.BitSet.get:(I)Z
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: java.lang.Object
StackMap stack:
aload 0
iload 1
iconst_0
iconst_1
invokevirtual sun.nio.ch.EPollArrayWrapper.setUpdateEvents:(IBZ)V
3: aload 2
monitorexit
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/ch/EPollArrayWrapper;
0 8 1 fd I
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
fd
void remove(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.EPollArrayWrapper.updateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
iload 1
iconst_m1
iconst_0
invokevirtual sun.nio.ch.EPollArrayWrapper.setUpdateEvents:(IBZ)V
2: aload 0
getfield sun.nio.ch.EPollArrayWrapper.registered:Ljava/util/BitSet;
iload 1
invokevirtual java.util.BitSet.get:(I)Z
ifeq 5
3: aload 0
aload 0
getfield sun.nio.ch.EPollArrayWrapper.epfd:I
iconst_2
iload 1
iconst_0
invokevirtual sun.nio.ch.EPollArrayWrapper.epollCtl:(IIII)V
4: aload 0
getfield sun.nio.ch.EPollArrayWrapper.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/EPollArrayWrapper;
0 10 1 fd I
Exception table:
from to target type
1 6 7 any
7 8 7 any
MethodParameters:
Name Flags
fd
void closeEPollFD();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.EPollArrayWrapper.epfd:I
invokestatic sun.nio.ch.FileDispatcherImpl.closeIntFD:(I)V
1: aload 0
getfield sun.nio.ch.EPollArrayWrapper.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/EPollArrayWrapper;
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.EPollArrayWrapper.updateRegistrations:()V
1: aload 0
aload 0
aload 0
getfield sun.nio.ch.EPollArrayWrapper.pollArrayAddress:J
getstatic sun.nio.ch.EPollArrayWrapper.NUM_EPOLLEVENTS:I
lload 1
aload 0
getfield sun.nio.ch.EPollArrayWrapper.epfd:I
invokevirtual sun.nio.ch.EPollArrayWrapper.epollWait:(JIJI)I
putfield sun.nio.ch.EPollArrayWrapper.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.EPollArrayWrapper.getDescriptor:(I)I
aload 0
getfield sun.nio.ch.EPollArrayWrapper.incomingInterruptFD:I
if_icmpne 8
5: aload 0
iload 3
putfield sun.nio.ch.EPollArrayWrapper.interruptedIndex:I
6: aload 0
iconst_1
putfield sun.nio.ch.EPollArrayWrapper.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.EPollArrayWrapper.updated:I
if_icmplt 4
end local 3 10: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.EPollArrayWrapper.updated:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/nio/ch/EPollArrayWrapper;
0 11 1 timeout J
3 10 3 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
timeout
private void updateRegistrations();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.EPollArrayWrapper.updateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: iconst_0
istore 2
start local 2 2: goto 24
3: StackMap locals: java.lang.Object int
StackMap stack:
aload 0
getfield sun.nio.ch.EPollArrayWrapper.updateDescriptors:[I
iload 2
iaload
istore 3
start local 3 4: aload 0
iload 3
invokevirtual sun.nio.ch.EPollArrayWrapper.getUpdateEvents:(I)B
istore 4
start local 4 5: aload 0
getfield sun.nio.ch.EPollArrayWrapper.registered:Ljava/util/BitSet;
iload 3
invokevirtual java.util.BitSet.get:(I)Z
istore 5
start local 5 6: iconst_0
istore 6
start local 6 7: iload 4
iconst_m1
if_icmpeq 23
8: iload 5
ifeq 13
9: iload 4
ifeq 10
iconst_3
goto 11
StackMap locals: sun.nio.ch.EPollArrayWrapper java.lang.Object int int int int int
StackMap stack:
10: iconst_2
StackMap locals:
StackMap stack: int
11: istore 6
12: goto 16
13: StackMap locals:
StackMap stack:
iload 4
ifeq 14
iconst_1
goto 15
StackMap locals:
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 6
16: StackMap locals:
StackMap stack:
iload 6
ifeq 23
17: aload 0
aload 0
getfield sun.nio.ch.EPollArrayWrapper.epfd:I
iload 6
iload 3
iload 4
invokevirtual sun.nio.ch.EPollArrayWrapper.epollCtl:(IIII)V
18: iload 6
iconst_1
if_icmpne 21
19: aload 0
getfield sun.nio.ch.EPollArrayWrapper.registered:Ljava/util/BitSet;
iload 3
invokevirtual java.util.BitSet.set:(I)V
20: goto 23
StackMap locals:
StackMap stack:
21: iload 6
iconst_2
if_icmpne 23
22: aload 0
getfield sun.nio.ch.EPollArrayWrapper.registered:Ljava/util/BitSet;
iload 3
invokevirtual java.util.BitSet.clear:(I)V
23: StackMap locals:
StackMap stack:
iinc 2 1
end local 6 end local 5 end local 4 end local 3 24: StackMap locals: sun.nio.ch.EPollArrayWrapper java.lang.Object int
StackMap stack:
iload 2
aload 0
getfield sun.nio.ch.EPollArrayWrapper.updateCount:I
if_icmplt 3
25: aload 0
iconst_0
putfield sun.nio.ch.EPollArrayWrapper.updateCount:I
end local 2 26: aload 1
monitorexit
27: goto 30
StackMap locals: sun.nio.ch.EPollArrayWrapper java.lang.Object
StackMap stack: java.lang.Throwable
28: aload 1
monitorexit
29: athrow
30: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lsun/nio/ch/EPollArrayWrapper;
2 26 2 j I
4 24 3 fd I
5 24 4 events S
6 24 5 isRegistered Z
7 24 6 opcode I
Exception table:
from to target type
1 27 28 any
28 29 28 any
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.EPollArrayWrapper.outgoingInterruptFD:I
invokestatic sun.nio.ch.EPollArrayWrapper.interrupt:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/EPollArrayWrapper;
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.EPollArrayWrapper.interruptedIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/EPollArrayWrapper;
boolean interrupted();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.EPollArrayWrapper.interrupted:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/EPollArrayWrapper;
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.EPollArrayWrapper.interrupted:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/EPollArrayWrapper;
private native int epollCreate();
descriptor: ()I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
private native void epollCtl(int, int, int, int);
descriptor: (IIII)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
epfd
opcode
fd
events
private native int epollWait(long, int, long, int);
descriptor: (JIJI)I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
pollAddress
numfds
timeout
epfd
private static native int sizeofEPollEvent();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int offsetofData();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native void interrupt(int);
descriptor: (I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
private static native void init();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
}
SourceFile: "EPollArrayWrapper.java"