Mercurial > hg > truffle
comparison src/share/vm/runtime/os.hpp @ 20204:d22136881b85
Merge
author | robm |
---|---|
date | Thu, 17 Jul 2014 18:03:26 +0100 |
parents | f73af4455d7d |
children | 52b4284cb496 833b0f92429a |
comparison
equal
deleted
inserted
replaced
20203:4ca77b815015 | 20204:d22136881b85 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2014, 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. |
477 static int message_box(const char* title, const char* message); | 477 static int message_box(const char* title, const char* message); |
478 static char* do_you_want_to_debug(const char* message); | 478 static char* do_you_want_to_debug(const char* message); |
479 | 479 |
480 // run cmd in a separate process and return its exit code; or -1 on failures | 480 // run cmd in a separate process and return its exit code; or -1 on failures |
481 static int fork_and_exec(char *cmd); | 481 static int fork_and_exec(char *cmd); |
482 | |
483 // Set file to send error reports. | |
484 static void set_error_file(const char *logfile); | |
485 | 482 |
486 // os::exit() is merged with vm_exit() | 483 // os::exit() is merged with vm_exit() |
487 // static void exit(int num); | 484 // static void exit(int num); |
488 | 485 |
489 // Terminate the VM, but don't exit the process | 486 // Terminate the VM, but don't exit the process |