class sun.nio.ch.SimpleAsynchronousFileChannelImpl$2 implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.SimpleAsynchronousFileChannelImpl$2
super_class: java.lang.Object
{
final sun.nio.ch.SimpleAsynchronousFileChannelImpl this$0;
descriptor: Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.nio.ByteBuffer val$dst;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final long val$position;
descriptor: J
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.nio.channels.CompletionHandler val$handler;
descriptor: Ljava/nio/channels/CompletionHandler;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final sun.nio.ch.PendingFuture val$result;
descriptor: Lsun/nio/ch/PendingFuture;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Object val$attachment;
descriptor: Ljava/lang/Object;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(sun.nio.ch.SimpleAsynchronousFileChannelImpl, java.nio.ByteBuffer, long, java.nio.channels.CompletionHandler, sun.nio.ch.PendingFuture, java.lang.Object);
descriptor: (Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;Ljava/nio/ByteBuffer;JLjava/nio/channels/CompletionHandler;Lsun/nio/ch/PendingFuture;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=3, locals=8, args_size=7
start local 0 0: aload 0
aload 1
putfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.this$0:Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
aload 0
aload 2
putfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.val$dst:Ljava/nio/ByteBuffer;
aload 0
lload 3
putfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.val$position:J
aload 0
aload 5
putfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.val$handler:Ljava/nio/channels/CompletionHandler;
aload 0
aload 6
putfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.val$result:Lsun/nio/ch/PendingFuture;
aload 0
aload 7
putfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.val$attachment:Ljava/lang/Object;
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/SimpleAsynchronousFileChannelImpl$2;
MethodParameters:
Name Flags
this$0 final
val$dst final
val$position final
val$handler final
val$result final
val$attachment final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.this$0:Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl.threads:Lsun/nio/ch/NativeThreadSet;
invokevirtual sun.nio.ch.NativeThreadSet.add:()I
istore 3
start local 3 3: aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.this$0:Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.SimpleAsynchronousFileChannelImpl.begin:()V
4: StackMap locals: int java.lang.Throwable int
StackMap stack:
aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.this$0:Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl.fdObj:Ljava/io/FileDescriptor;
aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.val$dst:Ljava/nio/ByteBuffer;
aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.val$position:J
getstatic sun.nio.ch.SimpleAsynchronousFileChannelImpl.nd:Lsun/nio/ch/FileDispatcher;
invokestatic sun.nio.ch.IOUtil.read:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JLsun/nio/ch/NativeDispatcher;)I
istore 1
5: iload 1
bipush -3
if_icmpne 6
aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.this$0:Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.SimpleAsynchronousFileChannelImpl.isOpen:()Z
ifne 4
6: StackMap locals:
StackMap stack:
iload 1
ifge 18
aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.this$0:Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.SimpleAsynchronousFileChannelImpl.isOpen:()Z
ifne 18
7: new java.nio.channels.AsynchronousCloseException
dup
invokespecial java.nio.channels.AsynchronousCloseException.<init>:()V
athrow
8: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 9: aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.this$0:Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.SimpleAsynchronousFileChannelImpl.isOpen:()Z
ifne 11
10: new java.nio.channels.AsynchronousCloseException
dup
invokespecial java.nio.channels.AsynchronousCloseException.<init>:()V
astore 4
11: StackMap locals: java.io.IOException
StackMap stack:
aload 4
astore 2
end local 4 12: aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.this$0:Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.SimpleAsynchronousFileChannelImpl.end:()V
13: aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.this$0:Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl.threads:Lsun/nio/ch/NativeThreadSet;
iload 3
invokevirtual sun.nio.ch.NativeThreadSet.remove:(I)V
goto 20
14: StackMap locals: sun.nio.ch.SimpleAsynchronousFileChannelImpl$2 int java.lang.Throwable int
StackMap stack: java.lang.Throwable
astore 5
15: aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.this$0:Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.SimpleAsynchronousFileChannelImpl.end:()V
16: aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.this$0:Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl.threads:Lsun/nio/ch/NativeThreadSet;
iload 3
invokevirtual sun.nio.ch.NativeThreadSet.remove:(I)V
17: aload 5
athrow
18: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.this$0:Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.SimpleAsynchronousFileChannelImpl.end:()V
19: aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.this$0:Lsun/nio/ch/SimpleAsynchronousFileChannelImpl;
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl.threads:Lsun/nio/ch/NativeThreadSet;
iload 3
invokevirtual sun.nio.ch.NativeThreadSet.remove:(I)V
20: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.val$handler:Ljava/nio/channels/CompletionHandler;
ifnonnull 23
21: aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.val$result:Lsun/nio/ch/PendingFuture;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
invokevirtual sun.nio.ch.PendingFuture.setResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
22: goto 24
23: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.val$handler:Ljava/nio/channels/CompletionHandler;
aload 0
getfield sun.nio.ch.SimpleAsynchronousFileChannelImpl$2.val$attachment:Ljava/lang/Object;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
invokestatic sun.nio.ch.Invoker.invokeUnchecked:(Ljava/nio/channels/CompletionHandler;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Throwable;)V
24: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/nio/ch/SimpleAsynchronousFileChannelImpl$2;
1 25 1 n I
2 25 2 exc Ljava/lang/Throwable;
3 25 3 ti I
9 12 4 x Ljava/io/IOException;
Exception table:
from to target type
3 8 8 Class java.io.IOException
3 12 14 any
}
SourceFile: "SimpleAsynchronousFileChannelImpl.java"
EnclosingMethod: sun.nio.ch.SimpleAsynchronousFileChannelImpl.implRead:(Ljava/nio/ByteBuffer;JLjava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
NestHost: sun.nio.ch.SimpleAsynchronousFileChannelImpl
InnerClasses:
sun.nio.ch.SimpleAsynchronousFileChannelImpl$2