src/share/vm/runtime/os.hpp

changeset 9620
97d605522fcb
parent 9505
79b4c0a88c00
child 9637
eef07cd490d4
child 9711
0f2fe7d37d8c
equal deleted inserted replaced
9619:71bd8f8ad1fb 9620:97d605522fcb
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.
525 525
526 static int message_box(const char* title, const char* message); 526 static int message_box(const char* title, const char* message);
527 static char* do_you_want_to_debug(const char* message); 527 static char* do_you_want_to_debug(const char* message);
528 528
529 // run cmd in a separate process and return its exit code; or -1 on failures 529 // run cmd in a separate process and return its exit code; or -1 on failures
530 static int fork_and_exec(char *cmd); 530 static int fork_and_exec(char *cmd, bool use_vfork_if_available = false);
531 531
532 // os::exit() is merged with vm_exit() 532 // os::exit() is merged with vm_exit()
533 // static void exit(int num); 533 // static void exit(int num);
534 534
535 // Terminate the VM, but don't exit the process 535 // Terminate the VM, but don't exit the process

mercurial