RFR: 8357436: Change jspawnhelper warning recommendation from VFORK to FORK

Alan Bateman alanb at openjdk.org
Wed May 21 10:12:58 UTC 2025


On Wed, 21 May 2025 08:34:21 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> In [JDK-8352533](https://bugs.openjdk.org/browse/JDK-8352533), we print the suggestion to use VFORK in jspawnhelper misbehaves. But [JDK-8357179](https://bugs.openjdk.org/browse/JDK-8357179) deprecated VFORK! So the warning message should actually suggest using FORK. This seems to be in line with [JDK-8357180](https://bugs.openjdk.org/browse/JDK-8357180) CSR discussion and the pending [JDK-8357181](https://bugs.openjdk.org/browse/JDK-8357181) release note.
> 
> Additional testing:
>  - [x] Linux x86_64 server fastdebug, `java/lang/Process java/lang/ProcessBuilder`

Marked as reviewed by alanb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/25344#pullrequestreview-2857120972


More information about the core-libs-dev mailing list