public class sun.nio.ch.FileLockImpl extends java.nio.channels.FileLock
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.nio.ch.FileLockImpl
super_class: java.nio.channels.FileLock
{
private volatile boolean valid;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/nio/ch/FileLockImpl;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.nio.ch.FileLockImpl.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.nio.channels.FileChannel, long, long, boolean);
descriptor: (Ljava/nio/channels/FileChannel;JJZ)V
flags: (0x0000)
Code:
stack=7, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: aload 0
aload 1
lload 2
lload 4
iload 6
invokespecial java.nio.channels.FileLock.<init>:(Ljava/nio/channels/FileChannel;JJZ)V
1: aload 0
iconst_1
putfield sun.nio.ch.FileLockImpl.valid:Z
2: return
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/FileLockImpl;
0 3 1 channel Ljava/nio/channels/FileChannel;
0 3 2 position J
0 3 4 size J
0 3 6 shared Z
MethodParameters:
Name Flags
channel
position
size
shared
void <init>(java.nio.channels.AsynchronousFileChannel, long, long, boolean);
descriptor: (Ljava/nio/channels/AsynchronousFileChannel;JJZ)V
flags: (0x0000)
Code:
stack=7, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: aload 0
aload 1
lload 2
lload 4
iload 6
invokespecial java.nio.channels.FileLock.<init>:(Ljava/nio/channels/AsynchronousFileChannel;JJZ)V
1: aload 0
iconst_1
putfield sun.nio.ch.FileLockImpl.valid:Z
2: return
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/FileLockImpl;
0 3 1 channel Ljava/nio/channels/AsynchronousFileChannel;
0 3 2 position J
0 3 4 size J
0 3 6 shared Z
MethodParameters:
Name Flags
channel
position
size
shared
public boolean isValid();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.FileLockImpl.valid:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/FileLockImpl;
void invalidate();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.nio.ch.FileLockImpl.$assertionsDisabled:Z
ifne 1
aload 0
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.nio.ch.FileLockImpl.valid:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/FileLockImpl;
public synchronized void release();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.FileLockImpl.acquiredBy:()Ljava/nio/channels/Channel;
astore 1
start local 1 1: aload 1
invokeinterface java.nio.channels.Channel.isOpen:()Z
ifne 3
2: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
3: StackMap locals: java.nio.channels.Channel
StackMap stack:
aload 0
getfield sun.nio.ch.FileLockImpl.valid:Z
ifeq 10
4: aload 1
instanceof sun.nio.ch.FileChannelImpl
ifeq 6
5: aload 1
checkcast sun.nio.ch.FileChannelImpl
aload 0
invokevirtual sun.nio.ch.FileChannelImpl.release:(Lsun/nio/ch/FileLockImpl;)V
goto 9
6: StackMap locals:
StackMap stack:
aload 1
instanceof sun.nio.ch.AsynchronousFileChannelImpl
ifeq 8
7: aload 1
checkcast sun.nio.ch.AsynchronousFileChannelImpl
aload 0
invokevirtual sun.nio.ch.AsynchronousFileChannelImpl.release:(Lsun/nio/ch/FileLockImpl;)V
goto 9
8: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.nio.ch.FileLockImpl.valid:Z
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/nio/ch/FileLockImpl;
1 11 1 ch Ljava/nio/channels/Channel;
Exceptions:
throws java.io.IOException
}
SourceFile: "FileLockImpl.java"