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

Unified Diff: runtime/vm/gc_sweeper.h

Issue 253493002: - Account for live size in marker. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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/gc_marker.cc ('k') | runtime/vm/gc_sweeper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/gc_sweeper.h
===================================================================
--- runtime/vm/gc_sweeper.h (revision 35390)
+++ runtime/vm/gc_sweeper.h (working copy)
@@ -23,10 +23,10 @@
// Sweep the memory area for the page while clearing the mark bits and adding
// all the unmarked objects to the freelist.
- // Returns the size of memory used by the marked objects.
- intptr_t SweepPage(HeapPage* page, FreeList* freelist);
+ // Returns true if the page is in use.
+ bool SweepPage(HeapPage* page, FreeList* freelist);
- intptr_t SweepLargePage(HeapPage* page);
+ bool SweepLargePage(HeapPage* page);
private:
Heap* heap_;
« no previous file with comments | « runtime/vm/gc_marker.cc ('k') | runtime/vm/gc_sweeper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698