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

Unified Diff: runtime/vm/gc_sweeper.h

Issue 355123002: If a large object is truncated, also truncate the page. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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 | « no previous file | runtime/vm/gc_sweeper.cc » ('j') | runtime/vm/gc_sweeper.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/gc_sweeper.h
===================================================================
--- runtime/vm/gc_sweeper.h (revision 37758)
+++ runtime/vm/gc_sweeper.h (working copy)
@@ -26,7 +26,9 @@
// Returns true if the page is in use.
bool SweepPage(HeapPage* page, FreeList* freelist);
- bool SweepLargePage(HeapPage* page);
+ // Returns the number of bytes from page->object_start() to the end of the
Ivan Posva 2014/06/30 05:51:05 Please change this to "number of words" and update
koda 2014/06/30 22:57:48 Done.
+ // last marked object.
+ intptr_t SweepLargePage(HeapPage* page);
private:
Heap* heap_;
« no previous file with comments | « no previous file | runtime/vm/gc_sweeper.cc » ('j') | runtime/vm/gc_sweeper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698