Mercurial > hg > graal-compiler
changeset 11093:93e6dce53ba7
8016465: The hs_err file gets wrong name
Reviewed-by: dcubed, dholmes, rdurbin
author | fparain |
---|---|
date | Fri, 05 Jul 2013 08:26:49 +0000 |
parents | 59b052799158 |
children | cc5b7915104e |
files | src/share/vm/utilities/vmError.cpp |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/utilities/vmError.cpp Thu Jul 04 21:10:17 2013 -0700 +++ b/src/share/vm/utilities/vmError.cpp Fri Jul 05 08:26:49 2013 +0000 @@ -908,10 +908,11 @@ // This is not the first error, see if it happened in a different thread // or in the same thread during error reporting. if (first_error_tid != mytid) { - jio_snprintf(buffer, sizeof(buffer), + char msgbuf[64]; + jio_snprintf(msgbuf, sizeof(msgbuf), "[thread " INT64_FORMAT " also had an error]", mytid); - out.print_raw_cr(buffer); + out.print_raw_cr(msgbuf); // error reporting is not MT-safe, block current thread os::infinite_sleep();