< prev index next >

src/os/aix/vm/os_aix.cpp

Print this page




4858   jio_snprintf(p, buflen -len,
4859                  "\n\n"
4860                  "Do you want to debug the problem?\n\n"
4861                  "To debug, run 'dbx -a %d'; then switch to thread tid " INTX_FORMAT ", k-tid " INTX_FORMAT "\n"
4862                  "Enter 'yes' to launch dbx automatically (PATH must include dbx)\n"
4863                  "Otherwise, press RETURN to abort...",
4864                  os::current_process_id(),
4865                  os::current_thread_id(), thread_self());
4866 
4867   bool yes = os::message_box("Unexpected Error", buf);
4868 
4869   if (yes) {
4870     // yes, user asked VM to launch debugger
4871     jio_snprintf(buf, buflen, "dbx -a %d", os::current_process_id());
4872 
4873     os::fork_and_exec(buf);
4874     yes = false;
4875   }
4876   return yes;
4877 }







4858   jio_snprintf(p, buflen -len,
4859                  "\n\n"
4860                  "Do you want to debug the problem?\n\n"
4861                  "To debug, run 'dbx -a %d'; then switch to thread tid " INTX_FORMAT ", k-tid " INTX_FORMAT "\n"
4862                  "Enter 'yes' to launch dbx automatically (PATH must include dbx)\n"
4863                  "Otherwise, press RETURN to abort...",
4864                  os::current_process_id(),
4865                  os::current_thread_id(), thread_self());
4866 
4867   bool yes = os::message_box("Unexpected Error", buf);
4868 
4869   if (yes) {
4870     // yes, user asked VM to launch debugger
4871     jio_snprintf(buf, buflen, "dbx -a %d", os::current_process_id());
4872 
4873     os::fork_and_exec(buf);
4874     yes = false;
4875   }
4876   return yes;
4877 }
4878 
4879 bool os::map_memory_to_file(char* base, size_t size, const char* backingFileDir) {
4880   VMError::report_and_die("Allocating object heap with backing file is not supported for AIX");
4881   return false;
4882 }
< prev index next >