comparison src/share/vm/utilities/vmError.cpp @ 20204:d22136881b85

Merge
author robm
date Thu, 17 Jul 2014 18:03:26 +0100
parents ce8f6bb717c9 f73af4455d7d
children 833b0f92429a
comparison
equal deleted inserted replaced
20203:4ca77b815015 20204:d22136881b85
986 // open log file 986 // open log file
987 int fd = prepare_log_file(ErrorFile, "hs_err_pid%p.log", buffer, sizeof(buffer)); 987 int fd = prepare_log_file(ErrorFile, "hs_err_pid%p.log", buffer, sizeof(buffer));
988 if (fd != -1) { 988 if (fd != -1) {
989 out.print_raw("# An error report file with more information is saved as:\n# "); 989 out.print_raw("# An error report file with more information is saved as:\n# ");
990 out.print_raw_cr(buffer); 990 out.print_raw_cr(buffer);
991 os::set_error_file(buffer);
992 991
993 log.set_fd(fd); 992 log.set_fd(fd);
994 } else { 993 } else {
995 out.print_raw_cr("# Can not save log file, dump to screen.."); 994 out.print_raw_cr("# Can not save log file, dump to screen..");
996 log.set_fd(defaultStream::output_fd()); 995 log.set_fd(defaultStream::output_fd());