RFR: 8357089: Remove VFORK launch mechanism from Process implementation (linux)

Thomas Stuefe stuefe at openjdk.org
Fri May 16 08:42:50 UTC 2025


On Fri, 16 May 2025 06:14:57 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Not for JDK 25
> 
> See  the companion CSR (https://bugs.openjdk.org/browse/JDK-8357090) for the ratio behind this removal.
> 
> Patch
> 
> - removes all code handling the VFORK mode.
> - removes or rewrites comments explaining use of vfork by the JVM.
> - we now print out an error message to stderr if the user still specifies `-Djdk.lang.Process.launchMechanism=vfork`.

I will delay this push for early JDK 26; hence back to draft state.

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

PR Comment: https://git.openjdk.org/jdk/pull/25260#issuecomment-2886046022


More information about the core-libs-dev mailing list