src/hotspot/os/solaris/os_solaris.cpp
changeset 52109 101c2b6eacbe
parent 51376 181e6a03249b
child 52112 76c87b213fa0
--- a/src/hotspot/os/solaris/os_solaris.cpp	Fri Oct 12 10:58:06 2018 +0200
+++ b/src/hotspot/os/solaris/os_solaris.cpp	Tue Oct 09 16:08:07 2018 +0530
@@ -5252,7 +5252,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) {
   char * argv[4];
   argv[0] = (char *)"sh";
   argv[1] = (char *)"-c";