class sun.nio.fs.LinuxWatchService extends sun.nio.fs.AbstractWatchService
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.nio.fs.LinuxWatchService
  super_class: sun.nio.fs.AbstractWatchService
{
  private static final jdk.internal.misc.Unsafe unsafe;
    descriptor: Ljdk/internal/misc/Unsafe;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final sun.nio.fs.LinuxWatchService$Poller poller;
    descriptor: Lsun/nio/fs/LinuxWatchService$Poller;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 48
            invokestatic jdk.internal.misc.Unsafe.getUnsafe:()Ljdk/internal/misc/Unsafe;
            putstatic sun.nio.fs.LinuxWatchService.unsafe:Ljdk/internal/misc/Unsafe;
         1: .line 460
            ldc "nio"
            invokestatic jdk.internal.loader.BootLoader.loadLibrary:(Ljava/lang/String;)V
         2: .line 461
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(sun.nio.fs.UnixFileSystem);
    descriptor: (Lsun/nio/fs/UnixFileSystem;)V
    flags: (0x0000) 
    Code:
      stack=7, locals=5, args_size=2
        start local 0 // sun.nio.fs.LinuxWatchService this
        start local 1 // sun.nio.fs.UnixFileSystem fs
         0: .line 53
            aload 0 /* this */
            invokespecial sun.nio.fs.AbstractWatchService.<init>:()V
         1: .line 55
            iconst_m1
            istore 2 /* ifd */
        start local 2 // int ifd
         2: .line 57
            invokestatic sun.nio.fs.LinuxWatchService.inotifyInit:()I
            istore 2 /* ifd */
         3: .line 58
            goto 10
      StackMap locals: sun.nio.fs.LinuxWatchService sun.nio.fs.UnixFileSystem int
      StackMap stack: sun.nio.fs.UnixException
         4: astore 3 /* x */
        start local 3 // sun.nio.fs.UnixException x
         5: .line 59
            aload 3 /* x */
            invokevirtual sun.nio.fs.UnixException.errno:()I
            bipush 24
            if_icmpne 7
         6: .line 60
            ldc "User limit of inotify instances reached or too many open files"
            goto 8
         7: .line 61
      StackMap locals: sun.nio.fs.UnixException
      StackMap stack:
            aload 3 /* x */
            invokevirtual sun.nio.fs.UnixException.errorString:()Ljava/lang/String;
         8: .line 59
      StackMap locals:
      StackMap stack: java.lang.String
            astore 4 /* msg */
        start local 4 // java.lang.String msg
         9: .line 62
            new java.io.IOException
            dup
            aload 4 /* msg */
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 4 // java.lang.String msg
        end local 3 // sun.nio.fs.UnixException x
        10: .line 67
      StackMap locals:
      StackMap stack:
            iconst_2
            newarray 10
            astore 3 /* sp */
        start local 3 // int[] sp
        11: .line 69
            iload 2 /* ifd */
            iconst_0
            invokestatic sun.nio.fs.LinuxWatchService.configureBlocking:(IZ)V
        12: .line 70
            aload 3 /* sp */
            invokestatic sun.nio.fs.LinuxWatchService.socketpair:([I)V
        13: .line 71
            aload 3 /* sp */
            iconst_0
            iaload
            iconst_0
            invokestatic sun.nio.fs.LinuxWatchService.configureBlocking:(IZ)V
        14: .line 72
            goto 18
      StackMap locals: sun.nio.fs.LinuxWatchService sun.nio.fs.UnixFileSystem int int[]
      StackMap stack: sun.nio.fs.UnixException
        15: astore 4 /* x */
        start local 4 // sun.nio.fs.UnixException x
        16: .line 73
            iload 2 /* ifd */
            invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
        17: .line 74
            new java.io.IOException
            dup
            aload 4 /* x */
            invokevirtual sun.nio.fs.UnixException.errorString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 4 // sun.nio.fs.UnixException x
        18: .line 77
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new sun.nio.fs.LinuxWatchService$Poller
            dup
            aload 1 /* fs */
            aload 0 /* this */
            iload 2 /* ifd */
            aload 3 /* sp */
            invokespecial sun.nio.fs.LinuxWatchService$Poller.<init>:(Lsun/nio/fs/UnixFileSystem;Lsun/nio/fs/LinuxWatchService;I[I)V
            putfield sun.nio.fs.LinuxWatchService.poller:Lsun/nio/fs/LinuxWatchService$Poller;
        19: .line 78
            aload 0 /* this */
            getfield sun.nio.fs.LinuxWatchService.poller:Lsun/nio/fs/LinuxWatchService$Poller;
            invokevirtual sun.nio.fs.LinuxWatchService$Poller.start:()V
        20: .line 79
            return
        end local 3 // int[] sp
        end local 2 // int ifd
        end local 1 // sun.nio.fs.UnixFileSystem fs
        end local 0 // sun.nio.fs.LinuxWatchService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   21     0  this  Lsun/nio/fs/LinuxWatchService;
            0   21     1    fs  Lsun/nio/fs/UnixFileSystem;
            2   21     2   ifd  I
            5   10     3     x  Lsun/nio/fs/UnixException;
            9   10     4   msg  Ljava/lang/String;
           11   21     3    sp  [I
           16   18     4     x  Lsun/nio/fs/UnixException;
      Exception table:
        from    to  target  type
           2     3       4  Class sun.nio.fs.UnixException
          11    14      15  Class sun.nio.fs.UnixException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      fs    

  java.nio.file.WatchKey register(java.nio.file.Path, java.nio.file.WatchEvent$Kind<?>[], java.nio.file.WatchEvent$Modifier[]);
    descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/WatchEvent$Kind;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/nio/file/WatchKey;
    flags: (0x0080) ACC_VARARGS
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // sun.nio.fs.LinuxWatchService this
        start local 1 // java.nio.file.Path dir
        start local 2 // java.nio.file.WatchEvent$Kind[] events
        start local 3 // java.nio.file.WatchEvent$Modifier[] modifiers
         0: .line 88
            aload 0 /* this */
            getfield sun.nio.fs.LinuxWatchService.poller:Lsun/nio/fs/LinuxWatchService$Poller;
            aload 1 /* dir */
            aload 2 /* events */
            aload 3 /* modifiers */
            invokevirtual sun.nio.fs.LinuxWatchService$Poller.register:(Ljava/nio/file/Path;[Ljava/nio/file/WatchEvent$Kind;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/nio/file/WatchKey;
            areturn
        end local 3 // java.nio.file.WatchEvent$Modifier[] modifiers
        end local 2 // java.nio.file.WatchEvent$Kind[] events
        end local 1 // java.nio.file.Path dir
        end local 0 // sun.nio.fs.LinuxWatchService this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lsun/nio/fs/LinuxWatchService;
            0    1     1        dir  Ljava/nio/file/Path;
            0    1     2     events  [Ljava/nio/file/WatchEvent$Kind;
            0    1     3  modifiers  [Ljava/nio/file/WatchEvent$Modifier;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/nio/file/Path;[Ljava/nio/file/WatchEvent$Kind<*>;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/nio/file/WatchKey;
    MethodParameters:
           Name  Flags
      dir        
      events     
      modifiers  

  void implClose();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.nio.fs.LinuxWatchService this
         0: .line 94
            aload 0 /* this */
            getfield sun.nio.fs.LinuxWatchService.poller:Lsun/nio/fs/LinuxWatchService$Poller;
            invokevirtual sun.nio.fs.LinuxWatchService$Poller.close:()V
         1: .line 95
            return
        end local 0 // sun.nio.fs.LinuxWatchService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/nio/fs/LinuxWatchService;
    Exceptions:
      throws java.io.IOException

  private static native int eventSize();
    descriptor: ()I
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE

  private static native int[] eventOffsets();
    descriptor: ()[I
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE

  private static native int inotifyInit();
    descriptor: ()I
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    Exceptions:
      throws sun.nio.fs.UnixException

  private static native int inotifyAddWatch(int, long, int);
    descriptor: (IJI)I
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    Exceptions:
      throws sun.nio.fs.UnixException
    MethodParameters:
             Name  Flags
      fd           
      pathAddress  
      mask         

  private static native void inotifyRmWatch(int, int);
    descriptor: (II)V
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    Exceptions:
      throws sun.nio.fs.UnixException
    MethodParameters:
      Name  Flags
      fd    
      wd    

  private static native void configureBlocking(int, boolean);
    descriptor: (IZ)V
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    Exceptions:
      throws sun.nio.fs.UnixException
    MethodParameters:
          Name  Flags
      fd        
      blocking  

  private static native void socketpair(int[]);
    descriptor: ([I)V
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    Exceptions:
      throws sun.nio.fs.UnixException
    MethodParameters:
      Name  Flags
      sv    

  private static native int poll(int, int);
    descriptor: (II)I
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    Exceptions:
      throws sun.nio.fs.UnixException
    MethodParameters:
      Name  Flags
      fd1   
      fd2   
}
SourceFile: "LinuxWatchService.java"
NestMembers:
  sun.nio.fs.LinuxWatchService$LinuxWatchKey  sun.nio.fs.LinuxWatchService$Poller
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
  private LinuxWatchKey = sun.nio.fs.LinuxWatchService$LinuxWatchKey of sun.nio.fs.LinuxWatchService
  private Poller = sun.nio.fs.LinuxWatchService$Poller of sun.nio.fs.LinuxWatchService