Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1635)

Unified Diff: runtime/vm/heap.cc

Issue 23072026: fix cpp11 compile errors (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/handles_impl.h ('k') | runtime/vm/heap_histogram.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.cc
===================================================================
--- runtime/vm/heap.cc (revision 26375)
+++ runtime/vm/heap.cc (working copy)
@@ -84,7 +84,7 @@
CollectAllGarbage();
addr = old_space_->TryAllocate(size, type, PageSpace::kForceGrowth);
if (addr == 0) {
- OS::PrintErr("Exhausted heap space, trying to allocate %"Pd" bytes.\n",
+ OS::PrintErr("Exhausted heap space, trying to allocate %" Pd " bytes.\n",
size);
return 0;
}
@@ -296,8 +296,8 @@
void Heap::PrintSizes() const {
- OS::PrintErr("New space (%"Pd"k of %"Pd"k) "
- "Old space (%"Pd"k of %"Pd"k)\n",
+ OS::PrintErr("New space (%" Pd "k of %" Pd "k) "
+ "Old space (%" Pd "k of %" Pd "k)\n",
(Used(kNew) / KB), (Capacity(kNew) / KB),
(Used(kOld) / KB), (Capacity(kOld) / KB));
}
@@ -467,14 +467,16 @@
const char* space_str = stats_.space_ == kNew ? "Scavenge" : "Mark-Sweep";
OS::PrintErr(
- "[ GC(%"Pd64"): %s(%s), " // GC(isolate), space(reason)
- "%"Pd", " // count
+ "[ GC(%" Pd64 "): %s(%s), " // GC(isolate), space(reason)
+ "%" Pd ", " // count
"%.3f, " // start time
"%.3f, " // total time
- "%"Pd", %"Pd", %"Pd", %"Pd", " // new gen: in use, capacity before/after
- "%"Pd", %"Pd", %"Pd", %"Pd", " // old gen: in use, capacity before/after
+ "%" Pd ", %" Pd ", " // new gen: in use before/after
+ "%" Pd ", %" Pd ", " // new gen: capacity before/after
+ "%" Pd ", %" Pd ", " // old gen: in use before/after
+ "%" Pd ", %" Pd ", " // old gen: capacity before/after
"%.3f, %.3f, %.3f, %.3f, " // times
- "%"Pd", %"Pd", %"Pd", %"Pd", " // data
+ "%" Pd ", %" Pd ", %" Pd ", %" Pd ", " // data
"]\n", // End with a comma to make it easier to import in spreadsheets.
isolate->main_port(), space_str, GCReasonToString(stats_.reason_),
stats_.num_,
« no previous file with comments | « runtime/vm/handles_impl.h ('k') | runtime/vm/heap_histogram.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698