class sun.nio.ch.Iocp$EventHandlerTask implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.Iocp$EventHandlerTask
super_class: java.lang.Object
{
final sun.nio.ch.Iocp this$0;
descriptor: Lsun/nio/ch/Iocp;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(sun.nio.ch.Iocp);
descriptor: (Lsun/nio/ch/Iocp;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/Iocp$EventHandlerTask;
MethodParameters:
Name Flags
this$0 final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=1
start local 0 0: invokestatic sun.nio.ch.Invoker.getGroupAndInvokeCount:()Lsun/nio/ch/Invoker$GroupAndInvokeCount;
1: astore 1
start local 1 2: aload 1
ifnull 3
iconst_1
goto 4
StackMap locals: sun.nio.ch.Invoker$GroupAndInvokeCount
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 2
start local 2 5: new sun.nio.ch.Iocp$CompletionStatus
dup
invokespecial sun.nio.ch.Iocp$CompletionStatus.<init>:()V
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: StackMap locals: int sun.nio.ch.Iocp$CompletionStatus int
StackMap stack:
aload 1
ifnull 9
8: aload 1
invokevirtual sun.nio.ch.Invoker$GroupAndInvokeCount.resetInvokeCount:()V
9: StackMap locals:
StackMap stack:
iconst_0
istore 4
10: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
getfield sun.nio.ch.Iocp.port:J
aload 3
invokestatic sun.nio.ch.Iocp.getQueuedCompletionStatus:(JLsun/nio/ch/Iocp$CompletionStatus;)V
11: goto 18
StackMap locals:
StackMap stack: java.io.IOException
12: astore 5
start local 5 13: aload 5
invokevirtual java.io.IOException.printStackTrace:()V
14: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
aload 0
iload 4
invokevirtual sun.nio.ch.Iocp.threadExit:(Ljava/lang/Runnable;Z)I
istore 10
start local 10 15: iload 10
ifne 17
aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
invokevirtual sun.nio.ch.Iocp.isShutdown:()Z
ifeq 17
16: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
invokevirtual sun.nio.ch.Iocp.implClose:()V
end local 10 17: StackMap locals: java.io.IOException
StackMap stack:
return
end local 5 18: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.nio.ch.Iocp$CompletionStatus.completionKey:()I
ifne 29
19: aload 3
invokevirtual sun.nio.ch.Iocp$CompletionStatus.overlapped:()J
lconst_0
lcmp
ifne 29
20: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
invokevirtual sun.nio.ch.Iocp.pollTask:()Ljava/lang/Runnable;
astore 5
start local 5 21: aload 5
ifnonnull 26
22: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
aload 0
iload 4
invokevirtual sun.nio.ch.Iocp.threadExit:(Ljava/lang/Runnable;Z)I
istore 10
start local 10 23: iload 10
ifne 25
aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
invokevirtual sun.nio.ch.Iocp.isShutdown:()Z
ifeq 25
24: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
invokevirtual sun.nio.ch.Iocp.implClose:()V
end local 10 25: StackMap locals: java.lang.Runnable
StackMap stack:
return
26: StackMap locals:
StackMap stack:
iconst_1
istore 4
27: aload 5
invokeinterface java.lang.Runnable.run:()V
28: goto 7
end local 5 29: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 30: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.readLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
31: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
getfield sun.nio.ch.Iocp.keyToChannel:Ljava/util/Map;
aload 3
invokevirtual sun.nio.ch.Iocp$CompletionStatus.completionKey:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.nio.ch.Iocp$OverlappedChannel
astore 5
32: aload 5
ifnonnull 39
33: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
aload 3
invokevirtual sun.nio.ch.Iocp$CompletionStatus.overlapped:()J
invokevirtual sun.nio.ch.Iocp.checkIfStale:(J)V
34: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.readLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
35: goto 7
36: StackMap locals: sun.nio.ch.Iocp$EventHandlerTask sun.nio.ch.Invoker$GroupAndInvokeCount int sun.nio.ch.Iocp$CompletionStatus int sun.nio.ch.Iocp$OverlappedChannel
StackMap stack: java.lang.Throwable
astore 6
37: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.readLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
38: aload 6
athrow
39: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
getfield sun.nio.ch.Iocp.keyToChannelLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.readLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
40: aload 5
aload 3
invokevirtual sun.nio.ch.Iocp$CompletionStatus.overlapped:()J
invokeinterface sun.nio.ch.Iocp$OverlappedChannel.getByOverlapped:(J)Lsun/nio/ch/PendingFuture;
astore 6
start local 6 41: aload 6
ifnonnull 44
42: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
aload 3
invokevirtual sun.nio.ch.Iocp$CompletionStatus.overlapped:()J
invokevirtual sun.nio.ch.Iocp.checkIfStale:(J)V
43: goto 7
44: StackMap locals: sun.nio.ch.PendingFuture
StackMap stack:
aload 6
dup
astore 7
monitorenter
45: aload 6
invokevirtual sun.nio.ch.PendingFuture.isDone:()Z
ifeq 48
46: aload 7
monitorexit
47: goto 7
48: StackMap locals: sun.nio.ch.PendingFuture
StackMap stack:
aload 7
monitorexit
49: goto 52
StackMap locals:
StackMap stack: java.lang.Throwable
50: aload 7
monitorexit
51: athrow
52: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.nio.ch.Iocp$CompletionStatus.error:()I
istore 7
start local 7 53: aload 6
invokevirtual sun.nio.ch.PendingFuture.getContext:()Ljava/lang/Object;
checkcast sun.nio.ch.Iocp$ResultHandler
astore 8
start local 8 54: iconst_1
istore 4
55: iload 7
ifne 58
56: aload 8
aload 3
invokevirtual sun.nio.ch.Iocp$CompletionStatus.bytesTransferred:()I
iload 2
invokeinterface sun.nio.ch.Iocp$ResultHandler.completed:(IZ)V
57: goto 7
58: StackMap locals: int sun.nio.ch.Iocp$ResultHandler
StackMap stack:
aload 8
iload 7
iload 7
invokestatic sun.nio.ch.Iocp.translateErrorToIOException:(I)Ljava/io/IOException;
invokeinterface sun.nio.ch.Iocp$ResultHandler.failed:(ILjava/io/IOException;)V
end local 8 end local 7 end local 6 end local 5 59: goto 7
60: StackMap locals: sun.nio.ch.Iocp$EventHandlerTask sun.nio.ch.Invoker$GroupAndInvokeCount int sun.nio.ch.Iocp$CompletionStatus int
StackMap stack: java.lang.Throwable
astore 9
61: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
aload 0
iload 4
invokevirtual sun.nio.ch.Iocp.threadExit:(Ljava/lang/Runnable;Z)I
istore 10
start local 10 62: iload 10
ifne 64
aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
invokevirtual sun.nio.ch.Iocp.isShutdown:()Z
ifeq 64
63: aload 0
getfield sun.nio.ch.Iocp$EventHandlerTask.this$0:Lsun/nio/ch/Iocp;
invokevirtual sun.nio.ch.Iocp.implClose:()V
end local 10 64: StackMap locals: sun.nio.ch.Iocp$EventHandlerTask sun.nio.ch.Invoker$GroupAndInvokeCount int sun.nio.ch.Iocp$CompletionStatus int top top top top java.lang.Throwable
StackMap stack:
aload 9
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 65 0 this Lsun/nio/ch/Iocp$EventHandlerTask;
2 65 1 myGroupAndInvokeCount Lsun/nio/ch/Invoker$GroupAndInvokeCount;
5 65 2 canInvokeDirect Z
6 65 3 ioResult Lsun/nio/ch/Iocp$CompletionStatus;
7 65 4 replaceMe Z
13 18 5 x Ljava/io/IOException;
21 29 5 task Ljava/lang/Runnable;
30 59 5 ch Lsun/nio/ch/Iocp$OverlappedChannel;
41 59 6 result Lsun/nio/ch/PendingFuture<**>;
53 59 7 error I
54 59 8 rh Lsun/nio/ch/Iocp$ResultHandler;
15 17 10 remaining I
23 25 10 remaining I
62 64 10 remaining I
Exception table:
from to target type
10 11 12 Class java.io.IOException
31 34 36 any
45 47 50 any
48 49 50 any
50 51 50 any
7 14 60 any
18 22 60 any
26 60 60 any
}
SourceFile: "Iocp.java"
NestHost: sun.nio.ch.Iocp
InnerClasses:
GroupAndInvokeCount = sun.nio.ch.Invoker$GroupAndInvokeCount of sun.nio.ch.Invoker
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