Mercurial > hg > truffle
diff src/share/vm/runtime/memprofiler.cpp @ 1490:f03d0a26bf83
6888954: argument formatting for assert() and friends
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
author | jcoomes |
---|---|
date | Thu, 22 Apr 2010 13:23:15 -0700 |
parents | 0fbdb4381b99 |
children | c18cbe5936b8 |
line wrap: on
line diff
--- a/src/share/vm/runtime/memprofiler.cpp Sun Oct 11 16:19:25 2009 -0700 +++ b/src/share/vm/runtime/memprofiler.cpp Thu Apr 22 13:23:15 2010 -0700 @@ -62,7 +62,7 @@ // Create log file _log_fp = fopen(log_name , "w+"); if (_log_fp == NULL) { - fatal1("MemProfiler: Cannot create log file: %s", log_name); + fatal(err_msg("MemProfiler: Cannot create log file: %s", log_name)); } fprintf(_log_fp, "MemProfiler: sizes are in Kb, time is in seconds since startup\n\n"); fprintf(_log_fp, " time, #thr, #cls, heap, heap, perm, perm, code, hndls, rescs, oopmp\n");