equal
deleted
inserted
replaced
90 |
90 |
91 static bool should_report_bug(unsigned int id) { |
91 static bool should_report_bug(unsigned int id) { |
92 return (id != OOM_MALLOC_ERROR) && (id != OOM_MMAP_ERROR); |
92 return (id != OOM_MALLOC_ERROR) && (id != OOM_MMAP_ERROR); |
93 } |
93 } |
94 |
94 |
|
95 // Write a hint to the stream in case siginfo relates to a segv/bus error |
|
96 // and the offending address points into CDS store. |
|
97 static void check_failing_cds_access(outputStream* st, const void* siginfo); |
|
98 |
95 static void report_and_die(Thread* thread, unsigned int sig, address pc, void* siginfo, |
99 static void report_and_die(Thread* thread, unsigned int sig, address pc, void* siginfo, |
96 void* context, const char* detail_fmt, ...) ATTRIBUTE_PRINTF(6, 7); |
100 void* context, const char* detail_fmt, ...) ATTRIBUTE_PRINTF(6, 7); |
97 static void report_and_die(const char* message, const char* detail_fmt, ...) ATTRIBUTE_PRINTF(2, 3); |
101 static void report_and_die(const char* message, const char* detail_fmt, ...) ATTRIBUTE_PRINTF(2, 3); |
98 |
102 |
99 static fdStream out; |
103 static fdStream out; |