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

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

Issue 1424233002: [heap] Clean-up incrementally finalize marking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « src/heap/heap.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/incremental-marking.cc
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc
index 99d0d45c9467a4ac4eaa1c140cb71a4a7312d1b1..5d05ddde2ce3c9cef2fca9411f430237d902f9d2 100644
--- a/src/heap/incremental-marking.cc
+++ b/src/heap/incremental-marking.cc
@@ -664,8 +664,7 @@ void IncrementalMarking::FinalizeIncrementally() {
int marking_progress =
abs(old_marking_deque_top -
- heap_->mark_compact_collector()->marking_deque()->top()) /
- kPointerSize;
+ heap_->mark_compact_collector()->marking_deque()->top());
++incremental_marking_finalization_rounds_;
if ((incremental_marking_finalization_rounds_ >=
« no previous file with comments | « src/heap/heap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698