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 23
21: aload 0
aload 7
aload 2
invokevirtual sun.nio.fs.SolarisWatchService$Poller.updateEvents:(Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;Ljava/util/Set;)V
22: aload 7
areturn
23: StackMap locals: sun.nio.fs.UnixFileKey sun.nio.fs.SolarisWatchService$SolarisWatchKey
StackMap stack:
lconst_0
lstore 8
start local 8 24: aload 0
aload 4
bipush 6
invokevirtual sun.nio.fs.SolarisWatchService$Poller.registerImpl:(Lsun/nio/fs/UnixPath;I)J
lstore 8
25: goto 28
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
26: astore 10
start local 10 27: aload 10
aload 4
invokevirtual sun.nio.fs.UnixException.asIOException:(Lsun/nio/fs/UnixPath;)Ljava/io/IOException;
areturn
end local 10 28: 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
29: 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
30: 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
31: aload 0
aload 4
aload 7
iconst_0
invokevirtual sun.nio.fs.SolarisWatchService$Poller.registerChildren:(Lsun/nio/fs/UnixPath;Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;Z)V
32: 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 33 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 33 1 obj Ljava/nio/file/Path;
0 33 2 events Ljava/util/Set<+Ljava/nio/file/WatchEvent$Kind<*>;>;
0 33 3 modifiers [Ljava/nio/file/WatchEvent$Modifier;
3 8 4 modifier Ljava/nio/file/WatchEvent$Modifier;
11 33 4 dir Lsun/nio/fs/UnixPath;
12 33 5 attrs Lsun/nio/fs/UnixFileAttributes;
15 16 6 x Lsun/nio/fs/UnixException;
19 33 6 fileKey Lsun/nio/fs/UnixFileKey;
20 33 7 watchKey Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
24 33 8 object J
27 28 10 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
12 13 14 Class sun.nio.fs.UnixException
24 25 26 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 implCancelKey(java.nio.file.WatchKey);
descriptor: (Ljava/nio/file/WatchKey;)V
flags: (0x0000)
Code:
stack=4, locals=8, 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 15
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 2
getfield sun.nio.fs.SolarisWatchService$SolarisWatchKey.children:Ljava/util/Map;
ifnull 11
4: aload 2
getfield 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;
astore 4
goto 10
StackMap locals: sun.nio.fs.SolarisWatchService$Poller java.nio.file.WatchKey sun.nio.fs.SolarisWatchService$SolarisWatchKey top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 6: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast sun.nio.fs.SolarisWatchService$EntryNode
astore 5
start local 5 7: aload 5
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.object:()J
lstore 6
start local 6 8: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.object2Node:Ljava/util/Map;
lload 6
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
lload 6
iconst_1
invokevirtual sun.nio.fs.SolarisWatchService$Poller.releaseObject:(JZ)V
end local 6 end local 5 end local 3 10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
11: StackMap locals: sun.nio.fs.SolarisWatchService$Poller java.nio.file.WatchKey sun.nio.fs.SolarisWatchService$SolarisWatchKey
StackMap stack:
aload 2
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.object:()J
lstore 3
start local 3 12: 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
13: aload 0
lload 3
iconst_1
invokevirtual sun.nio.fs.SolarisWatchService$Poller.releaseObject:(JZ)V
14: aload 2
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.invalidate:()V
end local 3 15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 16 1 obj Ljava/nio/file/WatchKey;
1 16 2 key Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
6 10 3 entry Ljava/util/Map$Entry<Ljava/nio/file/Path;Lsun/nio/fs/SolarisWatchService$EntryNode;>;
7 10 5 node Lsun/nio/fs/SolarisWatchService$EntryNode;
8 10 6 object J
12 15 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:()Ljava/nio/file/Path;
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=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
bipush 6
iand
ifeq 4
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: invokevirtual sun.nio.fs.SolarisWatchService$Poller.registerChildren:(Lsun/nio/fs/UnixPath;Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;Z)V
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/fs/SolarisWatchService$Poller;
0 5 1 key Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
0 5 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=6, 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:()Ljava/nio/file/Path;
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.signalEvent:(Ljava/nio/file/WatchEvent$Kind;Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
iload 2
bipush 112
iand
ifeq 16
8: aload 4
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_DELETE:Ljava/nio/file/WatchEvent$Kind;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 16
9: iconst_1
istore 5
start local 5 10: aload 3
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.getDirectory:()Lsun/nio/fs/UnixPath;
aload 1
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.name:()Ljava/nio/file/Path;
invokevirtual sun.nio.fs.UnixPath.resolve:(Ljava/nio/file/Path;)Lsun/nio/fs/UnixPath;
iconst_0
invokestatic sun.nio.fs.UnixFileAttributes.get:(Lsun/nio/fs/UnixPath;Z)Lsun/nio/fs/UnixFileAttributes;
pop
11: iconst_0
istore 5
12: goto 14
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.SolarisWatchService$EntryNode int sun.nio.fs.SolarisWatchService$SolarisWatchKey java.util.Set int
StackMap stack: sun.nio.fs.UnixException
13: pop
14: StackMap locals:
StackMap stack:
iload 5
ifeq 16
15: aload 3
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_DELETE:Ljava/nio/file/WatchEvent$Kind;
aload 1
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.name:()Ljava/nio/file/Path;
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.signalEvent:(Ljava/nio/file/WatchEvent$Kind;Ljava/lang/Object;)V
end local 5 16: 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 17 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 17 1 node Lsun/nio/fs/SolarisWatchService$EntryNode;
0 17 2 mask I
1 17 3 key Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
2 17 4 events Ljava/util/Set<+Ljava/nio/file/WatchEvent$Kind<*>;>;
10 16 5 removed Z
Exception table:
from to target type
10 12 13 Class sun.nio.fs.UnixException
MethodParameters:
Name Flags
node
mask
void registerChildren(sun.nio.fs.UnixPath, sun.nio.fs.SolarisWatchService$SolarisWatchKey, boolean);
descriptor: (Lsun/nio/fs/UnixPath;Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;Z)V
flags: (0x0000)
Code:
stack=6, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc 268435456
istore 4
start local 4 1: 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
ifeq 3
2: iload 4
bipush 6
ior
istore 4
3: StackMap locals: int
StackMap stack:
aconst_null
astore 5
start local 5 4: aload 1
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
astore 5
5: goto 8
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int java.nio.file.DirectoryStream
StackMap stack: java.io.IOException
6: pop
7: return
8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 7
goto 23
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int java.nio.file.DirectoryStream top java.util.Iterator
StackMap stack:
9: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 6
start local 6 10: aload 6
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
astore 8
start local 8 11: aload 2
aload 8
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.getChild:(Ljava/nio/file/Path;)Lsun/nio/fs/SolarisWatchService$EntryNode;
ifnull 13
12: goto 23
13: StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int java.nio.file.DirectoryStream java.nio.file.Path java.util.Iterator java.nio.file.Path
StackMap stack:
iload 3
ifeq 15
14: aload 2
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_CREATE:Ljava/nio/file/WatchEvent$Kind;
aload 8
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.signalEvent:(Ljava/nio/file/WatchEvent$Kind;Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
lconst_0
lstore 9
start local 9 16: aload 0
aload 6
checkcast sun.nio.fs.UnixPath
iload 4
invokevirtual sun.nio.fs.SolarisWatchService$Poller.registerImpl:(Lsun/nio/fs/UnixPath;I)J
lstore 9
17: goto 20
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int java.nio.file.DirectoryStream java.nio.file.Path java.util.Iterator java.nio.file.Path long
StackMap stack: sun.nio.fs.UnixException
18: pop
19: goto 23
20: StackMap locals:
StackMap stack:
new sun.nio.fs.SolarisWatchService$EntryNode
dup
lload 9
aload 6
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
aload 2
invokespecial sun.nio.fs.SolarisWatchService$EntryNode.<init>:(JLjava/nio/file/Path;Lsun/nio/fs/SolarisWatchService$DirectoryNode;)V
astore 11
start local 11 21: aload 2
aload 6
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
aload 11
invokevirtual sun.nio.fs.SolarisWatchService$SolarisWatchKey.addChild:(Ljava/nio/file/Path;Lsun/nio/fs/SolarisWatchService$EntryNode;)V
22: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.object2Node:Ljava/util/Map;
lload 9
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 11
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 11 end local 9 end local 8 end local 6 23: StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int java.nio.file.DirectoryStream top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
24: goto 34
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int java.nio.file.DirectoryStream
StackMap stack: java.util.ConcurrentModificationException
25: pop
26: aload 5
invokeinterface java.nio.file.DirectoryStream.close:()V
27: goto 37
StackMap locals:
StackMap stack: java.io.IOException
28: pop
goto 37
29: StackMap locals:
StackMap stack: java.lang.Throwable
astore 12
30: aload 5
invokeinterface java.nio.file.DirectoryStream.close:()V
31: goto 33
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int java.nio.file.DirectoryStream top top top top top top java.lang.Throwable
StackMap stack: java.io.IOException
32: pop
33: StackMap locals:
StackMap stack:
aload 12
athrow
34: StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.UnixPath sun.nio.fs.SolarisWatchService$SolarisWatchKey int int java.nio.file.DirectoryStream
StackMap stack:
aload 5
invokeinterface java.nio.file.DirectoryStream.close:()V
35: goto 37
StackMap locals:
StackMap stack: java.io.IOException
36: pop
37: StackMap locals:
StackMap stack:
return
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 38 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 38 1 dir Lsun/nio/fs/UnixPath;
0 38 2 parent Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
0 38 3 sendEvents Z
1 38 4 events I
4 38 5 stream Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
10 23 6 entry Ljava/nio/file/Path;
11 23 8 name Ljava/nio/file/Path;
16 23 9 object J
21 23 11 node Lsun/nio/fs/SolarisWatchService$EntryNode;
Exception table:
from to target type
4 5 6 Class java.io.IOException
16 17 18 Class sun.nio.fs.UnixException
8 24 25 Class java.util.ConcurrentModificationException
26 27 28 Class java.io.IOException
8 26 29 any
30 31 32 Class java.io.IOException
34 35 36 Class java.io.IOException
MethodParameters:
Name Flags
dir
parent
sendEvents
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=5, locals=10, 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 3
iload 4
if_icmpne 9
8: return
9: StackMap locals: int int
StackMap stack:
aload 1
getfield sun.nio.fs.SolarisWatchService$SolarisWatchKey.children:Ljava/util/Map;
ifnull 24
10: ldc 268435456
istore 5
start local 5 11: iload 4
ifeq 13
12: iload 5
bipush 6
ior
istore 5
13: StackMap locals: int
StackMap stack:
aload 1
getfield 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;
astore 7
goto 23
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.SolarisWatchService$SolarisWatchKey java.util.Set int int int top java.util.Iterator
StackMap stack:
14: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 15: aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast sun.nio.fs.SolarisWatchService$EntryNode
invokevirtual sun.nio.fs.SolarisWatchService$EntryNode.object:()J
lstore 8
start local 8 16: aload 0
getfield sun.nio.fs.SolarisWatchService$Poller.port:I
17: bipush 7
18: lload 8
19: iload 5
20: invokestatic sun.nio.fs.SolarisWatchService.portAssociate:(IIJI)V
21: goto 23
StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.SolarisWatchService$SolarisWatchKey java.util.Set int int int java.util.Map$Entry java.util.Iterator long
StackMap stack: sun.nio.fs.UnixException
22: pop
end local 8 end local 6 23: StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.SolarisWatchService$SolarisWatchKey java.util.Set int int int top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
end local 5 24: StackMap locals: sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.SolarisWatchService$SolarisWatchKey java.util.Set int int
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 25 0 this Lsun/nio/fs/SolarisWatchService$Poller;
0 25 1 key Lsun/nio/fs/SolarisWatchService$SolarisWatchKey;
0 25 2 events Ljava/util/Set<+Ljava/nio/file/WatchEvent$Kind<*>;>;
3 25 3 wasModifyEnabled Z
7 25 4 isModifyEnabled Z
11 24 5 ev I
15 23 6 entry Ljava/util/Map$Entry<Ljava/nio/file/Path;Lsun/nio/fs/SolarisWatchService$EntryNode;>;
16 23 8 object J
Exception table:
from to target type
16 21 22 Class 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