mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6888954: argument formatting for assert() and friends
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
This commit is contained in:
parent
7e76feaf42
commit
99196ff9ca
37 changed files with 396 additions and 211 deletions
|
@ -62,7 +62,7 @@ void MemProfiler::engage() {
|
|||
// 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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue