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

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: 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
Index: runtime/vm/pages.h
diff --git a/runtime/vm/pages.h b/runtime/vm/pages.h
index 7022a78d3f23f76da4f51898a82599b01f9f8ed0..309e52410c820c1e313b1db4f3f8311df324b6c3 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* reason);
static HeapPage* PageFor(RawObject* raw_obj) {
return reinterpret_cast<HeapPage*>(

Powered by Google App Engine
This is Rietveld 408576698