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

Unified Diff: runtime/vm/heap.h

Issue 1541073002: Implement safepointing of threads (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix-typo Created 4 years, 11 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_sweeper.cc ('k') | runtime/vm/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.h
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h
index 4a8ae93afaacae64b41fc6437de10ee313139bac..bd685c55239a4b57bc9e6379d81e77e8faa7142a 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -323,9 +323,9 @@ class Heap {
void UpdatePretenurePolicy();
// Updates gc in progress flags.
- bool BeginNewSpaceGC();
+ bool BeginNewSpaceGC(Thread* thread);
void EndNewSpaceGC();
- bool BeginOldSpaceGC();
+ bool BeginOldSpaceGC(Thread* thread);
void EndOldSpaceGC();
// If this heap is non-empty, updates start and end to the smallest range that
« no previous file with comments | « runtime/vm/gc_sweeper.cc ('k') | runtime/vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698