[crac] RFR: Improved open file descriptors tracking [v10]
Anton Kozlov
akozlov at openjdk.org
Thu May 11 14:39:27 UTC 2023
On Wed, 10 May 2023 16:06:45 GMT, Radim Vansa <duke at openjdk.org> wrote:
>> Tracks `java.io.FileDescriptor` instances as CRaC resource; before checkpoint these are reported and if not allow-listed (e.g. as opened as standard descriptors) an exception is thrown. Further investigation can use system property `jdk.crac.collect-fd-stacktraces=true` to record origin of those file descriptors.
>> File descriptors claimed in Java code are passed to native; native code checks all open file descriptors and reports error if there's an unexpected FD that is not included in the list passed previously.
>
> Radim Vansa has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 51 commits:
>
> - Merge remote-tracking branch 'origin/crac' into newfd
> - Fixup
> - Merge branch 'context_order' into newfd
> - Revert removing the logging configuration
> - Make comparator private
> - Fix build
> - Minified the set of changes
> - Fixup
> - Remove mention of single-threaded notifications
> - Update docs
> - ... and 41 more: https://git.openjdk.org/crac/compare/ef2437e7...8fd3566c
Thanks for making the progress in this! And make things moving :)
-------------
PR Comment: https://git.openjdk.org/crac/pull/43#issuecomment-1544103294
More information about the crac-dev
mailing list