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