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

Unified Diff: runtime/vm/gc_sweeper.h

Issue 1292353004: Safepointing in GC (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Scavenger again. Created 5 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
« 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
diff --git a/runtime/vm/gc_sweeper.h b/runtime/vm/gc_sweeper.h
index b2b831749b57a660b47386deccfacf95956a630a..842c6d9512b446806983409e495c0caeedebf4de 100644
--- a/runtime/vm/gc_sweeper.h
+++ b/runtime/vm/gc_sweeper.h
@@ -6,6 +6,7 @@
#define VM_GC_SWEEPER_H_
#include "vm/globals.h"
+#include "vm/thread.h"
namespace dart {
@@ -35,10 +36,13 @@ class GCSweeper {
intptr_t SweepLargePage(HeapPage* page);
// Sweep the regular sized data pages between first and last inclusive.
+ // Waits for the concurrent sweeper task to enter the isolate before
+ // returning to the caller.
static void SweepConcurrent(Isolate* isolate,
HeapPage* first,
HeapPage* last,
- FreeList* freelist);
+ FreeList* freelist,
+ SafepointId pass_safepoint);
};
} // namespace dart
« 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