5721 5722 jio_snprintf(p, buflen-len, 5723 "\n\n" 5724 "Do you want to debug the problem?\n\n" 5725 "To debug, run 'dbx - %d'; then switch to thread " INTX_FORMAT "\n" 5726 "Enter 'yes' to launch dbx automatically (PATH must include dbx)\n" 5727 "Otherwise, press RETURN to abort...", 5728 os::current_process_id(), os::current_thread_id()); 5729 5730 bool yes = os::message_box("Unexpected Error", buf); 5731 5732 if (yes) { 5733 // yes, user asked VM to launch debugger 5734 jio_snprintf(buf, sizeof(buf), "dbx - %d", os::current_process_id()); 5735 5736 os::fork_and_exec(buf); 5737 yes = false; 5738 } 5739 return yes; 5740 } | 5721 5722 jio_snprintf(p, buflen-len, 5723 "\n\n" 5724 "Do you want to debug the problem?\n\n" 5725 "To debug, run 'dbx - %d'; then switch to thread " INTX_FORMAT "\n" 5726 "Enter 'yes' to launch dbx automatically (PATH must include dbx)\n" 5727 "Otherwise, press RETURN to abort...", 5728 os::current_process_id(), os::current_thread_id()); 5729 5730 bool yes = os::message_box("Unexpected Error", buf); 5731 5732 if (yes) { 5733 // yes, user asked VM to launch debugger 5734 jio_snprintf(buf, sizeof(buf), "dbx - %d", os::current_process_id()); 5735 5736 os::fork_and_exec(buf); 5737 yes = false; 5738 } 5739 return yes; 5740 } 5741 5742 int os::create_file_for_heap(const char* dir, size_t size) { 5743 VMError::report_and_die("Allocating object heap with backing file is not supported for Solaris"); 5744 return false; 5745 } 5746 5747 bool os::map_memory_to_file(char* base, size_t size, int file_desc) { 5748 VMError::report_and_die("Allocating object heap with backing file is not supported for Solaris"); 5749 return false; 5750 } |