class sun.nio.ch.FileLockTable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.FileLockTable
super_class: java.lang.Object
{
private static java.util.concurrent.ConcurrentHashMap<sun.nio.ch.FileKey, java.util.List<sun.nio.ch.FileLockTable$FileLockReference>> lockMap;
descriptor: Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/concurrent/ConcurrentHashMap<Lsun/nio/ch/FileKey;Ljava/util/List<Lsun/nio/ch/FileLockTable$FileLockReference;>;>;
private static java.lang.ref.ReferenceQueue<java.nio.channels.FileLock> queue;
descriptor: Ljava/lang/ref/ReferenceQueue;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/lang/ref/ReferenceQueue<Ljava/nio/channels/FileLock;>;
private final java.nio.channels.Channel channel;
descriptor: Ljava/nio/channels/Channel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.nio.ch.FileKey fileKey;
descriptor: Lsun/nio/ch/FileKey;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<java.nio.channels.FileLock> locks;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/nio/channels/FileLock;>;
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=2, locals=0, args_size=0
0: ldc Lsun/nio/ch/FileLockTable;
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.FileLockTable.$assertionsDisabled:Z
3: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
4: putstatic sun.nio.ch.FileLockTable.lockMap:Ljava/util/concurrent/ConcurrentHashMap;
5: new java.lang.ref.ReferenceQueue
dup
invokespecial java.lang.ref.ReferenceQueue.<init>:()V
putstatic sun.nio.ch.FileLockTable.queue:Ljava/lang/ref/ReferenceQueue;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.nio.channels.Channel, java.io.FileDescriptor);
descriptor: (Ljava/nio/channels/Channel;Ljava/io/FileDescriptor;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.nio.ch.FileLockTable.channel:Ljava/nio/channels/Channel;
2: aload 0
aload 2
invokestatic sun.nio.ch.FileKey.create:(Ljava/io/FileDescriptor;)Lsun/nio/ch/FileKey;
putfield sun.nio.ch.FileLockTable.fileKey:Lsun/nio/ch/FileKey;
3: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield sun.nio.ch.FileLockTable.locks:Ljava/util/Set;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/FileLockTable;
0 5 1 channel Ljava/nio/channels/Channel;
0 5 2 fd Ljava/io/FileDescriptor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
channel
fd
void add(java.nio.channels.FileLock);
descriptor: (Ljava/nio/channels/FileLock;)V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: getstatic sun.nio.ch.FileLockTable.lockMap:Ljava/util/concurrent/ConcurrentHashMap;
aload 0
getfield sun.nio.ch.FileLockTable.fileKey:Lsun/nio/ch/FileKey;
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 1: StackMap locals: java.util.List
StackMap stack:
aload 2
ifnonnull 15
2: new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
3: aload 2
dup
astore 4
monitorenter
4: getstatic sun.nio.ch.FileLockTable.lockMap:Ljava/util/concurrent/ConcurrentHashMap;
aload 0
getfield sun.nio.ch.FileLockTable.fileKey:Lsun/nio/ch/FileKey;
aload 2
invokevirtual java.util.concurrent.ConcurrentHashMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 5: aload 3
ifnonnull 10
6: aload 2
new sun.nio.ch.FileLockTable$FileLockReference
dup
aload 1
getstatic sun.nio.ch.FileLockTable.queue:Ljava/lang/ref/ReferenceQueue;
aload 0
getfield sun.nio.ch.FileLockTable.fileKey:Lsun/nio/ch/FileKey;
invokespecial sun.nio.ch.FileLockTable$FileLockReference.<init>:(Ljava/nio/channels/FileLock;Ljava/lang/ref/ReferenceQueue;Lsun/nio/ch/FileKey;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: aload 0
getfield sun.nio.ch.FileLockTable.locks:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: aload 4
monitorexit
9: goto 28
10: StackMap locals: java.util.List java.util.List
StackMap stack:
aload 4
monitorexit
11: goto 14
end local 3 StackMap locals: sun.nio.ch.FileLockTable java.nio.channels.FileLock java.util.List top java.util.List
StackMap stack: java.lang.Throwable
12: aload 4
monitorexit
13: athrow
start local 3 14: StackMap locals: sun.nio.ch.FileLockTable java.nio.channels.FileLock java.util.List java.util.List
StackMap stack:
aload 3
astore 2
end local 3 15: StackMap locals:
StackMap stack:
aload 2
dup
astore 3
monitorenter
16: getstatic sun.nio.ch.FileLockTable.lockMap:Ljava/util/concurrent/ConcurrentHashMap;
aload 0
getfield sun.nio.ch.FileLockTable.fileKey:Lsun/nio/ch/FileKey;
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 17: aload 2
aload 4
if_acmpne 23
18: aload 0
aload 2
aload 1
invokevirtual java.nio.channels.FileLock.position:()J
aload 1
invokevirtual java.nio.channels.FileLock.size:()J
invokevirtual sun.nio.ch.FileLockTable.checkList:(Ljava/util/List;JJ)V
19: aload 2
new sun.nio.ch.FileLockTable$FileLockReference
dup
aload 1
getstatic sun.nio.ch.FileLockTable.queue:Ljava/lang/ref/ReferenceQueue;
aload 0
getfield sun.nio.ch.FileLockTable.fileKey:Lsun/nio/ch/FileKey;
invokespecial sun.nio.ch.FileLockTable$FileLockReference.<init>:(Ljava/nio/channels/FileLock;Ljava/lang/ref/ReferenceQueue;Lsun/nio/ch/FileKey;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
20: aload 0
getfield sun.nio.ch.FileLockTable.locks:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
21: aload 3
monitorexit
22: goto 28
23: StackMap locals: java.util.List java.util.List
StackMap stack:
aload 4
astore 2
end local 4 24: aload 3
monitorexit
25: goto 1
StackMap locals: sun.nio.ch.FileLockTable java.nio.channels.FileLock java.util.List java.util.List
StackMap stack: java.lang.Throwable
26: aload 3
monitorexit
27: athrow
28: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.FileLockTable.removeStaleEntries:()V
29: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/nio/ch/FileLockTable;
0 30 1 fl Ljava/nio/channels/FileLock;
1 30 2 list Ljava/util/List<Lsun/nio/ch/FileLockTable$FileLockReference;>;
5 12 3 prev Ljava/util/List<Lsun/nio/ch/FileLockTable$FileLockReference;>;
14 15 3 prev Ljava/util/List<Lsun/nio/ch/FileLockTable$FileLockReference;>;
17 24 4 current Ljava/util/List<Lsun/nio/ch/FileLockTable$FileLockReference;>;
Exception table:
from to target type
4 9 12 any
10 11 12 any
12 13 12 any
16 22 26 any
23 25 26 any
26 27 26 any
Exceptions:
throws java.nio.channels.OverlappingFileLockException
MethodParameters:
Name Flags
fl
private void removeKeyIfEmpty(sun.nio.ch.FileKey, java.util.List<sun.nio.ch.FileLockTable$FileLockReference>);
descriptor: (Lsun/nio/ch/FileKey;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.nio.ch.FileLockTable.$assertionsDisabled:Z
ifne 1
aload 2
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:
getstatic sun.nio.ch.FileLockTable.$assertionsDisabled:Z
ifne 2
getstatic sun.nio.ch.FileLockTable.lockMap:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
aload 2
if_acmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
3: getstatic sun.nio.ch.FileLockTable.lockMap:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/FileLockTable;
0 5 1 fk Lsun/nio/ch/FileKey;
0 5 2 list Ljava/util/List<Lsun/nio/ch/FileLockTable$FileLockReference;>;
Signature: (Lsun/nio/ch/FileKey;Ljava/util/List<Lsun/nio/ch/FileLockTable$FileLockReference;>;)V
MethodParameters:
Name Flags
fk
list
void remove(java.nio.channels.FileLock);
descriptor: (Ljava/nio/channels/FileLock;)V
flags: (0x0000)
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: getstatic sun.nio.ch.FileLockTable.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic sun.nio.ch.FileLockTable.lockMap:Ljava/util/concurrent/ConcurrentHashMap;
aload 0
getfield sun.nio.ch.FileLockTable.fileKey:Lsun/nio/ch/FileKey;
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 2: aload 2
ifnonnull 3
return
3: StackMap locals: java.util.List
StackMap stack:
aload 2
dup
astore 3
monitorenter
4: iconst_0
istore 4
start local 4 5: goto 16
6: StackMap locals: java.util.List int
StackMap stack:
aload 2
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.nio.ch.FileLockTable$FileLockReference
astore 5
start local 5 7: aload 5
invokevirtual sun.nio.ch.FileLockTable$FileLockReference.get:()Ljava/lang/Object;
checkcast java.nio.channels.FileLock
astore 6
start local 6 8: aload 6
aload 1
if_acmpne 15
9: getstatic sun.nio.ch.FileLockTable.$assertionsDisabled:Z
ifne 11
aload 6
ifnull 10
aload 6
invokevirtual java.nio.channels.FileLock.acquiredBy:()Ljava/nio/channels/Channel;
aload 0
getfield sun.nio.ch.FileLockTable.channel:Ljava/nio/channels/Channel;
if_acmpeq 11
StackMap locals: sun.nio.ch.FileLockTable$FileLockReference java.nio.channels.FileLock
StackMap stack:
10: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.nio.ch.FileLockTable$FileLockReference.clear:()V
12: aload 2
iload 4
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
13: aload 0
getfield sun.nio.ch.FileLockTable.locks:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
14: goto 17
15: StackMap locals:
StackMap stack:
iinc 4 1
end local 6 end local 5 16: StackMap locals:
StackMap stack:
iload 4
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 6
end local 4 17: StackMap locals:
StackMap stack:
aload 3
monitorexit
18: goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
19: aload 3
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/nio/ch/FileLockTable;
0 22 1 fl Ljava/nio/channels/FileLock;
2 22 2 list Ljava/util/List<Lsun/nio/ch/FileLockTable$FileLockReference;>;
5 17 4 index I
7 16 5 ref Lsun/nio/ch/FileLockTable$FileLockReference;
8 16 6 lock Ljava/nio/channels/FileLock;
Exception table:
from to target type
4 18 19 any
19 20 19 any
MethodParameters:
Name Flags
fl
java.util.List<java.nio.channels.FileLock> removeAll();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: getstatic sun.nio.ch.FileLockTable.lockMap:Ljava/util/concurrent/ConcurrentHashMap;
aload 0
getfield sun.nio.ch.FileLockTable.fileKey:Lsun/nio/ch/FileKey;
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 2: aload 2
ifnull 21
3: aload 2
dup
astore 3
monitorenter
4: iconst_0
istore 4
start local 4 5: goto 14
6: StackMap locals: sun.nio.ch.FileLockTable java.util.List java.util.List java.util.List int
StackMap stack:
aload 2
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.nio.ch.FileLockTable$FileLockReference
astore 5
start local 5 7: aload 5
invokevirtual sun.nio.ch.FileLockTable$FileLockReference.get:()Ljava/lang/Object;
checkcast java.nio.channels.FileLock
astore 6
start local 6 8: aload 6
ifnull 13
aload 6
invokevirtual java.nio.channels.FileLock.acquiredBy:()Ljava/nio/channels/Channel;
aload 0
getfield sun.nio.ch.FileLockTable.channel:Ljava/nio/channels/Channel;
if_acmpne 13
9: aload 5
invokevirtual sun.nio.ch.FileLockTable$FileLockReference.clear:()V
10: aload 2
iload 4
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
11: aload 1
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: goto 14
13: StackMap locals: sun.nio.ch.FileLockTable$FileLockReference java.nio.channels.FileLock
StackMap stack:
iinc 4 1
end local 6 end local 5 14: StackMap locals:
StackMap stack:
iload 4
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 6
15: aload 0
aload 0
getfield sun.nio.ch.FileLockTable.fileKey:Lsun/nio/ch/FileKey;
aload 2
invokevirtual sun.nio.ch.FileLockTable.removeKeyIfEmpty:(Lsun/nio/ch/FileKey;Ljava/util/List;)V
16: aload 0
getfield sun.nio.ch.FileLockTable.locks:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
end local 4 17: aload 3
monitorexit
18: goto 21
StackMap locals: sun.nio.ch.FileLockTable java.util.List java.util.List java.util.List
StackMap stack: java.lang.Throwable
19: aload 3
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/nio/ch/FileLockTable;
1 22 1 result Ljava/util/List<Ljava/nio/channels/FileLock;>;
2 22 2 list Ljava/util/List<Lsun/nio/ch/FileLockTable$FileLockReference;>;
5 17 4 index I
7 14 5 ref Lsun/nio/ch/FileLockTable$FileLockReference;
8 14 6 lock Ljava/nio/channels/FileLock;
Exception table:
from to target type
4 18 19 any
19 20 19 any
Signature: ()Ljava/util/List<Ljava/nio/channels/FileLock;>;
void replace(java.nio.channels.FileLock, java.nio.channels.FileLock);
descriptor: (Ljava/nio/channels/FileLock;Ljava/nio/channels/FileLock;)V
flags: (0x0000)
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.nio.ch.FileLockTable.lockMap:Ljava/util/concurrent/ConcurrentHashMap;
aload 0
getfield sun.nio.ch.FileLockTable.fileKey:Lsun/nio/ch/FileKey;
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 1: getstatic sun.nio.ch.FileLockTable.$assertionsDisabled:Z
ifne 2
aload 3
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: java.util.List
StackMap stack:
aload 3
dup
astore 4
monitorenter
3: iconst_0
istore 5
start local 5 4: goto 14
5: StackMap locals: java.util.List int
StackMap stack:
aload 3
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.nio.ch.FileLockTable$FileLockReference
astore 6
start local 6 6: aload 6
invokevirtual sun.nio.ch.FileLockTable$FileLockReference.get:()Ljava/lang/Object;
checkcast java.nio.channels.FileLock
astore 7
start local 7 7: aload 7
aload 1
if_acmpne 13
8: aload 6
invokevirtual sun.nio.ch.FileLockTable$FileLockReference.clear:()V
9: aload 3
iload 5
new sun.nio.ch.FileLockTable$FileLockReference
dup
aload 2
getstatic sun.nio.ch.FileLockTable.queue:Ljava/lang/ref/ReferenceQueue;
aload 0
getfield sun.nio.ch.FileLockTable.fileKey:Lsun/nio/ch/FileKey;
invokespecial sun.nio.ch.FileLockTable$FileLockReference.<init>:(Ljava/nio/channels/FileLock;Ljava/lang/ref/ReferenceQueue;Lsun/nio/ch/FileKey;)V
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
getfield sun.nio.ch.FileLockTable.locks:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
11: aload 0
getfield sun.nio.ch.FileLockTable.locks:Ljava/util/Set;
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
12: goto 15
end local 7 end local 6 13: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
aload 3
invokeinterface java.util.List.size:()I
if_icmplt 5
end local 5 15: StackMap locals:
StackMap stack:
aload 4
monitorexit
16: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
17: aload 4
monitorexit
18: athrow
19: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/nio/ch/FileLockTable;
0 20 1 fromLock Ljava/nio/channels/FileLock;
0 20 2 toLock Ljava/nio/channels/FileLock;
1 20 3 list Ljava/util/List<Lsun/nio/ch/FileLockTable$FileLockReference;>;
4 15 5 index I
6 13 6 ref Lsun/nio/ch/FileLockTable$FileLockReference;
7 13 7 lock Ljava/nio/channels/FileLock;
Exception table:
from to target type
3 16 17 any
17 18 17 any
MethodParameters:
Name Flags
fromLock
toLock
private void checkList(java.util.List<sun.nio.ch.FileLockTable$FileLockReference>, long, );
descriptor: (Ljava/util/List;JJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 4 0: getstatic sun.nio.ch.FileLockTable.$assertionsDisabled:Z
ifne 1
aload 1
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 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 6
StackMap locals: sun.nio.ch.FileLockTable java.util.List long long top java.util.Iterator
StackMap stack:
2: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.nio.ch.FileLockTable$FileLockReference
astore 6
start local 6 3: aload 6
invokevirtual sun.nio.ch.FileLockTable$FileLockReference.get:()Ljava/lang/Object;
checkcast java.nio.channels.FileLock
astore 8
start local 8 4: aload 8
ifnull 6
aload 8
lload 2
lload 4
invokevirtual java.nio.channels.FileLock.overlaps:(JJ)Z
ifeq 6
5: new java.nio.channels.OverlappingFileLockException
dup
invokespecial java.nio.channels.OverlappingFileLockException.<init>:()V
athrow
end local 8 end local 6 6: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/ch/FileLockTable;
0 8 1 list Ljava/util/List<Lsun/nio/ch/FileLockTable$FileLockReference;>;
0 8 2 position J
0 8 4 size J
3 6 6 ref Lsun/nio/ch/FileLockTable$FileLockReference;
4 6 8 fl Ljava/nio/channels/FileLock;
Exceptions:
throws java.nio.channels.OverlappingFileLockException
Signature: (Ljava/util/List<Lsun/nio/ch/FileLockTable$FileLockReference;>;JJ)V
MethodParameters:
Name Flags
list
position
size
private void removeStaleEntries();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: goto 11
start local 1 1: StackMap locals: sun.nio.ch.FileLockTable$FileLockReference
StackMap stack:
aload 1
invokevirtual sun.nio.ch.FileLockTable$FileLockReference.fileKey:()Lsun/nio/ch/FileKey;
astore 2
start local 2 2: getstatic sun.nio.ch.FileLockTable.lockMap:Ljava/util/concurrent/ConcurrentHashMap;
aload 2
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 3: aload 3
ifnull 11
4: aload 3
dup
astore 4
monitorenter
5: aload 3
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
6: aload 0
aload 2
aload 3
invokevirtual sun.nio.ch.FileLockTable.removeKeyIfEmpty:(Lsun/nio/ch/FileKey;Ljava/util/List;)V
7: aload 4
monitorexit
8: goto 11
StackMap locals: sun.nio.ch.FileLockTable sun.nio.ch.FileLockTable$FileLockReference sun.nio.ch.FileKey java.util.List java.util.List
StackMap stack: java.lang.Throwable
9: aload 4
monitorexit
10: athrow
end local 3 end local 2 end local 1 11: StackMap locals: sun.nio.ch.FileLockTable
StackMap stack:
getstatic sun.nio.ch.FileLockTable.queue:Ljava/lang/ref/ReferenceQueue;
invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
checkcast sun.nio.ch.FileLockTable$FileLockReference
dup
astore 1
start local 1 12: ifnonnull 1
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/nio/ch/FileLockTable;
1 11 1 ref Lsun/nio/ch/FileLockTable$FileLockReference;
12 14 1 ref Lsun/nio/ch/FileLockTable$FileLockReference;
2 11 2 fk Lsun/nio/ch/FileKey;
3 11 3 list Ljava/util/List<Lsun/nio/ch/FileLockTable$FileLockReference;>;
Exception table:
from to target type
5 8 9 any
9 10 9 any
}
SourceFile: "FileLockTable.java"
NestMembers:
sun.nio.ch.FileLockTable$FileLockReference
InnerClasses:
private FileLockReference = sun.nio.ch.FileLockTable$FileLockReference of sun.nio.ch.FileLockTable