[crac] RFR: Improved open file descriptors tracking [v2]
Radim Vansa
duke at openjdk.org
Wed Feb 1 08:17:22 UTC 2023
On Tue, 31 Jan 2023 17:11:24 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 incrementally with one additional commit since the last revision:
>
> Drop native FDs tracking
@AntonKozlov I've dropped the native FDs tracking.
-------------
PR: https://git.openjdk.org/crac/pull/43
More information about the crac-dev
mailing list