8027429.01 Cdiff src/share/vm/utilities/vmError.hpp (original) (raw)
src/share/vm/utilities/vmError.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8027429.01 Cdiff src/share/vm/utilities/vmError.hpp Print this page
*** 36,45 ****
--- 36,46 ----
static int _id; // Solaris/Linux signals: 0 - SIGRTMAX
// Windows exceptions: 0xCxxxxxxx system errors
// 0x8xxxxxxx system warnings
+ static bool _vm_info_cmd;
static const char* _message;
static char _detail_msg[1024];
static Thread* _thread; // NULL if it's native thread
*** 80,100 ****
// handle -XX:+ShowMessageBoxOnError. buf is used to format the message string
static void show_message_box(char* buf, int buflen);
// generate an error report
static void report(outputStream* st, bool verbose);
// generate a stack trace
static void print_stack_trace(outputStream* st, JavaThread* jt,
char* buf, int buflen, bool verbose = false);
static const char* gc_mode();
static void print_oom_reasons(outputStream* st);
static bool should_report_bug(unsigned int id) {
! return (id != OOM_MALLOC_ERROR) && (id != OOM_MMAP_ERROR); }
static void report_and_die(Thread* thread, unsigned int sig, address pc, void* siginfo,
void* context, const char* detail_fmt, ...) ATTRIBUTE_PRINTF(6, 7);
static void report_and_die(const char* message, const char* detail_fmt, ...) ATTRIBUTE_PRINTF(2, 3);
--- 81,108 ----
// handle -XX:+ShowMessageBoxOnError. buf is used to format the message string
static void show_message_box(char* buf, int buflen);
// generate an error report
static void report_vm_version(outputStream* st, char* buf, int buflen);
static void report_summary(outputStream* st, char* buf, int buflen);
static void report_process(outputStream* st, char* buf, int buflen);
static void report_system(outputStream* st, char* buf, int buflen);
static void run_report_tests(outputStream* st);
static void report(outputStream* st, bool verbose);
static void report_info(outputStream* st);
// generate a stack trace static void print_stack_trace(outputStream* st, JavaThread* jt, char* buf, int buflen, bool verbose = false); static const char* gc_mode(); static void print_oom_reasons(outputStream* st);
static bool should_report_bug(unsigned int id) {
! return (id != OOM_MALLOC_ERROR) && (id != OOM_MMAP_ERROR) && (id != VM_INFO); }
static void report_and_die(Thread* thread, unsigned int sig, address pc, void* siginfo,
void* context, const char* detail_fmt, ...) ATTRIBUTE_PRINTF(6, 7);
static void report_and_die(const char* message, const char* detail_fmt, ...) ATTRIBUTE_PRINTF(2, 3);
*** 108,117 **** --- 116,128 ---- static char* error_string(char* buf, int buflen);
// Record status of core/minidump
static void record_coredump_status(const char* message, bool status);
- // support for VM.info diagnostic command
- static void print_vm_info(outputStream* st);
- // main error reporting function static void report_and_die(int id, const char* message, const char* detail_fmt, va_list detail_args, Thread* thread, address pc, void* siginfo, void* context, const char* filename, int lineno, size_t size) ATTRIBUTE_PRINTF(3, 0);
src/share/vm/utilities/vmError.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File