[crac] RFR: Handle open file descriptors with configurable policies [v3]
Radim Vansa
duke at openjdk.org
Fri May 12 13:29:08 UTC 2023
> When the application does not close some file descriptors through Resources we can use `jdk.crac.fd-policy.checkpoint` and `jdk.crac.fd-policy.restore` to configure the behaviour.
>
> These properties can specify a list of File.pathSeparator-separated key=value pairs, where the key can be one of:
>
> * numeric file descriptor
> * path using 'glob' pattern matching (see FileSystem.getPathMatcher() for details)
> * keywords FIFO and SOCKET that match pipes and sockets
>
> The value should match one of possible values from OpenFDPolicies.BeforeCheckpoint and OpenFDPolicies.AfterRestore
Radim Vansa has updated the pull request incrementally with one additional commit since the last revision:
Effectively revert previous commit: Initialize logger in <clinit>
-------------
Changes:
- all: https://git.openjdk.org/crac/pull/69/files
- new: https://git.openjdk.org/crac/pull/69/files/37cc0ac4..d9d9e48c
Webrevs:
- full: https://webrevs.openjdk.org/?repo=crac&pr=69&range=02
- incr: https://webrevs.openjdk.org/?repo=crac&pr=69&range=01-02
Stats: 7 lines in 1 file changed: 4 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/crac/pull/69.diff
Fetch: git fetch https://git.openjdk.org/crac.git pull/69/head:pull/69
PR: https://git.openjdk.org/crac/pull/69
More information about the crac-dev
mailing list