| Index: src/log.cc
|
| ===================================================================
|
| --- src/log.cc (revision 5544)
|
| +++ src/log.cc (working copy)
|
| @@ -1005,12 +1005,11 @@
|
|
|
|
|
| void Logger::HeapSampleStats(const char* space, const char* kind,
|
| - intptr_t capacity, intptr_t used) {
|
| + int capacity, int used) {
|
| #ifdef ENABLE_LOGGING_AND_PROFILING
|
| if (!Log::IsEnabled() || !FLAG_log_gc) return;
|
| LogMessageBuilder msg;
|
| - msg.Append("heap-sample-stats,\"%s\",\"%s\","
|
| - "%" V8_PTR_PREFIX "d,%" V8_PTR_PREFIX "d\n",
|
| + msg.Append("heap-sample-stats,\"%s\",\"%s\",%d,%d\n",
|
| space, kind, capacity, used);
|
| msg.WriteToLogFile();
|
| #endif
|
|
|