mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8027434: "-XX:OnOutOfMemoryError" uses fork instead of vfork
Reviewed-by: dholmes, iklam
This commit is contained in:
parent
cfb6fb66c2
commit
cbe11130f5
7 changed files with 14 additions and 8 deletions
|
@ -543,7 +543,7 @@ class os: AllStatic {
|
|||
static char* do_you_want_to_debug(const char* message);
|
||||
|
||||
// run cmd in a separate process and return its exit code; or -1 on failures
|
||||
static int fork_and_exec(char *cmd);
|
||||
static int fork_and_exec(char *cmd, bool use_vfork_if_available = false);
|
||||
|
||||
// Call ::exit() on all platforms but Windows
|
||||
static void exit(int num);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue