class sun.nio.fs.SolarisWatchService$Poller extends sun.nio.fs.AbstractPoller
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.SolarisWatchService$Poller
super_class: sun.nio.fs.AbstractPoller
{
private static final int MAX_EVENT_COUNT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 128
private static final int FILE_REMOVED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 112
private static final int FILE_EXCEPTION;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1610612848
private final long bufferAddress;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.nio.fs.SolarisWatchService watcher;
descriptor: Lsun/nio/fs/SolarisWatchService;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int port;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<sun.nio.fs.UnixFileKey, sun.nio.fs.SolarisWatchService$SolarisWatchKey> fileKey2WatchKey;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lsun/nio/fs/UnixFileKey;Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;>;
private final java.util.Map<java.lang.Long, sun.nio.fs.SolarisWatchService$Node> object2Node;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Long;Lsun/nio/fs/SolarisWatchService$Node;>;
final sun.nio.fs.SolarisWatchService this$0;
descriptor: Lsun/nio/fs/SolarisWatchService;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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/fs/SolarisWatchService;
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.fs.SolarisWatchService$Poller.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.nio.fs.SolarisWatchService, sun.nio.fs.UnixFileSystem, sun.nio.fs.SolarisWatchService, int);
descriptor: (Lsun/nio/fs/SolarisWatchService;Lsun/nio/fs/UnixFileSystem;Lsun/nio/fs/SolarisWatchService;I)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield sun.nio.fs.SolarisWatchService$Poller.this$0:Lsun/nio/fs/SolarisWatchService;
aload 0
invokespecial sun.nio.fs.AbstractPoller.<init>:()V
1: aload 0
aload 3
putfield sun.nio.fs.SolarisWatchService$Poller.watcher:Lsun/nio/fs/SolarisWatchService;
2: aload 0
iload 4
putfield sun.nio.fs.SolarisWatchService$Poller.port:I
3: aload 0
4: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
getstatic sun.nio.fs.SolarisWatchService.SIZEOF_PORT_EVENT:I
sipush 128
imul
i2l
invokevirtual sun.misc.Unsafe.allocateMemory:(J)J
5: putfield sun.nio.fs.SolarisWatchService$Poller.bufferAddress:J
6: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.nio.fs.SolarisWatchService$Poller.fileKey2WatchKey:Ljava/util/Map;
7: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.nio.fs.SolarisWatchService$Poller.object2Node:Ljava/util/Map;
8: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 9 2 fs Lsun/nio/fs/UnixFileSystem;
0 9 3 watcher Lsun/nio/fs/SolarisWatchService;
0 9 4 port I
MethodParameters:
Name Flags
this$0 final
fs
watcher
port
void wakeup();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.port:I
iconst_0
invokestatic sun.nio.fs.SolarisWatchService.portSend:(II)V
1: goto 4
StackMap locals:
StackMap stack: sun.nio.fs.UnixException
2: astore 1
start local 1 3: new java.io.IOException
dup
aload 1
invokevirtual sun.nio.fs.UnixException.errorString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/fs/SolarisWatchService$Poller;
3 4 1 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
0 1 2 Class sun.nio.fs.UnixException
Exceptions:
throws java.io.IOException
implRegister(java.nio.file.Path, java.util.Set<? extends java.nio.file.WatchEvent$Kind<?>>, java.nio.file.WatchEvent$Modifier[]);
descriptor: (Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/lang/Object;
flags: (0x0080) ACC_VARARGS
Code:
stack=9, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
arraylength
ifle 10
1: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 9
StackMap locals: sun.nio.fs.SolarisWatchService$Poller java.nio.file.Path java.util.Set java.nio.file.WatchEvent$Modifier[] top int int java.nio.file.WatchEvent$Modifier[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: aload 4
ifnonnull 5
4: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
areturn
5: StackMap locals: sun.nio.fs.SolarisWatchService$Poller java.nio.file.Path java.util.Set java.nio.file.WatchEvent$Modifier[] java.nio.file.WatchEvent$Modifier int int java.nio.file.WatchEvent$Modifier[]
StackMap stack:
aload 4
instanceof com.sun.nio.file.SensitivityWatchEventModifier
ifeq 7
6: goto 8
7: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "Modifier not supported"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
areturn
end local 4 8: StackMap locals: sun.nio.fs.SolarisWatchService$Poller java.nio.file.Path java.util.Set java.nio.file.WatchEvent$Modifier[] top int int java.nio.file.WatchEvent$Modifier[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 6
if_icmplt 2
10: StackMap locals: sun.nio.fs.SolarisWatchService$Poller java.nio.file.Path java.util.Set java.nio.file.WatchEvent$Modifier[]
StackMap stack:
aload 1
checkcast sun.nio.fs.UnixPath
astore 4
start local 4 11: aconst_null
astore 5
start local 5 12: aload 4
iconst_1
invokestatic sun.nio.fs.UnixFileAttributes.get:(Lsun/nio/fs/UnixPath;Z)Lsun/nio/fs/UnixFileAttributes;
astore 5
13: goto 16
StackMap locals: sun.nio.fs.SolarisWatchService$Poller java.nio.file.Path java.util.Set java.nio.file.WatchEvent$Modifier[] sun.nio.fs.UnixPath sun.nio.fs.UnixFileAttributes
StackMap stack: sun.nio.fs.UnixException
14: astore 6
start local 6 15: aload 6
aload 4
invokevirtual sun.nio.fs.UnixException.asIOException:(Lsun/nio/fs/UnixPath;)Ljava/io/IOException;
areturn
end local 6 16: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.nio.fs.UnixFileAttributes.isDirectory:()Z
ifne 18
17: new java.nio.file.NotDirectoryException
dup
aload 4
invokevirtual sun.nio.fs.UnixPath.getPathForExceptionMessage:()Ljava/lang/String;
invokespecial java.nio.file.NotDirectoryException.<init>:(Ljava/lang/String;)V
areturn
18: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.nio.fs.UnixFileAttributes.fileKey:()Lsun/nio/fs/UnixFileKey;
astore 6
start local 6 19: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.fileKey2WatchKey:Ljava/util/Map;
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.nio.fs.SolarisWatchService$SolarisWatchKey
astore 7
start local 7 20: aload 7
ifnull 26
21: aload 0
aload 7
aload 2
invokevirtual sun.nio.fs.SolarisWatchService$Poller.updateEvents:(Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;Ljava/util/Set;)V
22: goto 25
StackMap locals: sun.nio.fs.SolarisWatchService$Poller java.nio.file.Path java.util.Set java.nio.file.WatchEvent$Modifier[] sun.nio.fs.UnixPath sun.nio.fs.UnixFileAttributes sun.nio.fs.UnixFileKey sun.nio.fs.SolarisWatchService$SolarisWatchKey
StackMap stack: sun.nio.fs.UnixException
23: astore 8
start local 8 24: aload 8
aload 4
invokevirtual sun.nio.fs.UnixException.asIOException:(Lsun/nio/fs/UnixPath;)Ljava/io/IOException;
areturn
end local 8 25: StackMap locals:
StackMap stack:
aload 7
areturn
26: StackMap locals:
StackMap stack:
lconst_0
lstore 8
start local 8 27: aload 0
aload 4
bipush 6
invokevirtual sun.nio.fs.SolarisWatchService$Poller.registerImpl:(Lsun/nio/fs/UnixPath;I)J
lstore 8
28: goto 31
StackMap locals: sun.nio.fs.SolarisWatchService$Poller java.nio.file.Path java.util.Set java.nio.file.WatchEvent$Modifier[] sun.nio.fs.UnixPath sun.nio.fs.UnixFileAttributes sun.nio.fs.UnixFileKey sun.nio.fs.SolarisWatchService$SolarisWatchKey long
StackMap stack: sun.nio.fs.UnixException
29: astore 10
start local 10 30: aload 10
aload 4
invokevirtual sun.nio.fs.UnixException.asIOException:(Lsun/nio/fs/UnixPath;)Ljava/io/IOException;
areturn
end local 10 31: StackMap locals:
StackMap stack:
new sun.nio.fs.SolarisWatchService$SolarisWatchKey
dup
aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.this$0:Lsun/nio/fs/SolarisWatchService;
aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.watcher:Lsun/nio/fs/SolarisWatchService;
aload 4
aload 6
lload 8
aload 2
invokespecial sun.nio.fs.SolarisWatchService$SolarisWatchKey.<init>:(Lsun/nio/fs/SolarisWatchService;Lsun/nio/fs/SolarisWatchService;Lsun/nio/fs/UnixPath;Lsun/nio/fs/UnixFileKey;JLjava/util/Set;)V
astore 7
32: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.object2Node:Ljava/util/Map;
lload 8
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
33: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.fileKey2WatchKey:Ljava/util/Map;
aload 6
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
34: aload 0
aload 4
aload 7
iconst_0
iconst_0
invokevirtual sun.nio.fs.SolarisWatchService$Poller.registerChildren:(Lsun/nio/fs/UnixPath;Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;ZZ)V
35: aload 7
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 36 1 obj Ljava/nio/file/Path;
0 36 2 events Ljava/util/Set<+Ljava/nio/file/WatchEvent$Kind<*>;>;
0 36 3 modifiers [Ljava/nio/file/WatchEvent$Modifier;
3 8 4 modifier Ljava/nio/file/WatchEvent$Modifier;
11 36 4 dir Lsun/nio/fs/UnixPath;
12 36 5 attrs Lsun/nio/fs/UnixFileAttributes;
15 16 6 x Lsun/nio/fs/UnixException;
19 36 6 fileKey Lsun/nio/fs/UnixFileKey;
20 36 7 watchKey Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
24 25 8 x Lsun/nio/fs/UnixException;
27 36 8 object J
30 31 10 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
12 13 14 Class sun.nio.fs.UnixException
21 22 23 Class sun.nio.fs.UnixException
27 28 29 Class sun.nio.fs.UnixException
Signature: (Ljava/nio/file/Path;Ljava/util/Set<+Ljava/nio/file/WatchEvent$Kind<*>;>;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/lang/Object;
MethodParameters:
Name Flags
obj
events
modifiers
void releaseChild(sun.nio.fs.SolarisWatchService$EntryNode);
descriptor: (Lsun/nio/fs/SolarisWatchService$EntryNode;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.object:()J
lstore 2
start local 2 1: lload 2
lconst_0
lcmp
ifeq 5
2: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.object2Node:Ljava/util/Map;
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
lload 2
iconst_1
invokevirtual sun.nio.fs.SolarisWatchService$Poller.releaseObject:(JZ)V
4: aload 1
lconst_0
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.setObject:(J)V
5: StackMap locals: long
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 6 1 node Lsun/nio/fs/SolarisWatchService$EntryNode;
1 6 2 object J
MethodParameters:
Name Flags
node
void releaseChildren(sun.nio.fs.SolarisWatchService$SolarisWatchKey);
descriptor: (Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.children:()Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.SolarisWatchService$SolarisWatchKey top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.nio.fs.SolarisWatchService$EntryNode
astore 2
start local 2 2: aload 0
aload 2
invokevirtual sun.nio.fs.SolarisWatchService$Poller.releaseChild:(Lsun/nio/fs/SolarisWatchService$EntryNode;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 5 1 key Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
2 3 2 node Lsun/nio/fs/SolarisWatchService$EntryNode;
MethodParameters:
Name Flags
key
void implCancelKey(java.nio.file.WatchKey);
descriptor: (Ljava/nio/file/WatchKey;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
checkcast sun.nio.fs.SolarisWatchService$SolarisWatchKey
astore 2
start local 2 1: aload 2
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.isValid:()Z
ifeq 8
2: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.fileKey2WatchKey:Ljava/util/Map;
aload 2
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.getFileKey:()Lsun/nio/fs/UnixFileKey;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
aload 2
invokevirtual sun.nio.fs.SolarisWatchService$Poller.releaseChildren:(Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;)V
4: aload 2
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.object:()J
lstore 3
start local 3 5: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.object2Node:Ljava/util/Map;
lload 3
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
lload 3
iconst_1
invokevirtual sun.nio.fs.SolarisWatchService$Poller.releaseObject:(JZ)V
7: aload 2
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.invalidate:()V
end local 3 8: StackMap locals: sun.nio.fs.SolarisWatchService$SolarisWatchKey
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 9 1 obj Ljava/nio/file/WatchKey;
1 9 2 key Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
5 8 3 object J
MethodParameters:
Name Flags
obj
void implCloseAll();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.object2Node:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: sun.nio.fs.SolarisWatchService$Poller top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Long
astore 1
start local 1 2: aload 0
aload 1
invokevirtual java.lang.Long.longValue:()J
iconst_1
invokevirtual sun.nio.fs.SolarisWatchService$Poller.releaseObject:(JZ)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.fileKey2WatchKey:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 7
StackMap locals:
StackMap stack:
5: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 1
start local 1 6: aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast sun.nio.fs.SolarisWatchService$SolarisWatchKey
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.invalidate:()V
end local 1 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.object2Node:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
9: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.fileKey2WatchKey:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
10: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.bufferAddress:J
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
11: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.port:I
invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/nio/fs/SolarisWatchService$Poller;
2 3 1 object Ljava/lang/Long;
6 7 1 entry Ljava/util/Map$Entry<Lsun/nio/fs/UnixFileKey;Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;>;
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.port:I
aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.bufferAddress:J
sipush 128
invokestatic sun.nio.fs.SolarisWatchService.portGetn:(IJI)I
istore 1
start local 1 1: getstatic sun.nio.fs.SolarisWatchService$Poller.$assertionsDisabled:Z
ifne 2
iload 1
ifgt 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.bufferAddress:J
lstore 2
start local 2 3: iconst_0
istore 4
start local 4 4: goto 10
5: StackMap locals: long int
StackMap stack:
aload 0
lload 2
invokevirtual sun.nio.fs.SolarisWatchService$Poller.processEvent:(J)Z
istore 5
start local 5 6: iload 5
ifeq 8
7: return
8: StackMap locals: int
StackMap stack:
lload 2
getstatic sun.nio.fs.SolarisWatchService.SIZEOF_PORT_EVENT:I
i2l
ladd
lstore 2
end local 5 9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 1
if_icmplt 5
end local 4 end local 2 end local 1 11: goto 0
12: StackMap locals: sun.nio.fs.SolarisWatchService$Poller
StackMap stack: sun.nio.fs.UnixException
astore 1
start local 1 13: aload 1
invokevirtual sun.nio.fs.UnixException.printStackTrace:()V
end local 1 14: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/nio/fs/SolarisWatchService$Poller;
1 11 1 n I
3 11 2 address J
4 11 4 i I
6 9 5 shutdown Z
13 14 1 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
0 7 12 Class sun.nio.fs.UnixException
8 12 12 Class sun.nio.fs.UnixException
boolean processEvent(long);
descriptor: (J)Z
flags: (0x0000)
Code:
stack=5, locals=12, args_size=2
start local 0 start local 1 0: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 4
ladd
invokevirtual sun.misc.Unsafe.getShort:(J)S
istore 3
start local 3 1: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
lload 1
ldc 8
ladd
invokevirtual sun.misc.Unsafe.getAddress:(J)J
lstore 4
start local 4 2: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
lload 1
lconst_0
ladd
invokevirtual sun.misc.Unsafe.getInt:(J)I
istore 6
start local 6 3: iload 3
bipush 7
if_icmpeq 9
4: iload 3
iconst_3
if_icmpne 8
5: aload 0
invokevirtual sun.nio.fs.SolarisWatchService$Poller.processRequests:()Z
istore 7
start local 7 6: iload 7
ifeq 8
7: iconst_1
ireturn
end local 7 8: StackMap locals: int long int
StackMap stack:
iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.object2Node:Ljava/util/Map;
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.nio.fs.SolarisWatchService$Node
astore 7
start local 7 10: aload 7
ifnonnull 12
11: iconst_0
ireturn
12: StackMap locals: sun.nio.fs.SolarisWatchService$Node
StackMap stack:
iconst_1
istore 8
start local 8 13: aload 7
instanceof sun.nio.fs.SolarisWatchService$SolarisWatchKey
istore 9
start local 9 14: iload 9
ifeq 17
15: aload 0
aload 7
checkcast sun.nio.fs.SolarisWatchService$SolarisWatchKey
iload 6
invokevirtual sun.nio.fs.SolarisWatchService$Poller.processDirectoryEvents:(Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;I)V
16: goto 20
17: StackMap locals: int int
StackMap stack:
aload 0
aload 7
checkcast sun.nio.fs.SolarisWatchService$EntryNode
iload 6
invokevirtual sun.nio.fs.SolarisWatchService$Poller.processEntryEvents:(Lsun/nio/fs/SolarisWatchService$EntryNode;I)Z
istore 10
start local 10 18: iload 10
ifeq 20
19: iconst_0
istore 8
end local 10 20: StackMap locals:
StackMap stack:
iload 8
ifeq 31
21: bipush 6
istore 6
22: iload 9
ifne 23
iload 6
ldc 268435456
ior
istore 6
23: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.port:I
24: bipush 7
25: lload 4
26: iload 6
27: invokestatic sun.nio.fs.SolarisWatchService.portAssociate:(IIJI)V
28: goto 31
StackMap locals:
StackMap stack: sun.nio.fs.UnixException
29: pop
30: iconst_0
istore 8
31: StackMap locals:
StackMap stack:
iload 8
ifne 43
32: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.object2Node:Ljava/util/Map;
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
33: aload 0
lload 4
iconst_0
invokevirtual sun.nio.fs.SolarisWatchService$Poller.releaseObject:(JZ)V
34: iload 9
ifeq 40
35: aload 7
checkcast sun.nio.fs.SolarisWatchService$SolarisWatchKey
astore 10
start local 10 36: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.fileKey2WatchKey:Ljava/util/Map;
aload 10
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.getFileKey:()Lsun/nio/fs/UnixFileKey;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
37: aload 10
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.invalidate:()V
38: aload 10
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.signal:()V
end local 10 39: goto 43
40: StackMap locals:
StackMap stack:
aload 7
checkcast sun.nio.fs.SolarisWatchService$EntryNode
astore 10
start local 10 41: aload 10
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.parent:()Lsun/nio/fs/SolarisWatchService$DirectoryNode;
checkcast sun.nio.fs.SolarisWatchService$SolarisWatchKey
astore 11
start local 11 42: aload 11
aload 10
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.name:()Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.removeChild:(Ljava/nio/file/Path;)V
end local 11 end local 10 43: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 44 1 address J
1 44 3 source S
2 44 4 object J
3 44 6 events I
6 8 7 shutdown Z
10 44 7 node Lsun/nio/fs/SolarisWatchService$Node;
13 44 8 reregister Z
14 44 9 isDirectory Z
18 20 10 ignore Z
36 39 10 key Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
41 43 10 entry Lsun/nio/fs/SolarisWatchService$EntryNode;
42 43 11 key Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
Exception table:
from to target type
21 28 29 Class sun.nio.fs.UnixException
MethodParameters:
Name Flags
address
void processDirectoryEvents(sun.nio.fs.SolarisWatchService$SolarisWatchKey, int);
descriptor: (Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;I)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
bipush 6
iand
ifeq 5
1: aload 0
aload 1
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.getDirectory:()Lsun/nio/fs/UnixPath;
aload 1
2: aload 1
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.events:()Ljava/util/Set;
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_CREATE:Ljava/nio/file/WatchEvent$Kind;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
3: aload 1
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.events:()Ljava/util/Set;
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_DELETE:Ljava/nio/file/WatchEvent$Kind;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
4: invokevirtual sun.nio.fs.SolarisWatchService$Poller.registerChildren:(Lsun/nio/fs/UnixPath;Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;ZZ)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/fs/SolarisWatchService$Poller;
0 6 1 key Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
0 6 2 mask I
MethodParameters:
Name Flags
key
mask
boolean processEntryEvents(sun.nio.fs.SolarisWatchService$EntryNode, int);
descriptor: (Lsun/nio/fs/SolarisWatchService$EntryNode;I)Z
flags: (0x0000)
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.parent:()Lsun/nio/fs/SolarisWatchService$DirectoryNode;
checkcast sun.nio.fs.SolarisWatchService$SolarisWatchKey
astore 3
start local 3 1: aload 3
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.events:()Ljava/util/Set;
astore 4
start local 4 2: aload 4
ifnonnull 4
3: iconst_1
ireturn
4: StackMap locals: sun.nio.fs.SolarisWatchService$SolarisWatchKey java.util.Set
StackMap stack:
iload 2
bipush 6
iand
ifeq 7
5: aload 4
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY:Ljava/nio/file/WatchEvent$Kind;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 7
6: aload 3
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY:Ljava/nio/file/WatchEvent$Kind;
aload 1
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.name:()Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.signalEvent:(Ljava/nio/file/WatchEvent$Kind;Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 8 1 node Lsun/nio/fs/SolarisWatchService$EntryNode;
0 8 2 mask I
1 8 3 key Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
2 8 4 events Ljava/util/Set<+Ljava/nio/file/WatchEvent$Kind<*>;>;
MethodParameters:
Name Flags
node
mask
void registerChildren(sun.nio.fs.UnixPath, sun.nio.fs.SolarisWatchService$SolarisWatchKey, boolean, boolean);
descriptor: (Lsun/nio/fs/UnixPath;Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;ZZ)V
flags: (0x0000)
Code:
stack=6, locals=19, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.events:()Ljava/util/Set;
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY:Ljava/nio/file/WatchEvent$Kind;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
1: istore 5
start local 5 2: aload 2
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.children:()Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 5
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int int top java.util.Iterator
StackMap stack:
3: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.nio.fs.SolarisWatchService$EntryNode
astore 6
start local 6 4: aload 6
iconst_0
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.setVisited:(Z)V
end local 6 5: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aconst_null
astore 6
aconst_null
astore 7
7: aload 1
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
astore 8
start local 8 8: aload 8
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 10
goto 41
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int int java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
StackMap stack:
9: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 9
start local 9 10: aload 9
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
astore 11
start local 11 11: aload 2
aload 11
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.getChild:(Ljava/nio/file/Path;)Lsun/nio/fs/SolarisWatchService$EntryNode;
astore 12
start local 12 12: aload 12
ifnull 15
13: aload 12
iconst_1
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.setVisited:(Z)V
14: goto 41
15: StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int int java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.nio.file.Path java.util.Iterator java.nio.file.Path sun.nio.fs.SolarisWatchService$EntryNode
StackMap stack:
lconst_0
lstore 13
start local 13 16: iconst_0
istore 15
start local 15 17: iconst_0
istore 16
start local 16 18: iload 5
ifeq 27
19: aload 9
checkcast sun.nio.fs.UnixPath
astore 17
start local 17 20: ldc 268435462
istore 18
start local 18 21: aload 0
aload 17
iload 18
invokevirtual sun.nio.fs.SolarisWatchService$Poller.registerImpl:(Lsun/nio/fs/UnixPath;I)J
lstore 13
22: iconst_1
istore 16
end local 18 end local 17 23: goto 28
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int int java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.nio.file.Path java.util.Iterator java.nio.file.Path sun.nio.fs.SolarisWatchService$EntryNode long int int
StackMap stack: sun.nio.fs.UnixException
24: astore 17
start local 17 25: aload 17
invokevirtual sun.nio.fs.UnixException.errno:()I
istore 15
end local 17 26: goto 28
27: StackMap locals:
StackMap stack:
iconst_1
istore 16
28: StackMap locals:
StackMap stack:
iload 16
ifeq 34
29: new sun.nio.fs.SolarisWatchService$EntryNode
dup
lload 13
aload 9
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
checkcast sun.nio.fs.UnixPath
aload 2
invokespecial sun.nio.fs.SolarisWatchService$EntryNode.<init>:(JLsun/nio/fs/UnixPath;Lsun/nio/fs/SolarisWatchService$DirectoryNode;)V
astore 12
30: aload 12
iconst_1
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.setVisited:(Z)V
31: aload 2
aload 9
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
aload 12
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.addChild:(Ljava/nio/file/Path;Lsun/nio/fs/SolarisWatchService$EntryNode;)V
32: lload 13
lconst_0
lcmp
ifeq 34
33: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.object2Node:Ljava/util/Map;
lload 13
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 12
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
34: StackMap locals:
StackMap stack:
iload 15
iconst_2
if_icmpne 35
iconst_1
goto 36
StackMap locals:
StackMap stack:
35: iconst_0
StackMap locals:
StackMap stack: int
36: istore 17
start local 17 37: iload 3
ifeq 39
iload 16
ifne 38
iload 17
ifeq 39
38: StackMap locals: int
StackMap stack:
aload 2
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_CREATE:Ljava/nio/file/WatchEvent$Kind;
aload 11
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.signalEvent:(Ljava/nio/file/WatchEvent$Kind;Ljava/lang/Object;)V
39: StackMap locals:
StackMap stack:
iload 4
ifeq 41
iload 17
ifeq 41
40: aload 2
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_DELETE:Ljava/nio/file/WatchEvent$Kind;
aload 11
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.signalEvent:(Ljava/nio/file/WatchEvent$Kind;Ljava/lang/Object;)V
end local 17 end local 16 end local 15 end local 13 end local 12 end local 11 end local 9 41: StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int int java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
42: aload 8
ifnull 51
aload 8
invokeinterface java.nio.file.DirectoryStream.close:()V
goto 51
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int int java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
StackMap stack: java.lang.Throwable
43: astore 6
aload 8
ifnull 44
aload 8
invokeinterface java.nio.file.DirectoryStream.close:()V
end local 8 StackMap locals:
StackMap stack:
44: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
45: astore 7
aload 6
ifnonnull 46
aload 7
astore 6
goto 47
StackMap locals:
StackMap stack:
46: aload 6
aload 7
if_acmpeq 47
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
47: aload 6
athrow
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int int
StackMap stack: java.lang.Exception
48: pop
49: aload 2
getstatic java.nio.file.StandardWatchEventKinds.OVERFLOW:Ljava/nio/file/WatchEvent$Kind;
aconst_null
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.signalEvent:(Ljava/nio/file/WatchEvent$Kind;Ljava/lang/Object;)V
50: return
51: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.children:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
52: astore 6
start local 6 53: goto 64
54: StackMap locals: java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 7
start local 7 55: aload 7
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast sun.nio.fs.SolarisWatchService$EntryNode
astore 8
start local 8 56: aload 8
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.isVisited:()Z
ifne 64
57: aload 8
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.object:()J
lstore 9
start local 9 58: lload 9
lconst_0
lcmp
ifeq 61
59: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.object2Node:Ljava/util/Map;
lload 9
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
60: aload 0
lload 9
iconst_1
invokevirtual sun.nio.fs.SolarisWatchService$Poller.releaseObject:(JZ)V
61: StackMap locals: java.util.Map$Entry sun.nio.fs.SolarisWatchService$EntryNode long
StackMap stack:
iload 4
ifeq 63
62: aload 2
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_DELETE:Ljava/nio/file/WatchEvent$Kind;
aload 8
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.name:()Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.signalEvent:(Ljava/nio/file/WatchEvent$Kind;Ljava/lang/Object;)V
63: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.remove:()V
end local 9 end local 8 end local 7 64: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 54
65: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 66 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 66 1 dir Lsun/nio/fs/UnixPath;
0 66 2 parent Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
0 66 3 sendCreateEvents Z
0 66 4 sendDeleteEvents Z
2 66 5 isModifyEnabled Z
4 5 6 node Lsun/nio/fs/SolarisWatchService$EntryNode;
8 44 8 stream Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
10 41 9 entry Ljava/nio/file/Path;
11 41 11 name Ljava/nio/file/Path;
12 41 12 node Lsun/nio/fs/SolarisWatchService$EntryNode;
16 41 13 object J
17 41 15 errno I
18 41 16 addNode Z
20 23 17 path Lsun/nio/fs/UnixPath;
21 23 18 events I
25 26 17 x Lsun/nio/fs/UnixException;
37 41 17 deleted Z
53 66 6 iterator Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/nio/file/Path;Lsun/nio/fs/SolarisWatchService$EntryNode;>;>;
55 64 7 entry Ljava/util/Map$Entry<Ljava/nio/file/Path;Lsun/nio/fs/SolarisWatchService$EntryNode;>;
56 64 8 node Lsun/nio/fs/SolarisWatchService$EntryNode;
58 64 9 object J
Exception table:
from to target type
19 23 24 Class sun.nio.fs.UnixException
8 42 43 any
7 45 45 any
6 48 48 Class java.nio.file.DirectoryIteratorException
6 48 48 Class java.io.IOException
MethodParameters:
Name Flags
dir
parent
sendCreateEvents
sendDeleteEvents
void updateEvents(sun.nio.fs.SolarisWatchService$SolarisWatchKey, java.util.Set<? extends java.nio.file.WatchEvent$Kind<?>>);
descriptor: (Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;Ljava/util/Set;)V
flags: (0x0000)
Code:
stack=3, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.events:()Ljava/util/Set;
1: getstatic java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY:Ljava/nio/file/WatchEvent$Kind;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
2: istore 3
start local 3 3: aload 1
aload 2
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.setEvents:(Ljava/util/Set;)V
4: aload 2
5: getstatic java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY:Ljava/nio/file/WatchEvent$Kind;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
6: istore 4
start local 4 7: iload 4
iload 3
if_icmpeq 27
8: aconst_null
astore 5
start local 5 9: aload 1
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.children:()Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 23
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.SolarisWatchService$SolarisWatchKey java.util.Set int int sun.nio.fs.UnixException top java.util.Iterator
StackMap stack:
10: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.nio.fs.SolarisWatchService$EntryNode
astore 6
start local 6 11: iload 4
ifeq 22
12: aload 1
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.getDirectory:()Lsun/nio/fs/UnixPath;
aload 6
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.name:()Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixPath.resolve:(Ljava/nio/file/Path;)Lsun/nio/fs/UnixPath;
astore 8
start local 8 13: ldc 268435462
istore 9
start local 9 14: aload 0
aload 8
iload 9
invokevirtual sun.nio.fs.SolarisWatchService$Poller.registerImpl:(Lsun/nio/fs/UnixPath;I)J
lstore 10
start local 10 15: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.object2Node:Ljava/util/Map;
lload 10
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 6
lload 10
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.setObject:(J)V
end local 10 17: goto 23
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.SolarisWatchService$SolarisWatchKey java.util.Set int int sun.nio.fs.UnixException sun.nio.fs.SolarisWatchService$EntryNode java.util.Iterator sun.nio.fs.UnixPath int
StackMap stack: sun.nio.fs.UnixException
18: astore 10
start local 10 19: aload 10
invokevirtual sun.nio.fs.UnixException.errno:()I
iconst_2
if_icmpeq 23
20: aload 10
astore 5
21: goto 24
end local 10 end local 9 end local 8 22: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual sun.nio.fs.SolarisWatchService$Poller.releaseChild:(Lsun/nio/fs/SolarisWatchService$EntryNode;)V
end local 6 23: StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.SolarisWatchService$SolarisWatchKey java.util.Set int int sun.nio.fs.UnixException top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
24: StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.SolarisWatchService$SolarisWatchKey java.util.Set int int sun.nio.fs.UnixException
StackMap stack:
aload 5
ifnull 27
25: aload 0
aload 1
invokevirtual sun.nio.fs.SolarisWatchService$Poller.releaseChildren:(Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;)V
26: aload 5
athrow
end local 5 27: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 28 1 key Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
0 28 2 events Ljava/util/Set<+Ljava/nio/file/WatchEvent$Kind<*>;>;
3 28 3 oldModifyEnabled Z
7 28 4 newModifyEnabled Z
9 27 5 ex Lsun/nio/fs/UnixException;
11 23 6 node Lsun/nio/fs/SolarisWatchService$EntryNode;
13 22 8 path Lsun/nio/fs/UnixPath;
14 22 9 ev I
15 17 10 object J
19 22 10 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
14 17 18 Class sun.nio.fs.UnixException
Exceptions:
throws sun.nio.fs.UnixException
Signature: (Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;Ljava/util/Set<+Ljava/nio/file/WatchEvent$Kind<*>;>;)V
MethodParameters:
Name Flags
key
events
long registerImpl(sun.nio.fs.UnixPath, int);
descriptor: (Lsun/nio/fs/UnixPath;I)J
flags: (0x0000)
Code:
stack=9, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual sun.nio.fs.UnixPath.getByteArrayForSysCalls:()[B
astore 3
start local 3 1: aload 3
arraylength
istore 4
start local 4 2: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
iload 4
iconst_1
iadd
i2l
invokevirtual sun.misc.Unsafe.allocateMemory:(J)J
lstore 5
start local 5 3: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
aload 3
getstatic sun.misc.Unsafe.ARRAY_BYTE_BASE_OFFSET:I
i2l
aconst_null
4: lload 5
iload 4
i2l
5: invokevirtual sun.misc.Unsafe.copyMemory:(Ljava/lang/Object;JLjava/lang/Object;JJ)V
6: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
lload 5
iload 4
i2l
ladd
iconst_0
invokevirtual sun.misc.Unsafe.putByte:(JB)V
7: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
getstatic sun.nio.fs.SolarisWatchService.SIZEOF_FILEOBJ:I
i2l
invokevirtual sun.misc.Unsafe.allocateMemory:(J)J
lstore 7
start local 7 8: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
aconst_null
lload 7
getstatic sun.nio.fs.SolarisWatchService.SIZEOF_FILEOBJ:I
i2l
iconst_0
invokevirtual sun.misc.Unsafe.setMemory:(Ljava/lang/Object;JJB)V
9: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
lload 7
getstatic sun.nio.fs.SolarisWatchService.OFFSET_FO_NAME:I
i2l
ladd
lload 5
invokevirtual sun.misc.Unsafe.putAddress:(JJ)V
10: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.port:I
11: bipush 7
12: lload 7
13: iload 2
14: invokestatic sun.nio.fs.SolarisWatchService.portAssociate:(IIJI)V
15: goto 22
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath int byte[] int long long
StackMap stack: sun.nio.fs.UnixException
16: astore 9
start local 9 17: aload 9
invokevirtual sun.nio.fs.UnixException.errno:()I
bipush 11
if_icmpne 19
18: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "The maximum number of objects associated with the port has been reached"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
19: StackMap locals: sun.nio.fs.UnixException
StackMap stack:
getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
lload 5
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
20: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
lload 7
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
21: aload 9
athrow
end local 9 22: StackMap locals:
StackMap stack:
lload 7
lreturn
end local 7 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 23 1 dir Lsun/nio/fs/UnixPath;
0 23 2 events I
1 23 3 path [B
2 23 4 len I
3 23 5 name J
8 23 7 object J
17 22 9 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
10 15 16 Class sun.nio.fs.UnixException
Exceptions:
throws sun.nio.fs.UnixException
MethodParameters:
Name Flags
dir
events
void releaseObject(long, boolean);
descriptor: (JZ)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 3 0: iload 3
ifeq 4
1: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.port:I
bipush 7
lload 1
invokestatic sun.nio.fs.SolarisWatchService.portDissociate:(IIJ)V
2: goto 4
StackMap locals:
StackMap stack: sun.nio.fs.UnixException
3: pop
4: StackMap locals:
StackMap stack:
getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
lload 1
getstatic sun.nio.fs.SolarisWatchService.OFFSET_FO_NAME:I
i2l
ladd
invokevirtual sun.misc.Unsafe.getAddress:(J)J
lstore 4
start local 4 5: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
lload 4
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
6: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
lload 1
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
7: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 8 1 object J
0 8 3 dissociate Z
5 8 4 name J
Exception table:
from to target type
1 2 3 Class sun.nio.fs.UnixException
MethodParameters:
Name Flags
object
dissociate
}
SourceFile: "SolarisWatchService.java"
NestHost: sun.nio.fs.SolarisWatchService
InnerClasses:
public abstract Kind = java.nio.file.WatchEvent$Kind of java.nio.file.WatchEvent
public abstract Modifier = java.nio.file.WatchEvent$Modifier of java.nio.file.WatchEvent
public abstract Entry = java.util.Map$Entry of java.util.Map
private abstract DirectoryNode = sun.nio.fs.SolarisWatchService$DirectoryNode of sun.nio.fs.SolarisWatchService
private EntryNode = sun.nio.fs.SolarisWatchService$EntryNode of sun.nio.fs.SolarisWatchService
private abstract Node = sun.nio.fs.SolarisWatchService$Node of sun.nio.fs.SolarisWatchService
private Poller = sun.nio.fs.SolarisWatchService$Poller of sun.nio.fs.SolarisWatchService
private SolarisWatchKey = sun.nio.fs.SolarisWatchService$SolarisWatchKey of sun.nio.fs.SolarisWatchService