RFR: 8238161: use os::fopen in HS code where possible

Matthias Baesken mbaesken at openjdk.java.net
Tue Jan 11 08:18:22 UTC 2022


On Mon, 10 Jan 2022 21:02:54 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

> Please review this change to hotspot to call os::fopen() instead of fopen() so that the 'close-on-exec' flag gets set for these opened files.  This change was tested by running Mach5 tiers 1-2 on Linux, Mac OS, and Windows, and Mach5 tiers 3-5 on Linux x64.  Additionally, the changes were built on Linux PPC.
> 
> Thanks, Harold

Hi Harold, this looks good to me.
Thanks, Matthias

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

Marked as reviewed by mbaesken (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/7022


More information about the hotspot-dev mailing list