[crac] RFR: Close extraneous file descriptors

Radim Vansa duke at openjdk.org
Thu Feb 16 07:44:03 UTC 2023


Java code cannot use inherited non-standard file descriptors; these can cause trouble when trying to checkpoint the process via CRIU, and hence we will proactively close them on boot.

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

Commit messages:
 - Remove unneeded check
 - Applied review suggestions
 - Close non-standard file descriptors on boot

Changes: https://git.openjdk.org/crac/pull/45/files
 Webrev: https://webrevs.openjdk.org/?repo=crac&pr=45&range=00
  Stats: 253 lines in 7 files changed: 237 ins; 12 del; 4 mod
  Patch: https://git.openjdk.org/crac/pull/45.diff
  Fetch: git fetch https://git.openjdk.org/crac pull/45/head:pull/45

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


More information about the crac-dev mailing list