[crac] RFR: Linux file system watcher support

joeylee duke at openjdk.org
Sun May 14 04:06:23 UTC 2023


`inotify` monitors changes on filesystem, this support automatic restore for LinuxFileWatcher.

FileWatcherAfterRestoreTest verifies watcher service works after restore.
FileWatcherTest verifies automatic closing inotiify fd

The watcher keys are still managed by user, so exception will be thrown if no watcher keys are leaked, as in FileWatcherWithOpenKeysTest

-------------

Commit messages:
 - Linux file system watcher support

Changes: https://git.openjdk.org/crac/pull/71/files
 Webrev: https://webrevs.openjdk.org/?repo=crac&pr=71&range=00
  Stats: 345 lines in 4 files changed: 314 ins; 25 del; 6 mod
  Patch: https://git.openjdk.org/crac/pull/71.diff
  Fetch: git fetch https://git.openjdk.org/crac.git pull/71/head:pull/71

PR: https://git.openjdk.org/crac/pull/71


More information about the crac-dev mailing list