class sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask<A> implements java.lang.Runnable, sun.nio.ch.Iocp$ResultHandler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask
super_class: java.lang.Object
{
private final long position;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.nio.ch.FileLockImpl fli;
descriptor: Lsun/nio/ch/FileLockImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.nio.ch.PendingFuture<java.nio.channels.FileLock, A> result;
descriptor: Lsun/nio/ch/PendingFuture;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lsun/nio/ch/PendingFuture<Ljava/nio/channels/FileLock;TA;>;
final sun.nio.ch.WindowsAsynchronousFileChannelImpl this$0;
descriptor: Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(long, sun.nio.ch.FileLockImpl, sun.nio.ch.PendingFuture<java.nio.channels.FileLock, A>);
descriptor: (Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;JLsun/nio/ch/FileLockImpl;Lsun/nio/ch/PendingFuture;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=5
start local 0 start local 2 start local 4 start local 5 0: aload 0
aload 1
putfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
lload 2
putfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.position:J
3: aload 0
aload 4
putfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.fli:Lsun/nio/ch/FileLockImpl;
4: aload 0
aload 5
putfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
5: return
end local 5 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/ch/WindowsAsynchronousFileChannelImpl$LockTask<TA;>;
0 6 2 position J
0 6 4 fli Lsun/nio/ch/FileLockImpl;
0 6 5 result Lsun/nio/ch/PendingFuture<Ljava/nio/channels/FileLock;TA;>;
Signature: (JLsun/nio/ch/FileLockImpl;Lsun/nio/ch/PendingFuture<Ljava/nio/channels/FileLock;TA;>;)V
MethodParameters:
Name Flags
this$0 final
position
fli
result
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=6, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.begin:()V
2: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl.ioCache:Lsun/nio/ch/PendingIoCache;
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
invokevirtual sun.nio.ch.PendingIoCache.add:(Lsun/nio/ch/PendingFuture;)J
lstore 1
3: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
dup
astore 3
monitorenter
4: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl.handle:J
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.position:J
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.fli:Lsun/nio/ch/FileLockImpl;
invokevirtual sun.nio.ch.FileLockImpl.size:()J
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.fli:Lsun/nio/ch/FileLockImpl;
invokevirtual sun.nio.ch.FileLockImpl.isShared:()Z
5: lload 1
6: invokestatic sun.nio.ch.WindowsAsynchronousFileChannelImpl.lockFile:(JJJZJ)I
istore 4
start local 4 7: iload 4
bipush -2
if_icmpne 10
8: aload 3
monitorexit
9: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.end:()V
return
10: StackMap locals: long sun.nio.ch.PendingFuture int
StackMap stack:
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.fli:Lsun/nio/ch/FileLockImpl;
invokevirtual sun.nio.ch.PendingFuture.setResult:(Ljava/lang/Object;)V
end local 4 11: aload 3
monitorexit
12: goto 24
StackMap locals: sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask long sun.nio.ch.PendingFuture
StackMap stack: java.lang.Throwable
13: aload 3
monitorexit
14: athrow
15: StackMap locals: sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask long
StackMap stack: java.lang.Throwable
astore 3
start local 3 16: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.fli:Lsun/nio/ch/FileLockImpl;
invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.removeFromFileLockTable:(Lsun/nio/ch/FileLockImpl;)V
17: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
aload 3
invokestatic sun.nio.ch.WindowsAsynchronousFileChannelImpl.toIOException:(Ljava/lang/Throwable;)Ljava/io/IOException;
invokevirtual sun.nio.ch.PendingFuture.setFailure:(Ljava/lang/Throwable;)V
18: lload 1
lconst_0
lcmp
ifeq 20
19: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl.ioCache:Lsun/nio/ch/PendingIoCache;
lload 1
invokevirtual sun.nio.ch.PendingIoCache.remove:(J)Lsun/nio/ch/PendingFuture;
pop
end local 3 20: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.end:()V
goto 25
21: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
22: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.end:()V
23: aload 5
athrow
24: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.end:()V
25: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
invokestatic sun.nio.ch.Invoker.invoke:(Lsun/nio/ch/PendingFuture;)V
26: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/nio/ch/WindowsAsynchronousFileChannelImpl$LockTask<TA;>;
1 27 1 overlapped J
7 11 4 n I
16 20 3 x Ljava/lang/Throwable;
Exception table:
from to target type
4 9 13 any
10 12 13 any
13 14 13 any
1 9 15 Class java.lang.Throwable
10 15 15 Class java.lang.Throwable
1 9 21 any
10 20 21 any
public void completed(int, boolean);
descriptor: (IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.fli:Lsun/nio/ch/FileLockImpl;
invokevirtual sun.nio.ch.PendingFuture.setResult:(Ljava/lang/Object;)V
1: iload 2
ifeq 4
2: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
invokestatic sun.nio.ch.Invoker.invokeUnchecked:(Lsun/nio/ch/PendingFuture;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
invokestatic sun.nio.ch.Invoker.invoke:(Lsun/nio/ch/PendingFuture;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/ch/WindowsAsynchronousFileChannelImpl$LockTask<TA;>;
0 6 1 bytesTransferred I
0 6 2 canInvokeDirect Z
MethodParameters:
Name Flags
bytesTransferred
canInvokeDirect
public void failed(int, java.io.IOException);
descriptor: (ILjava/io/IOException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.fli:Lsun/nio/ch/FileLockImpl;
invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.removeFromFileLockTable:(Lsun/nio/ch/FileLockImpl;)V
1: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.isOpen:()Z
ifeq 4
2: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
aload 2
invokevirtual sun.nio.ch.PendingFuture.setFailure:(Ljava/lang/Throwable;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
new java.nio.channels.AsynchronousCloseException
dup
invokespecial java.nio.channels.AsynchronousCloseException.<init>:()V
invokevirtual sun.nio.ch.PendingFuture.setFailure:(Ljava/lang/Throwable;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
invokestatic sun.nio.ch.Invoker.invoke:(Lsun/nio/ch/PendingFuture;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/nio/ch/WindowsAsynchronousFileChannelImpl$LockTask<TA;>;
0 7 1 error I
0 7 2 x Ljava/io/IOException;
MethodParameters:
Name Flags
error
x
}
Signature: <A:Ljava/lang/Object;>Ljava/lang/Object;Ljava/lang/Runnable;Lsun/nio/ch/Iocp$ResultHandler;
SourceFile: "WindowsAsynchronousFileChannelImpl.java"
NestHost: sun.nio.ch.WindowsAsynchronousFileChannelImpl
InnerClasses:
abstract ResultHandler = sun.nio.ch.Iocp$ResultHandler of sun.nio.ch.Iocp
private LockTask = sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask of sun.nio.ch.WindowsAsynchronousFileChannelImpl