5845 5846 jio_snprintf(p, buflen-len, 5847 "\n\n" 5848 "Do you want to debug the problem?\n\n" 5849 "To debug, run 'dbx - %d'; then switch to thread " INTX_FORMAT "\n" 5850 "Enter 'yes' to launch dbx automatically (PATH must include dbx)\n" 5851 "Otherwise, press RETURN to abort...", 5852 os::current_process_id(), os::current_thread_id()); 5853 5854 bool yes = os::message_box("Unexpected Error", buf); 5855 5856 if (yes) { 5857 // yes, user asked VM to launch debugger 5858 jio_snprintf(buf, sizeof(buf), "dbx - %d", os::current_process_id()); 5859 5860 os::fork_and_exec(buf); 5861 yes = false; 5862 } 5863 return yes; 5864 } | 5845 5846 jio_snprintf(p, buflen-len, 5847 "\n\n" 5848 "Do you want to debug the problem?\n\n" 5849 "To debug, run 'dbx - %d'; then switch to thread " INTX_FORMAT "\n" 5850 "Enter 'yes' to launch dbx automatically (PATH must include dbx)\n" 5851 "Otherwise, press RETURN to abort...", 5852 os::current_process_id(), os::current_thread_id()); 5853 5854 bool yes = os::message_box("Unexpected Error", buf); 5855 5856 if (yes) { 5857 // yes, user asked VM to launch debugger 5858 jio_snprintf(buf, sizeof(buf), "dbx - %d", os::current_process_id()); 5859 5860 os::fork_and_exec(buf); 5861 yes = false; 5862 } 5863 return yes; 5864 } 5865 5866 bool os::map_memory_to_file(char* base, size_t size, const char* backingFileDir) { 5867 VMError::report_and_die("Allocating object heap with backing file is not supported for Solaris"); 5868 return false; 5869 } |