Chromium Code Reviews| Index: runtime/vm/gc_sweeper.h |
| =================================================================== |
| --- runtime/vm/gc_sweeper.h (revision 41045) |
| +++ runtime/vm/gc_sweeper.h (working copy) |
| @@ -26,7 +26,7 @@ |
| // Sweep the memory area for the page while clearing the mark bits and adding |
| // all the unmarked objects to the pre-locked freelist. |
|
koda
2014/10/10 18:38:01
Update comment.
Also clarify that when page is un
Ivan Posva
2014/10/10 20:47:41
Done.
|
| // Returns true if the page is in use. |
| - bool SweepPage(HeapPage* page, FreeList* freelist); |
| + bool SweepPage(HeapPage* page, FreeList* freelist, bool locked); |
| // Returns the number of words from page->object_start() to the end of the |
| // last marked object. |