[crac] RFR: List open FDs through reading /proc/self/fd [v2]
Anton Kozlov
akozlov at openjdk.org
Thu May 25 16:02:38 UTC 2023
On Thu, 25 May 2023 14:57:44 GMT, Radim Vansa <duke at openjdk.org> wrote:
>> Previously the code was iterating through all possible FD values, up to highest allowed FD number, and required allocation of possibly huge array. Reading /proc/self/fd into a compact array is both more memory efficient and does not require excessive syscalls.
>
> Radim Vansa has updated the pull request incrementally with one additional commit since the last revision:
>
> Last touches
Thanks!
-------------
Marked as reviewed by akozlov (Lead).
PR Review: https://git.openjdk.org/crac/pull/67#pullrequestreview-1444223762
More information about the crac-dev
mailing list