RFR(s): (new approach) 8223777: In posix_spawn mode, failing to exec() jspawnhelper does not result in an error

Thomas Stüfe thomas.stuefe at gmail.com
Mon May 20 14:15:34 UTC 2019

Hi all,

(old mail thread:

May I please have your reviews and opinions for the following bug fix:

issue: https://bugs.openjdk.java.net/browse/JDK-8223777


The fix implements Florians proposal: the jspawnhelper will signal its
aliveness to the parent process the moment it gains control. If the parent
process does not get the signal, it assumes exec'ing the jspawnhelper never

I only do this for posix_spawn mode, out of cautiousness.

(Note that I kept the fix as minimal as possible. I found a minor bug and
some improvement possibilities and opened follow up issues to track them:
JDK-8224180 and JDK-8224181).

Thanks, Thomas

More information about the core-libs-dev mailing list