< prev index next >
src/share/vm/runtime/os.hpp
Print this page
rev 9462 : 8143291: Remove redundant coding around os::exception_name
Reviewed-By: dholmes
*** 639,648 ****
--- 639,651 ----
// returns a string to describe the exception/signal;
// returns NULL if exception_code is not an OS exception/signal.
static const char* exception_name(int exception_code, char* buf, size_t buflen);
+ // Returns the signal number (e.g. 11) for a given signal name (SIGSEGV).
+ static int get_signal_number(const char* signal_name);
+
// Returns native Java library, loads if necessary
static void* native_java_library();
// Fills in path to jvm.dll/libjvm.so (used by the Disassembler)
static void jvm_path(char *buf, jint buflen);
< prev index next >