comparison src/share/vm/runtime/os.hpp @ 18007:364b73402247

Merge
author asaha
date Thu, 22 May 2014 11:09:06 -0700
parents 62c54fcc0a35 5656140324ed
children f73af4455d7d
comparison
equal deleted inserted replaced
17920:382a82b0a3e7 18007:364b73402247
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.
474 static int message_box(const char* title, const char* message); 474 static int message_box(const char* title, const char* message);
475 static char* do_you_want_to_debug(const char* message); 475 static char* do_you_want_to_debug(const char* message);
476 476
477 // run cmd in a separate process and return its exit code; or -1 on failures 477 // run cmd in a separate process and return its exit code; or -1 on failures
478 static int fork_and_exec(char *cmd); 478 static int fork_and_exec(char *cmd);
479
480 // Set file to send error reports.
481 static void set_error_file(const char *logfile);
482 479
483 // os::exit() is merged with vm_exit() 480 // os::exit() is merged with vm_exit()
484 // static void exit(int num); 481 // static void exit(int num);
485 482
486 // Terminate the VM, but don't exit the process 483 // Terminate the VM, but don't exit the process