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

Unified Diff: runtime/vm/gc_sweeper.h

Issue 503363005: - Add and enable concurrent sweeper. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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/gc_sweeper.h
===================================================================
--- runtime/vm/gc_sweeper.h (revision 39568)
+++ runtime/vm/gc_sweeper.h (working copy)
@@ -13,6 +13,8 @@
class FreeList;
class Heap;
class HeapPage;
+class Isolate;
+class PageSpace;
// The class GCSweeper is used to visit the heap after marking to reclaim unused
// memory.
@@ -30,6 +32,12 @@
// last marked object.
intptr_t SweepLargePage(HeapPage* page);
+ static void SweepConcurrent(Isolate* isolate,
koda 2014/08/26 23:34:48 Comment on: * whether 'last' is exclusive * lockin
Ivan Posva 2014/08/27 01:00:21 Done.
+ PageSpace* old_space,
+ HeapPage* first,
+ HeapPage* last,
+ FreeList* freelist);
+
private:
Heap* heap_;

Powered by Google App Engine
This is Rietveld 408576698