class sun.nio.ch.Iocp extends sun.nio.ch.AsynchronousChannelGroupImpl
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.Iocp
super_class: sun.nio.ch.AsynchronousChannelGroupImpl
{
private static final jdk.internal.misc.Unsafe unsafe;
descriptor: Ljdk/internal/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long INVALID_HANDLE_VALUE;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private final java.util.concurrent.locks.ReadWriteLock keyToChannelLock;
descriptor: Ljava/util/concurrent/locks/ReadWriteLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.Integer, sun.nio.ch.Iocp$OverlappedChannel> keyToChannel;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Lsun/nio/ch/Iocp$OverlappedChannel;>;
private int nextCompletionKey;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final long port;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.util.Set<java.lang.Long> staleIoSet;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Long;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.internal.misc.Unsafe.getUnsafe:()Ljdk/internal/misc/Unsafe;
putstatic sun.nio.ch.Iocp.unsafe:Ljdk/internal/misc/Unsafe;
1: invokestatic sun.nio.ch.IOUtil.load:()V
2: invokestatic sun.nio.ch.Iocp.initIDs:()V
3: 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=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.nio.ch.AsynchronousChannelGroupImpl.<init>:(Ljava/nio/channels/spi/AsynchronousChannelProvider;Lsun/nio/ch/ThreadPool;)V
1: aload 0
new java.util.concurrent.locks.ReentrantReadWriteLock
dup
invokespecial java.util.concurrent.locks.ReentrantReadWriteLock.<init>:()V
putfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
2: aload 0
3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.nio.ch.Iocp.keyToChannel:Ljava/util/Map;
4: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield sun.nio.ch.Iocp.staleIoSet:Ljava/util/Set;
5: aload 0
6: ldc -1
lconst_0
iconst_0
aload 0
invokevirtual sun.nio.ch.Iocp.fixedThreadCount:()I
invokestatic sun.nio.ch.Iocp.createIoCompletionPort:(JJII)J
7: putfield sun.nio.ch.Iocp.port:J
8: aload 0
iconst_1
putfield sun.nio.ch.Iocp.nextCompletionKey:I
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/nio/ch/Iocp;
0 10 1 provider Ljava/nio/channels/spi/AsynchronousChannelProvider;
0 10 2 pool Lsun/nio/ch/ThreadPool;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
provider
pool
sun.nio.ch.Iocp start();
descriptor: ()Lsun/nio/ch/Iocp;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new sun.nio.ch.Iocp$EventHandlerTask
dup
aload 0
invokespecial sun.nio.ch.Iocp$EventHandlerTask.<init>:(Lsun/nio/ch/Iocp;)V
invokevirtual sun.nio.ch.Iocp.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/Iocp;
void implClose();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield sun.nio.ch.Iocp.closed:Z
ifeq 4
2: aload 1
monitorexit
3: return
4: StackMap locals: sun.nio.ch.Iocp
StackMap stack:
aload 0
iconst_1
putfield sun.nio.ch.Iocp.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.Iocp.port:J
invokestatic sun.nio.ch.Iocp.close0:(J)V
10: aload 0
getfield sun.nio.ch.Iocp.staleIoSet:Ljava/util/Set;
dup
astore 1
monitorenter
11: aload 0
getfield sun.nio.ch.Iocp.staleIoSet:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 14
StackMap locals: sun.nio.ch.Iocp java.util.Set top java.util.Iterator
StackMap stack:
12: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Long
astore 2
start local 2 13: getstatic sun.nio.ch.Iocp.unsafe:Ljdk/internal/misc/Unsafe;
aload 2
invokevirtual java.lang.Long.longValue:()J
invokevirtual jdk.internal.misc.Unsafe.freeMemory:(J)V
end local 2 14: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: aload 0
getfield sun.nio.ch.Iocp.staleIoSet:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
16: aload 1
monitorexit
17: goto 20
StackMap locals: sun.nio.ch.Iocp java.util.Set
StackMap stack: java.lang.Throwable
18: aload 1
monitorexit
19: athrow
20: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/nio/ch/Iocp;
13 14 2 ov Ljava/lang/Long;
Exception table:
from to target type
1 3 7 any
4 6 7 any
7 8 7 any
11 17 18 any
18 19 18 any
boolean isEmpty();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getfield sun.nio.ch.Iocp.keyToChannel:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
istore 2
2: aload 0
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
3: iload 2
ireturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
5: aload 0
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
6: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/nio/ch/Iocp;
Exception table:
from to target type
1 2 4 any
final java.lang.Object attachForeignChannel(java.nio.channels.Channel, java.io.FileDescriptor);
descriptor: (Ljava/nio/channels/Channel;Ljava/io/FileDescriptor;)Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new sun.nio.ch.Iocp$1
dup
aload 0
aload 1
invokespecial sun.nio.ch.Iocp$1.<init>:(Lsun/nio/ch/Iocp;Ljava/nio/channels/Channel;)V
1: lconst_0
2: invokevirtual sun.nio.ch.Iocp.associate:(Lsun/nio/ch/Iocp$OverlappedChannel;J)I
istore 3
start local 3 3: iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/ch/Iocp;
0 4 1 channel Ljava/nio/channels/Channel;
0 4 2 fdObj Ljava/io/FileDescriptor;
3 4 3 key I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
channel final
fdObj
final void detachForeignChannel(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual sun.nio.ch.Iocp.disassociate:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/Iocp;
0 2 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
void closeAllChannels();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=1
start local 0 0: bipush 32
anewarray sun.nio.ch.Iocp$OverlappedChannel
astore 1
start local 1 1: StackMap locals: sun.nio.ch.Iocp$OverlappedChannel[]
StackMap stack:
aload 0
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: iconst_0
istore 2
start local 2 3: aload 0
getfield sun.nio.ch.Iocp.keyToChannel:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: sun.nio.ch.Iocp sun.nio.ch.Iocp$OverlappedChannel[] int top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
astore 3
start local 3 5: aload 1
iload 2
iinc 2 1
aload 0
getfield sun.nio.ch.Iocp.keyToChannel:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.nio.ch.Iocp$OverlappedChannel
aastore
6: iload 2
bipush 32
if_icmplt 8
7: goto 13
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: goto 13
StackMap locals: sun.nio.ch.Iocp sun.nio.ch.Iocp$OverlappedChannel[] int
StackMap stack: java.lang.Throwable
10: astore 5
11: aload 0
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
12: aload 5
athrow
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
14: iconst_0
istore 3
start local 3 15: goto 20
16: StackMap locals: int
StackMap stack:
aload 1
iload 3
aaload
invokeinterface sun.nio.ch.Iocp$OverlappedChannel.close:()V
17: goto 19
StackMap locals:
StackMap stack: java.io.IOException
18: pop
19: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
20: iload 3
iload 2
if_icmplt 16
end local 3 21: iload 2
22: ifgt 1
23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/nio/ch/Iocp;
1 24 1 channels [Lsun/nio/ch/Iocp$OverlappedChannel;
3 24 2 count I
5 8 3 key Ljava/lang/Integer;
15 21 3 i I
Exception table:
from to target type
3 10 10 any
16 17 18 Class java.io.IOException
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.Iocp.port:J
iconst_0
invokestatic sun.nio.ch.Iocp.postQueuedCompletionStatus:(JI)V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 1
start local 1 3: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/Iocp;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 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.Iocp.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.Iocp
StackMap stack:
aload 0
aload 1
invokevirtual sun.nio.ch.Iocp.offerTask:(Ljava/lang/Runnable;)V
4: aload 0
invokevirtual sun.nio.ch.Iocp.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/Iocp;
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.Iocp.threadCount:()I
istore 1
start local 1 1: goto 3
2: StackMap locals: int
StackMap stack:
aload 0
invokevirtual sun.nio.ch.Iocp.wakeup:()V
3: StackMap locals:
StackMap stack:
iload 1
iinc 1 -1
ifgt 2
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/Iocp;
1 5 1 nThreads I
int associate(sun.nio.ch.Iocp$OverlappedChannel, long);
descriptor: (Lsun/nio/ch/Iocp$OverlappedChannel;J)I
flags: (0x0000)
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
invokevirtual sun.nio.ch.Iocp.isShutdown:()Z
ifeq 3
2: new java.nio.channels.ShutdownChannelGroupException
dup
invokespecial java.nio.channels.ShutdownChannelGroupException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.nio.ch.Iocp.nextCompletionKey:I
dup_x1
iconst_1
iadd
putfield sun.nio.ch.Iocp.nextCompletionKey:I
istore 4
start local 4 4: iload 4
ifeq 3
aload 0
getfield sun.nio.ch.Iocp.keyToChannel:Ljava/util/Map;
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 3
5: lload 2
lconst_0
lcmp
ifeq 7
6: lload 2
aload 0
getfield sun.nio.ch.Iocp.port:J
iload 4
iconst_0
invokestatic sun.nio.ch.Iocp.createIoCompletionPort:(JJII)J
pop2
7: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.ch.Iocp.keyToChannel:Ljava/util/Map;
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: goto 12
end local 4 StackMap locals: sun.nio.ch.Iocp sun.nio.ch.Iocp$OverlappedChannel long
StackMap stack: java.lang.Throwable
9: astore 5
10: aload 0
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
11: aload 5
athrow
start local 4 12: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
13: iload 4
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/nio/ch/Iocp;
0 14 1 ch Lsun/nio/ch/Iocp$OverlappedChannel;
0 14 2 handle J
4 9 4 key I
12 14 4 key I
Exception table:
from to target type
1 9 9 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ch
handle
void disassociate(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: aload 0
getfield sun.nio.ch.Iocp.keyToChannel:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield sun.nio.ch.Iocp.keyToChannel:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 9
4: iconst_1
istore 2
5: goto 9
StackMap locals: sun.nio.ch.Iocp int int
StackMap stack: java.lang.Throwable
6: astore 3
7: aload 0
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
8: aload 3
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
10: iload 2
ifeq 14
aload 0
invokevirtual sun.nio.ch.Iocp.isShutdown:()Z
ifeq 14
11: aload 0
invokevirtual sun.nio.ch.Iocp.shutdownNow:()V
12: goto 14
StackMap locals:
StackMap stack: java.io.IOException
13: pop
14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/nio/ch/Iocp;
0 15 1 key I
1 15 2 checkForShutdown Z
Exception table:
from to target type
2 6 6 any
11 12 13 Class java.io.IOException
MethodParameters:
Name Flags
key
void makeStale(java.lang.Long);
descriptor: (Ljava/lang/Long;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.Iocp.staleIoSet:Ljava/util/Set;
dup
astore 2
monitorenter
1: aload 0
getfield sun.nio.ch.Iocp.staleIoSet:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: aload 2
monitorexit
3: goto 6
StackMap locals: sun.nio.ch.Iocp java.lang.Long java.util.Set
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
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/Iocp;
0 7 1 overlapped Ljava/lang/Long;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
overlapped
private void checkIfStale(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.Iocp.staleIoSet:Ljava/util/Set;
dup
astore 3
monitorenter
1: aload 0
getfield sun.nio.ch.Iocp.staleIoSet:Ljava/util/Set;
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
istore 4
start local 4 2: iload 4
ifeq 4
3: getstatic sun.nio.ch.Iocp.unsafe:Ljdk/internal/misc/Unsafe;
lload 1
invokevirtual jdk.internal.misc.Unsafe.freeMemory:(J)V
end local 4 4: StackMap locals: java.util.Set
StackMap stack:
aload 3
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/ch/Iocp;
0 9 1 ov J
2 4 4 removed Z
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
ov
private static java.io.IOException translateErrorToIOException(int);
descriptor: (I)Ljava/io/IOException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iload 0
invokestatic sun.nio.ch.Iocp.getErrorMessage:(I)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.StringBuilder
dup
ldc "Unknown error: 0x0"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
new java.io.IOException
dup
aload 1
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 error I
1 4 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
error
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native long createIoCompletionPort(long, long, int, int);
descriptor: (JJII)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
handle
existingPort
completionKey
concurrency
private static native void close0(long);
descriptor: (J)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
handle
private static native void getQueuedCompletionStatus(long, sun.nio.ch.Iocp$CompletionStatus);
descriptor: (JLsun/nio/ch/Iocp$CompletionStatus;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
completionPort
status
private static native void postQueuedCompletionStatus(long, int);
descriptor: (JI)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
completionPort
completionKey
private static native java.lang.String getErrorMessage(int);
descriptor: (I)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
error
}
SourceFile: "Iocp.java"
NestMembers:
sun.nio.ch.Iocp$1 sun.nio.ch.Iocp$CompletionStatus sun.nio.ch.Iocp$EventHandlerTask sun.nio.ch.Iocp$OverlappedChannel sun.nio.ch.Iocp$ResultHandler
InnerClasses:
sun.nio.ch.Iocp$1
private CompletionStatus = sun.nio.ch.Iocp$CompletionStatus of sun.nio.ch.Iocp
private EventHandlerTask = sun.nio.ch.Iocp$EventHandlerTask of sun.nio.ch.Iocp
abstract OverlappedChannel = sun.nio.ch.Iocp$OverlappedChannel of sun.nio.ch.Iocp
abstract ResultHandler = sun.nio.ch.Iocp$ResultHandler of sun.nio.ch.Iocp