8016465: The hs_err file gets wrong name

Fri, 05 Jul 2013 08:26:49 +0000

author
fparain
date
Fri, 05 Jul 2013 08:26:49 +0000
changeset 5366
93e6dce53ba7
parent 5365
59b052799158
child 5367
cc5b7915104e

8016465: The hs_err file gets wrong name
Reviewed-by: dcubed, dholmes, rdurbin

src/share/vm/utilities/vmError.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/utilities/vmError.cpp	Thu Jul 04 21:10:17 2013 -0700
     1.2 +++ b/src/share/vm/utilities/vmError.cpp	Fri Jul 05 08:26:49 2013 +0000
     1.3 @@ -908,10 +908,11 @@
     1.4      // This is not the first error, see if it happened in a different thread
     1.5      // or in the same thread during error reporting.
     1.6      if (first_error_tid != mytid) {
     1.7 -      jio_snprintf(buffer, sizeof(buffer),
     1.8 +      char msgbuf[64];
     1.9 +      jio_snprintf(msgbuf, sizeof(msgbuf),
    1.10                     "[thread " INT64_FORMAT " also had an error]",
    1.11                     mytid);
    1.12 -      out.print_raw_cr(buffer);
    1.13 +      out.print_raw_cr(msgbuf);
    1.14  
    1.15        // error reporting is not MT-safe, block current thread
    1.16        os::infinite_sleep();

mercurial