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

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

Issue 2734823003: [heap] Remove ObjectMarking::BlackToWhite and ObjectMarking::GreyToWhite. (Closed)
Patch Set: [heap] Remove ObjectMarking::BlackToWhite and ObjectMarking::GreyToWhite. Created 3 years, 9 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/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 8fec443c1bf5de1b1f8e1c09e1648bf6656a83f0..1439118719634c2a96c7a6b4eaa0c67c3804b8cc 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -78,20 +78,6 @@ class ObjectMarking : public AllStatic {
}
template <MarkingMode mode = MarkingMode::FULL>
- V8_INLINE static void BlackToWhite(HeapObject* obj) {
- DCHECK(IsBlack<mode>(obj));
- MarkBit markbit = MarkBitFrom<mode>(obj);
- Marking::BlackToWhite(markbit);
- MemoryChunk::IncrementLiveBytes<mode>(obj, -obj->Size());
- }
-
- template <MarkingMode mode = MarkingMode::FULL>
- V8_INLINE static void GreyToWhite(HeapObject* obj) {
- DCHECK(IsGrey<mode>(obj));
- Marking::GreyToWhite(MarkBitFrom<mode>(obj));
- }
-
- template <MarkingMode mode = MarkingMode::FULL>
V8_INLINE static void BlackToGrey(HeapObject* obj) {
DCHECK(IsBlack<mode>(obj));
MarkBit markbit = MarkBitFrom<mode>(obj);
« no previous file with comments | « no previous file | src/heap/marking.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698