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

Unified Diff: runtime/vm/scavenger.cc

Issue 10869063: Add attributions so printf like functions can have their arguments checked. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebased Created 8 years, 3 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/scanner.cc ('k') | runtime/vm/snapshot_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scavenger.cc
diff --git a/runtime/vm/scavenger.cc b/runtime/vm/scavenger.cc
index e313ba02dd0940682d959f107d35d9360b4c7d1a..49eafb53e51ebb6a28ceaf9eaaa483cf6d3e139e 100644
--- a/runtime/vm/scavenger.cc
+++ b/runtime/vm/scavenger.cc
@@ -349,7 +349,7 @@ void Scavenger::IterateStoreBuffers(Isolate* isolate,
pending = next;
}
if (FLAG_verbose_gc) {
- OS::PrintErr("StoreBuffer: %d, %d (entries, dups)\n",
+ OS::PrintErr("StoreBuffer: %"Pd", %"Pd" (entries, dups)\n",
entries, duplicates);
}
StoreBufferBlock* block = isolate->store_buffer_block();
@@ -368,7 +368,7 @@ void Scavenger::IterateStoreBuffers(Isolate* isolate,
}
block->Reset();
if (FLAG_verbose_gc) {
- OS::PrintErr("StoreBufferBlock: %d, %d (entries, dups)\n",
+ OS::PrintErr("StoreBufferBlock: %"Pd", %"Pd" (entries, dups)\n",
entries, duplicates);
}
// Done iterating through the store buffers.
@@ -568,7 +568,9 @@ void Scavenger::Scavenge(bool invoke_api_callbacks, const char* gc_reason) {
Epilogue(isolate, invoke_api_callbacks);
timer.Stop();
if (FLAG_verbose_gc) {
- OS::PrintErr("Scavenge[%d]: %dus\n", count_, timer.TotalElapsedTime());
+ OS::PrintErr("Scavenge[%d]: %"Pd64"us\n",
+ count_,
+ timer.TotalElapsedTime());
}
if (FLAG_verify_after_gc) {
« no previous file with comments | « runtime/vm/scanner.cc ('k') | runtime/vm/snapshot_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698