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

Unified Diff: src/heap/mark-compact.h

Issue 2872063003: [heap] Bound number of tasks by embedder limit instead of artificially capping (Closed)
Patch Set: Fix compilation Created 3 years, 7 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 | src/heap/mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index 7303f071881abc3d36a1f75abfe677862c22fd6d..424c5d54217ad857fc0333c43735f34687f91562 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -327,6 +327,13 @@ class MarkCompactCollectorBase {
// Returns whether this page should be moved according to heuristics.
bool ShouldMovePage(Page* p, intptr_t live_bytes);
+ template <RememberedSetType type>
+ void UpdatePointersInParallel(Heap* heap, base::Semaphore* semaphore,
+ const MarkCompactCollectorBase* collector);
+
+ int NumberOfParallelCompactionTasks(int pages);
+ int NumberOfPointerUpdateTasks(int pages);
+
Heap* heap_;
};
« no previous file with comments | « no previous file | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698