< prev index next >

src/share/vm/runtime/memprofiler.cpp

Print this page

        

@@ -73,11 +73,11 @@
   const char *log_name = "mprofile.log";
   if (!is_active()) {
     // Create log file
     _log_fp = fopen(log_name , "w+");
     if (_log_fp == NULL) {
-      fatal(err_msg("MemProfiler: Cannot create log file: %s", log_name));
+      fatal("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");
     fprintf(_log_fp, "                     used, total,  used, total, total, total, total, total\n");
     fprintf(_log_fp, "--------------------------------------------------------------------------\n");
< prev index next >