< prev index next >

src/os/bsd/vm/os_bsd.cpp

Print this page
rev 9413 : 8143291: Remove redundant coding around os::exception_name

*** 3433,3456 **** } extern void report_error(char* file_name, int line_no, char* title, char* format, ...); - extern bool signal_name(int signo, char* buf, size_t len); - - const char* os::exception_name(int exception_code, char* buf, size_t size) { - if (0 < exception_code && exception_code <= SIGRTMAX) { - // signal - if (!signal_name(exception_code, buf, size)) { - jio_snprintf(buf, size, "SIG%d", exception_code); - } - return buf; - } else { - return NULL; - } - } - // this is called _before_ the most of global arguments have been parsed void os::init(void) { char dummy; // used to get a guess on initial stack address // first_hrtime = gethrtime(); --- 3433,3442 ----
< prev index next >