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=7, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: iconst_0
istore 3
start local 3 2: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.begin:()V
3: 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
4: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
dup
astore 4
monitorenter
5: 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
6: lload 1
7: invokestatic sun.nio.ch.WindowsAsynchronousFileChannelImpl.lockFile:(JJJZJ)I
istore 5
start local 5 8: iload 5
bipush -2
if_icmpne 14
9: iconst_1
istore 3
10: aload 4
monitorexit
11: iload 3
ifne 13
lload 1
lconst_0
lcmp
ifeq 13
12: 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
13: StackMap locals: sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask long int sun.nio.ch.PendingFuture int
StackMap stack:
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.end:()V
return
14: StackMap locals:
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 5 15: aload 4
monitorexit
16: goto 30
StackMap locals: sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask long int sun.nio.ch.PendingFuture
StackMap stack: java.lang.Throwable
17: aload 4
monitorexit
18: athrow
19: StackMap locals: sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask long int
StackMap stack: java.lang.Throwable
astore 4
start local 4 20: 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
21: aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.result:Lsun/nio/ch/PendingFuture;
aload 4
invokestatic sun.nio.ch.WindowsAsynchronousFileChannelImpl.toIOException:(Ljava/lang/Throwable;)Ljava/io/IOException;
invokevirtual sun.nio.ch.PendingFuture.setFailure:(Ljava/lang/Throwable;)V
end local 4 22: iload 3
ifne 24
lload 1
lconst_0
lcmp
ifeq 24
23: 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
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
goto 33
25: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
26: iload 3
ifne 28
lload 1
lconst_0
lcmp
ifeq 28
27: 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
28: StackMap locals: sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask long int top top java.lang.Throwable
StackMap stack:
aload 0
getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.end:()V
29: aload 6
athrow
30: StackMap locals: sun.nio.ch.WindowsAsynchronousFileChannelImpl$LockTask long int
StackMap stack:
iload 3
ifne 32
lload 1
lconst_0
lcmp
ifeq 32
31: 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
32: 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
33: 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
34: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lsun/nio/ch/WindowsAsynchronousFileChannelImpl$LockTask<TA;>;
1 35 1 overlapped J
2 35 3 pending Z
8 15 5 n I
20 22 4 x Ljava/lang/Throwable;
Exception table:
from to target type
5 11 17 any
14 16 17 any
17 18 17 any
2 11 19 Class java.lang.Throwable
14 19 19 Class java.lang.Throwable
2 11 25 any
14 22 25 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