[crac] RFR: Linux file system watcher support
Radim Vansa
duke at openjdk.org
Mon May 15 13:44:35 UTC 2023
On Sun, 14 May 2023 10:00:26 GMT, joeylee <duke at openjdk.org> wrote:
> 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
Can't tell out of top of my head - the crash.log has the VM error log printed just after calling `ls` rather than `java -ea -XX:CRaCCheckpointTo=cr jdk.test.lib.crac.CracTest __run_test__ FileWatcherAfterRestoreTest` - have you edited it?
Could you try to reproduce with a `CONF=fastdebug` build?
-------------
PR Comment: https://git.openjdk.org/crac/pull/72#issuecomment-1547882244
More information about the crac-dev
mailing list