src/share/vm/runtime/os.hpp

changeset 9637
eef07cd490d4
parent 9572
624a0741915c
parent 9620
97d605522fcb
child 9756
2be326848943
equal deleted inserted replaced
9581:95fce20624fc 9637:eef07cd490d4
1 /* 1 /*
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
531 531
532 static int message_box(const char* title, const char* message); 532 static int message_box(const char* title, const char* message);
533 static char* do_you_want_to_debug(const char* message); 533 static char* do_you_want_to_debug(const char* message);
534 534
535 // run cmd in a separate process and return its exit code; or -1 on failures 535 // run cmd in a separate process and return its exit code; or -1 on failures
536 static int fork_and_exec(char *cmd); 536 static int fork_and_exec(char *cmd, bool use_vfork_if_available = false);
537 537
538 // os::exit() is merged with vm_exit() 538 // os::exit() is merged with vm_exit()
539 // static void exit(int num); 539 // static void exit(int num);
540 540
541 // Terminate the VM, but don't exit the process 541 // Terminate the VM, but don't exit the process

mercurial