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

Unified Diff: runtime/vm/pages.h

Issue 10872074: Report the reason for a garbage collection when verbose GC is enabled. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rename a parameter consistently Created 8 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/heap.cc ('k') | runtime/vm/pages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/pages.h
diff --git a/runtime/vm/pages.h b/runtime/vm/pages.h
index 7022a78d3f23f76da4f51898a82599b01f9f8ed0..366aef1b9c4d4b69d183ff7c9949fda2af5d037f 100644
--- a/runtime/vm/pages.h
+++ b/runtime/vm/pages.h
@@ -182,7 +182,7 @@ class PageSpace {
RawObject* FindObject(FindObjectVisitor* visitor) const;
// Collect the garbage in the page space using mark-sweep.
- void MarkSweep(bool invoke_api_callbacks);
+ void MarkSweep(bool invoke_api_callbacks, const char* gc_reason);
static HeapPage* PageFor(RawObject* raw_obj) {
return reinterpret_cast<HeapPage*>(
« no previous file with comments | « runtime/vm/heap.cc ('k') | runtime/vm/pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698