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

Harold Seigel hseigel at openjdk.java.net
Wed Jan 12 13:14:43 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

This pull request has now been integrated.

Changeset: f54ce844
Author:    Harold Seigel <hseigel at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/f54ce84474c2ced340c92564814fa5c221415944
Stats:     59 lines in 20 files changed: 1 ins; 0 del; 58 mod

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

Reviewed-by: mbaesken, coleenp

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

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


More information about the hotspot-dev mailing list