RFR: 8237830: support O_CLOEXEC in os::open on other OS than Linux
David Holmes
david.holmes at oracle.com
Tue Jan 28 04:26:44 UTC 2020
Hi Matthias,
On 27/01/2020 10:47 pm, Baesken, Matthias wrote:
> Hello, please review my change that adds O_CLOEXEC in HS os::open for AIX and BSD/macOS .
Do we know when O_CLOEXEC support was added to those platforms? Do we
know that the flag is simply ignored if used on a platform prior to that
support existing?
Thanks,
David
> Change
>
> https://bugs.openjdk.java.net/browse/JDK-8043780
>
> introduced the usage of O_CLOEXEC in os::open on Linux.
>
> We might do the same on other UNIX OS for example BSD/Mac and AIX (AIX 7.X has O_CLOEXEC).
>
>
> Bug/webrev :
>
> https://bugs.openjdk.java.net/browse/JDK-8237830
>
> http://cr.openjdk.java.net/~mbaesken/webrevs/8237830.0/
>
> Thanks, Matthias
>
>
More information about the hotspot-dev
mailing list