5830 5831 jio_snprintf(p, buflen-len, 5832 "\n\n" 5833 "Do you want to debug the problem?\n\n" 5834 "To debug, run 'dbx - %d'; then switch to thread " INTX_FORMAT "\n" 5835 "Enter 'yes' to launch dbx automatically (PATH must include dbx)\n" 5836 "Otherwise, press RETURN to abort...", 5837 os::current_process_id(), os::current_thread_id()); 5838 5839 bool yes = os::message_box("Unexpected Error", buf); 5840 5841 if (yes) { 5842 // yes, user asked VM to launch debugger 5843 jio_snprintf(buf, sizeof(buf), "dbx - %d", os::current_process_id()); 5844 5845 os::fork_and_exec(buf); 5846 yes = false; 5847 } 5848 return yes; 5849 } | 5830 5831 jio_snprintf(p, buflen-len, 5832 "\n\n" 5833 "Do you want to debug the problem?\n\n" 5834 "To debug, run 'dbx - %d'; then switch to thread " INTX_FORMAT "\n" 5835 "Enter 'yes' to launch dbx automatically (PATH must include dbx)\n" 5836 "Otherwise, press RETURN to abort...", 5837 os::current_process_id(), os::current_thread_id()); 5838 5839 bool yes = os::message_box("Unexpected Error", buf); 5840 5841 if (yes) { 5842 // yes, user asked VM to launch debugger 5843 jio_snprintf(buf, sizeof(buf), "dbx - %d", os::current_process_id()); 5844 5845 os::fork_and_exec(buf); 5846 yes = false; 5847 } 5848 return yes; 5849 } 5850 5851 bool os::map_memory_to_file(char* base, size_t size, const char* backingFileDir) { 5852 VMError::report_and_die("Allocating object heap with backing file is not supported for Solaris"); 5853 return false; 5854 } |