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

Unified Diff: src/heap/incremental-marking.cc

Issue 1964023002: [heap] Fine-grained JSArrayBuffer tracking (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: back to std::map Created 4 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
Index: src/heap/incremental-marking.cc
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc
index c250b90b1c99d260be6ae137d212ca02bc97db35..689eb6475927bdcd854ac0e22d31e5eef7f6a00f 100644
--- a/src/heap/incremental-marking.cc
+++ b/src/heap/incremental-marking.cc
@@ -547,6 +547,7 @@ void IncrementalMarking::StartMarking() {
MarkCompactCollector::kMaxMarkingDequeSize);
ActivateIncrementalWriteBarrier();
+ heap_->old_space()->ForAllPages([](Page* p) { p->ResetTracker(); });
Hannes Payer (out of office) 2016/05/20 12:21:17 Factor this line out into a function since you hav
Michael Lippautz 2016/05/23 08:41:01 Done.
// Marking bits are cleared by the sweeper.
#ifdef VERIFY_HEAP

Powered by Google App Engine
This is Rietveld 408576698