< prev index next >

src/os/bsd/vm/vmError_bsd.cpp

Print this page

        

@@ -32,14 +32,15 @@
 #include <sys/wait.h>
 #include <sys/syscall.h>
 #include <unistd.h>
 #include <signal.h>
 
-void VMError::show_message_box(char *buf, int buflen) {
+void VMError::show_message_box(char *buf, int buflen, int id, const char* message, const char* detail_fmt,
+                               va_list detail_args, address pc, const char* filename, int lineno) {
   bool yes;
   do {
-    error_string(buf, buflen);
+    error_string(buf, buflen, id, message, detail_fmt, detail_args, pc, filename, lineno);
     int len = (int)strlen(buf);
     char *p = &buf[len];
 
     jio_snprintf(p, buflen - len,
                "\n\n"

@@ -119,12 +120,11 @@
   if (uc && pc && StubRoutines::is_safefetch_fault(pc)) {
     os::Bsd::ucontext_set_pc(uc, StubRoutines::continuation_for_safefetch_fault(pc));
     return;
   }
 
-  VMError err(NULL, sig, pc, info, ucVoid);
-  err.report_and_die();
+  VMError::report_and_die(NULL, sig, pc, info, ucVoid);
 }
 
 void VMError::reset_signal_handlers() {
   // install signal handlers for all synchronous program error signals
   sigset_t newset;
< prev index next >