--- old/src/hotspot/os/bsd/os_bsd.cpp 2018-10-04 14:38:56.691316195 +0530 +++ new/src/hotspot/os/bsd/os_bsd.cpp 2018-10-04 14:38:56.563316195 +0530 @@ -3795,7 +3795,7 @@ // or -1 on failure (e.g. can't fork a new process). // Unlike system(), this function can be called from signal handler. It // doesn't block SIGINT et al. -int os::fork_and_exec(char* cmd) { +int os::fork_and_exec(char* cmd, bool use_vfork_if_available) { const char * argv[4] = {"sh", "-c", cmd, NULL}; // fork() in BsdThreads/NPTL is not async-safe. It needs to run