final class sun.nio.ch.AixPollPort extends sun.nio.ch.Port
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.nio.ch.AixPollPort
super_class: sun.nio.ch.Port
{
private static final sun.misc.Unsafe unsafe;
descriptor: Lsun/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int SIZEOF_POLLFD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int OFFSETOF_EVENTS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int OFFSETOF_REVENTS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int OFFSETOF_FD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int PS_ADD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int PS_MOD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int PS_DELETE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int MAX_POLL_EVENTS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 512
private final int pollset;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final int[] sp;
descriptor: [I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int[] ctlSp;
descriptor: [I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger wakeupCount;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long address;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.ArrayBlockingQueue<sun.nio.ch.AixPollPort$Event> queue;
descriptor: Ljava/util/concurrent/ArrayBlockingQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ArrayBlockingQueue<Lsun/nio/ch/AixPollPort$Event;>;
private final sun.nio.ch.AixPollPort$Event NEED_TO_POLL;
descriptor: Lsun/nio/ch/AixPollPort$Event;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.nio.ch.AixPollPort$Event EXECUTE_TASK_OR_SHUTDOWN;
descriptor: Lsun/nio/ch/AixPollPort$Event;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.HashSet<sun.nio.ch.AixPollPort$ControlEvent> controlQueue;
descriptor: Ljava/util/HashSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/HashSet<Lsun/nio/ch/AixPollPort$ControlEvent;>;
private final java.util.concurrent.locks.ReentrantLock controlLock;
descriptor: Ljava/util/concurrent/locks/ReentrantLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.misc.Unsafe.getUnsafe:()Lsun/misc/Unsafe;
putstatic sun.nio.ch.AixPollPort.unsafe:Lsun/misc/Unsafe;
1: invokestatic sun.nio.ch.IOUtil.load:()V
2: invokestatic sun.nio.ch.AixPollPort.init:()V
3: invokestatic sun.nio.ch.AixPollPort.eventSize:()I
putstatic sun.nio.ch.AixPollPort.SIZEOF_POLLFD:I
4: invokestatic sun.nio.ch.AixPollPort.eventsOffset:()I
putstatic sun.nio.ch.AixPollPort.OFFSETOF_EVENTS:I
5: invokestatic sun.nio.ch.AixPollPort.reventsOffset:()I
putstatic sun.nio.ch.AixPollPort.OFFSETOF_REVENTS:I
6: invokestatic sun.nio.ch.AixPollPort.fdOffset:()I
putstatic sun.nio.ch.AixPollPort.OFFSETOF_FD:I
7: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.nio.channels.spi.AsynchronousChannelProvider, sun.nio.ch.ThreadPool);
descriptor: (Ljava/nio/channels/spi/AsynchronousChannelProvider;Lsun/nio/ch/ThreadPool;)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.nio.ch.Port.<init>:(Ljava/nio/channels/spi/AsynchronousChannelProvider;Lsun/nio/ch/ThreadPool;)V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield sun.nio.ch.AixPollPort.wakeupCount:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
new sun.nio.ch.AixPollPort$Event
dup
aconst_null
iconst_0
invokespecial sun.nio.ch.AixPollPort$Event.<init>:(Lsun/nio/ch/Port$PollableChannel;I)V
putfield sun.nio.ch.AixPollPort.NEED_TO_POLL:Lsun/nio/ch/AixPollPort$Event;
3: aload 0
new sun.nio.ch.AixPollPort$Event
dup
aconst_null
iconst_0
invokespecial sun.nio.ch.AixPollPort$Event.<init>:(Lsun/nio/ch/Port$PollableChannel;I)V
putfield sun.nio.ch.AixPollPort.EXECUTE_TASK_OR_SHUTDOWN:Lsun/nio/ch/AixPollPort$Event;
4: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield sun.nio.ch.AixPollPort.controlQueue:Ljava/util/HashSet;
5: aload 0
new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield sun.nio.ch.AixPollPort.controlLock:Ljava/util/concurrent/locks/ReentrantLock;
6: aload 0
invokestatic sun.nio.ch.AixPollPort.pollsetCreate:()I
putfield sun.nio.ch.AixPollPort.pollset:I
7: iconst_2
newarray 10
astore 3
start local 3 8: aload 3
invokestatic sun.nio.ch.AixPollPort.socketpair:([I)V
9: aload 0
getfield sun.nio.ch.AixPollPort.pollset:I
iconst_0
aload 3
iconst_0
iaload
getstatic sun.nio.ch.Net.POLLIN:S
invokestatic sun.nio.ch.AixPollPort.pollsetCtl:(IIII)I
pop
10: goto 14
StackMap locals: sun.nio.ch.AixPollPort java.nio.channels.spi.AsynchronousChannelProvider sun.nio.ch.ThreadPool int[]
StackMap stack: java.io.IOException
11: astore 4
start local 4 12: aload 0
getfield sun.nio.ch.AixPollPort.pollset:I
invokestatic sun.nio.ch.AixPollPort.pollsetDestroy:(I)V
13: aload 4
athrow
end local 4 14: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield sun.nio.ch.AixPollPort.sp:[I
15: iconst_2
newarray 10
astore 3
16: aload 3
invokestatic sun.nio.ch.AixPollPort.socketpair:([I)V
17: aload 0
getfield sun.nio.ch.AixPollPort.pollset:I
iconst_0
aload 3
iconst_0
iaload
getstatic sun.nio.ch.Net.POLLIN:S
invokestatic sun.nio.ch.AixPollPort.pollsetCtl:(IIII)I
pop
18: goto 22
StackMap locals:
StackMap stack: java.io.IOException
19: astore 4
start local 4 20: aload 0
getfield sun.nio.ch.AixPollPort.pollset:I
invokestatic sun.nio.ch.AixPollPort.pollsetDestroy:(I)V
21: aload 4
athrow
end local 4 22: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield sun.nio.ch.AixPollPort.ctlSp:[I
23: aload 0
sipush 512
invokestatic sun.nio.ch.AixPollPort.allocatePollArray:(I)J
putfield sun.nio.ch.AixPollPort.address:J
24: aload 0
new java.util.concurrent.ArrayBlockingQueue
dup
sipush 512
invokespecial java.util.concurrent.ArrayBlockingQueue.<init>:(I)V
putfield sun.nio.ch.AixPollPort.queue:Ljava/util/concurrent/ArrayBlockingQueue;
25: aload 0
getfield sun.nio.ch.AixPollPort.queue:Ljava/util/concurrent/ArrayBlockingQueue;
aload 0
getfield sun.nio.ch.AixPollPort.NEED_TO_POLL:Lsun/nio/ch/AixPollPort$Event;
invokevirtual java.util.concurrent.ArrayBlockingQueue.offer:(Ljava/lang/Object;)Z
pop
26: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/nio/ch/AixPollPort;
0 27 1 provider Ljava/nio/channels/spi/AsynchronousChannelProvider;
0 27 2 pool Lsun/nio/ch/ThreadPool;
8 27 3 sv [I
12 14 4 x Ljava/io/IOException;
20 22 4 x Ljava/io/IOException;
Exception table:
from to target type
8 10 11 Class java.io.IOException
16 18 19 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
provider
pool
sun.nio.ch.AixPollPort start();
descriptor: ()Lsun/nio/ch/AixPollPort;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new sun.nio.ch.AixPollPort$EventHandlerTask
dup
aload 0
invokespecial sun.nio.ch.AixPollPort$EventHandlerTask.<init>:(Lsun/nio/ch/AixPollPort;)V
invokevirtual sun.nio.ch.AixPollPort.startThreads:(Ljava/lang/Runnable;)V
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/AixPollPort;
private void implClose();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield sun.nio.ch.AixPollPort.closed:Z
ifeq 4
2: aload 1
monitorexit
3: return
4: StackMap locals: sun.nio.ch.AixPollPort
StackMap stack:
aload 0
iconst_1
putfield sun.nio.ch.AixPollPort.closed:Z
5: aload 1
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AixPollPort.address:J
invokestatic sun.nio.ch.AixPollPort.freePollArray:(J)V
10: aload 0
getfield sun.nio.ch.AixPollPort.sp:[I
iconst_0
iaload
invokestatic sun.nio.ch.AixPollPort.close0:(I)V
11: aload 0
getfield sun.nio.ch.AixPollPort.sp:[I
iconst_1
iaload
invokestatic sun.nio.ch.AixPollPort.close0:(I)V
12: aload 0
getfield sun.nio.ch.AixPollPort.ctlSp:[I
iconst_0
iaload
invokestatic sun.nio.ch.AixPollPort.close0:(I)V
13: aload 0
getfield sun.nio.ch.AixPollPort.ctlSp:[I
iconst_1
iaload
invokestatic sun.nio.ch.AixPollPort.close0:(I)V
14: aload 0
getfield sun.nio.ch.AixPollPort.pollset:I
invokestatic sun.nio.ch.AixPollPort.pollsetDestroy:(I)V
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/nio/ch/AixPollPort;
Exception table:
from to target type
1 3 7 any
4 6 7 any
7 8 7 any
private void wakeup();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.AixPollPort.wakeupCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
iconst_1
if_icmpne 5
1: aload 0
getfield sun.nio.ch.AixPollPort.sp:[I
iconst_1
iaload
invokestatic sun.nio.ch.AixPollPort.interrupt:(I)V
2: goto 5
StackMap locals:
StackMap stack: java.io.IOException
3: astore 1
start local 1 4: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/ch/AixPollPort;
4 5 1 x Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
void executeOnHandlerTask(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield sun.nio.ch.AixPollPort.closed:Z
ifeq 3
2: new java.util.concurrent.RejectedExecutionException
dup
invokespecial java.util.concurrent.RejectedExecutionException.<init>:()V
athrow
3: StackMap locals: sun.nio.ch.AixPollPort
StackMap stack:
aload 0
aload 1
invokevirtual sun.nio.ch.AixPollPort.offerTask:(Ljava/lang/Runnable;)V
4: aload 0
invokevirtual sun.nio.ch.AixPollPort.wakeup:()V
5: 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/AixPollPort;
0 10 1 task Ljava/lang/Runnable;
Exception table:
from to target type
1 6 7 any
7 8 7 any
MethodParameters:
Name Flags
task
void shutdownHandlerTasks();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.AixPollPort.threadCount:()I
istore 1
start local 1 1: iload 1
ifne 5
2: aload 0
invokevirtual sun.nio.ch.AixPollPort.implClose:()V
3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
invokevirtual sun.nio.ch.AixPollPort.wakeup:()V
5: StackMap locals:
StackMap stack:
iload 1
iinc 1 -1
ifgt 4
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/nio/ch/AixPollPort;
1 7 1 nThreads I
void startPoll(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new sun.nio.ch.AixPollPort$ControlEvent
dup
iload 1
iload 2
iconst_0
invokespecial sun.nio.ch.AixPollPort$ControlEvent.<init>:(IIZ)V
invokevirtual sun.nio.ch.AixPollPort.queueControlEvent:(Lsun/nio/ch/AixPollPort$ControlEvent;)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/AixPollPort;
0 2 1 fd I
0 2 2 events I
MethodParameters:
Name Flags
fd
events
void unregisterImpl(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new sun.nio.ch.AixPollPort$ControlEvent
dup
iload 1
iconst_0
iconst_1
invokespecial sun.nio.ch.AixPollPort$ControlEvent.<init>:(IIZ)V
invokevirtual sun.nio.ch.AixPollPort.queueControlEvent:(Lsun/nio/ch/AixPollPort$ControlEvent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/AixPollPort;
0 2 1 fd I
MethodParameters:
Name Flags
fd
private void queueControlEvent(sun.nio.ch.AixPollPort$ControlEvent);
descriptor: (Lsun/nio/ch/AixPollPort$ControlEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.AixPollPort.controlQueue:Ljava/util/HashSet;
dup
astore 2
monitorenter
1: aload 0
getfield sun.nio.ch.AixPollPort.controlQueue:Ljava/util/HashSet;
aload 1
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield sun.nio.ch.AixPollPort.ctlSp:[I
iconst_1
iaload
invokestatic sun.nio.ch.AixPollPort.interrupt:(I)V
3: goto 6
StackMap locals: sun.nio.ch.AixPollPort sun.nio.ch.AixPollPort$ControlEvent java.util.HashSet
StackMap stack: java.io.IOException
4: astore 3
start local 3 5: new java.lang.AssertionError
dup
aload 3
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 3 6: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AixPollPort.controlLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.tryLock:()Z
ifeq 14
7: aload 0
invokevirtual sun.nio.ch.AixPollPort.processControlQueue:()V
8: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 3
10: aload 0
getfield sun.nio.ch.AixPollPort.controlLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
11: aload 3
athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AixPollPort.controlLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
13: goto 17
14: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AixPollPort.controlQueue:Ljava/util/HashSet;
ldc 100
invokevirtual java.lang.Object.wait:(J)V
15: goto 17
StackMap locals:
StackMap stack: java.lang.InterruptedException
16: pop
17: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AixPollPort.controlQueue:Ljava/util/HashSet;
aload 1
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifne 6
18: aload 2
monitorexit
19: goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
20: aload 2
monitorexit
21: athrow
22: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.nio.ch.AixPollPort$ControlEvent.error:()I
ifeq 24
23: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
24: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/nio/ch/AixPollPort;
0 25 1 ev Lsun/nio/ch/AixPollPort$ControlEvent;
5 6 3 x Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
7 9 9 any
14 15 16 Class java.lang.InterruptedException
1 19 20 any
20 21 20 any
MethodParameters:
Name Flags
ev
private void processControlQueue();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.AixPollPort.controlQueue:Ljava/util/HashSet;
dup
astore 1
monitorenter
1: aload 0
getfield sun.nio.ch.AixPollPort.controlQueue:Ljava/util/HashSet;
invokevirtual java.util.HashSet.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 8
3: StackMap locals: java.util.HashSet java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.nio.ch.AixPollPort$ControlEvent
astore 3
start local 3 4: aload 0
getfield sun.nio.ch.AixPollPort.pollset:I
iconst_2
aload 3
invokevirtual sun.nio.ch.AixPollPort$ControlEvent.fd:()I
iconst_0
invokestatic sun.nio.ch.AixPollPort.pollsetCtl:(IIII)I
pop
5: aload 3
invokevirtual sun.nio.ch.AixPollPort$ControlEvent.removeOnly:()Z
ifne 7
6: aload 3
aload 0
getfield sun.nio.ch.AixPollPort.pollset:I
iconst_1
aload 3
invokevirtual sun.nio.ch.AixPollPort$ControlEvent.fd:()I
aload 3
invokevirtual sun.nio.ch.AixPollPort$ControlEvent.events:()I
invokestatic sun.nio.ch.AixPollPort.pollsetCtl:(IIII)I
invokevirtual sun.nio.ch.AixPollPort$ControlEvent.setError:(I)V
7: StackMap locals: sun.nio.ch.AixPollPort$ControlEvent
StackMap stack:
aload 2
invokeinterface java.util.Iterator.remove:()V
end local 3 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: aload 0
getfield sun.nio.ch.AixPollPort.controlQueue:Ljava/util/HashSet;
invokevirtual java.lang.Object.notifyAll:()V
end local 2 10: aload 1
monitorexit
11: goto 14
StackMap locals: sun.nio.ch.AixPollPort java.util.HashSet
StackMap stack: java.lang.Throwable
12: aload 1
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/nio/ch/AixPollPort;
2 10 2 iter Ljava/util/Iterator<Lsun/nio/ch/AixPollPort$ControlEvent;>;
4 8 3 ev Lsun/nio/ch/AixPollPort$ControlEvent;
Exception table:
from to target type
1 11 12 any
12 13 12 any
private static long allocatePollArray(int);
descriptor: (I)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic sun.nio.ch.AixPollPort.unsafe:Lsun/misc/Unsafe;
iload 0
getstatic sun.nio.ch.AixPollPort.SIZEOF_POLLFD:I
imul
i2l
invokevirtual sun.misc.Unsafe.allocateMemory:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 count I
MethodParameters:
Name Flags
count
private static void freePollArray(long);
descriptor: (J)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic sun.nio.ch.AixPollPort.unsafe:Lsun/misc/Unsafe;
lload 0
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 address J
MethodParameters:
Name Flags
address
private static long getEvent(long, int);
descriptor: (JI)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 2 0: lload 0
getstatic sun.nio.ch.AixPollPort.SIZEOF_POLLFD:I
iload 2
imul
i2l
ladd
lreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 address J
0 1 2 i I
MethodParameters:
Name Flags
address
i
private static int getDescriptor(long);
descriptor: (J)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic sun.nio.ch.AixPollPort.unsafe:Lsun/misc/Unsafe;
lload 0
getstatic sun.nio.ch.AixPollPort.OFFSETOF_FD:I
i2l
ladd
invokevirtual sun.misc.Unsafe.getInt:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 eventAddress J
MethodParameters:
Name Flags
eventAddress
private static int getEvents(long);
descriptor: (J)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic sun.nio.ch.AixPollPort.unsafe:Lsun/misc/Unsafe;
lload 0
getstatic sun.nio.ch.AixPollPort.OFFSETOF_EVENTS:I
i2l
ladd
invokevirtual sun.misc.Unsafe.getChar:(J)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 eventAddress J
MethodParameters:
Name Flags
eventAddress
private static int getRevents(long);
descriptor: (J)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic sun.nio.ch.AixPollPort.unsafe:Lsun/misc/Unsafe;
lload 0
getstatic sun.nio.ch.AixPollPort.OFFSETOF_REVENTS:I
i2l
ladd
invokevirtual sun.misc.Unsafe.getChar:(J)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 eventAddress J
MethodParameters:
Name Flags
eventAddress
private static native void init();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int eventSize();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int eventsOffset();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int reventsOffset();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int fdOffset();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int pollsetCreate();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
private static native int pollsetCtl(int, int, int, int);
descriptor: (IIII)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
pollset
opcode
fd
events
private static native int pollsetPoll(int, long, int);
descriptor: (IJI)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
pollset
pollAddress
numfds
private static native void pollsetDestroy(int);
descriptor: (I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
pollset
private static native void socketpair(int[]);
descriptor: ([I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sv
private static native void interrupt(int);
descriptor: (I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
private static native void drain1(int);
descriptor: (I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
private static native void close0(int);
descriptor: (I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
}
SourceFile: "AixPollPort.java"
NestMembers:
sun.nio.ch.AixPollPort$ControlEvent sun.nio.ch.AixPollPort$Event sun.nio.ch.AixPollPort$EventHandlerTask
InnerClasses:
ControlEvent = sun.nio.ch.AixPollPort$ControlEvent of sun.nio.ch.AixPollPort
Event = sun.nio.ch.AixPollPort$Event of sun.nio.ch.AixPollPort
private EventHandlerTask = sun.nio.ch.AixPollPort$EventHandlerTask of sun.nio.ch.AixPollPort
abstract PollableChannel = sun.nio.ch.Port$PollableChannel of sun.nio.ch.Port