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

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

Issue 2728113002: [heap] Remove Marking::AnyToGrey and change its callers to use simple marking functions. (Closed)
Patch Set: fixed comment 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.cc ('k') | src/heap/marking.h » ('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 12c9d043732aa9a25aec6214d4bb802899a9bc60..8fec443c1bf5de1b1f8e1c09e1648bf6656a83f0 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -121,15 +121,6 @@ class ObjectMarking : public AllStatic {
MemoryChunk::IncrementLiveBytes<mode>(obj, obj->Size());
}
- template <MarkingMode mode = MarkingMode::FULL>
- V8_INLINE static void AnyToGrey(HeapObject* obj) {
- MarkBit markbit = MarkBitFrom<mode>(obj);
- if (Marking::IsBlack(markbit)) {
- MemoryChunk::IncrementLiveBytes<mode>(obj, -obj->Size());
- }
- Marking::AnyToGrey(markbit);
- }
-
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(ObjectMarking);
};
« no previous file with comments | « src/heap/incremental-marking.cc ('k') | src/heap/marking.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698