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

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: address-code-review-comments 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
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

Powered by Google App Engine
This is Rietveld 408576698