RFR: 8291067: macOS should use O_CLOEXEC instead of FD_CLOEXEC [v5]

Daniel D. Daugherty dcubed at openjdk.org
Thu Nov 17 21:45:29 UTC 2022


On Thu, 17 Nov 2022 17:41:56 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:

>> O_CLOEXEC is also available on macOS (__DARWIN_C_LEVEL >= 200809L), so use it same as on linux.
>
> Gerard Ziemski has updated the pull request incrementally with one additional commit since the last revision:
> 
>   use open() to create the test file as needed

Having the open() call do the create is simpler.
I don't know about using "test" for the file name.

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

Marked as reviewed by dcubed (Reviewer).

PR: https://git.openjdk.org/jdk/pull/9663


More information about the hotspot-runtime-dev mailing list