src/share/vm/runtime/os.hpp

changeset 9637
eef07cd490d4
parent 9572
624a0741915c
parent 9620
97d605522fcb
child 9756
2be326848943
     1.1 --- a/src/share/vm/runtime/os.hpp	Wed Jul 03 20:04:13 2019 +0800
     1.2 +++ b/src/share/vm/runtime/os.hpp	Wed Jul 03 20:42:37 2019 +0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -533,7 +533,7 @@
    1.11    static char* do_you_want_to_debug(const char* message);
    1.12  
    1.13    // run cmd in a separate process and return its exit code; or -1 on failures
    1.14 -  static int fork_and_exec(char *cmd);
    1.15 +  static int fork_and_exec(char *cmd, bool use_vfork_if_available = false);
    1.16  
    1.17    // os::exit() is merged with vm_exit()
    1.18    // static void exit(int num);

mercurial