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