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

Unified Diff: src/heap/heap.cc

Issue 2197583002: Revert of [heap] Give marking functions for incremental marking more precise names. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/incremental-marking.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 1fd8f4d2a909aad96c01344d56995b1af464fe58..15b6a2357763a952fd17ce592d384998a09c01b2 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -4698,7 +4698,7 @@
// promoted objects.
if (heap_->incremental_marking()->black_allocation()) {
Code* code = Code::cast(Code::GetObjectFromEntryAddress(code_entry_slot));
- IncrementalMarking::MarkGrey(heap_, code);
+ IncrementalMarking::MarkObject(heap_, code);
}
}
@@ -4734,7 +4734,7 @@
// regular visiting and IteratePromotedObjectPointers.
if (!was_marked_black) {
if (incremental_marking()->black_allocation()) {
- IncrementalMarking::MarkGrey(this, target->map());
+ IncrementalMarking::MarkObject(this, target->map());
incremental_marking()->IterateBlackObject(target);
}
}
« no previous file with comments | « no previous file | src/heap/incremental-marking.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698