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

Unified Diff: src/heap/scavenger.cc

Issue 2723853006: [heap] Use ObjectMarking in TransferMark. (Closed)
Patch Set: [heap] Use ObjectMarking in TransferMark. Created 3 years, 10 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/incremental-marking.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/scavenger.cc
diff --git a/src/heap/scavenger.cc b/src/heap/scavenger.cc
index c4c3e8bd138d9bac737105114e203a4e693361b0..30e91c627ddf43ffb2d2cfa1aad05e93b63a5cdd 100644
--- a/src/heap/scavenger.cc
+++ b/src/heap/scavenger.cc
@@ -147,9 +147,7 @@ class ScavengingVisitor : public StaticVisitorBase {
}
if (marks_handling == TRANSFER_MARKS) {
- if (IncrementalMarking::TransferColor(source, target, size)) {
- MemoryChunk::IncrementLiveBytes(target, size);
- }
+ IncrementalMarking::TransferColor(source, target, size);
}
}
« no previous file with comments | « src/heap/incremental-marking.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698