Searched refs:mark_bit (Results 1 – 9 of 9) sorted by relevance
/external/v8/src/ |
D | mark-compact-inl.h | 55 void MarkCompactCollector::MarkObject(HeapObject* obj, MarkBit mark_bit) { in MarkObject() argument 56 ASSERT(Marking::MarkBitFrom(obj) == mark_bit); in MarkObject() 57 if (!mark_bit.Get()) { in MarkObject() 58 mark_bit.Set(); in MarkObject() 78 void MarkCompactCollector::SetMark(HeapObject* obj, MarkBit mark_bit) { in SetMark() argument 79 ASSERT(!mark_bit.Get()); in SetMark() 80 ASSERT(Marking::MarkBitFrom(obj) == mark_bit); in SetMark() 81 mark_bit.Set(); in SetMark()
|
D | mark-compact.h | 63 static inline bool IsImpossible(MarkBit mark_bit) { in IsImpossible() argument 64 return !mark_bit.Get() && mark_bit.Next().Get(); in IsImpossible() 69 static inline bool IsBlack(MarkBit mark_bit) { in IsBlack() argument 70 return mark_bit.Get() && !mark_bit.Next().Get(); in IsBlack() 75 static inline bool IsWhite(MarkBit mark_bit) { in IsWhite() argument 76 return !mark_bit.Get(); in IsWhite() 81 static inline bool IsGrey(MarkBit mark_bit) { in IsGrey() argument 82 return mark_bit.Get() && mark_bit.Next().Get(); in IsGrey() 85 static inline void MarkBlack(MarkBit mark_bit) { in MarkBlack() argument 86 mark_bit.Set(); in MarkBlack() [all …]
|
D | incremental-marking-inl.h | 92 MarkBit mark_bit) { in BlackToGreyAndUnshift() argument 93 ASSERT(Marking::MarkBitFrom(obj) == mark_bit); in BlackToGreyAndUnshift() 96 Marking::BlackToGrey(mark_bit); in BlackToGreyAndUnshift() 120 void IncrementalMarking::WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit) { in WhiteToGreyAndPush() argument 121 WhiteToGrey(obj, mark_bit); in WhiteToGreyAndPush() 126 void IncrementalMarking::WhiteToGrey(HeapObject* obj, MarkBit mark_bit) { in WhiteToGrey() argument 127 Marking::WhiteToGrey(mark_bit); in WhiteToGrey()
|
D | incremental-marking.h | 153 inline void BlackToGreyAndUnshift(HeapObject* obj, MarkBit mark_bit); 155 inline void WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit); 157 inline void WhiteToGrey(HeapObject* obj, MarkBit mark_bit); 161 inline bool MarkBlackOrKeepGrey(MarkBit mark_bit) { in MarkBlackOrKeepGrey() argument 162 ASSERT(!Marking::IsImpossible(mark_bit)); in MarkBlackOrKeepGrey() 163 if (mark_bit.Get()) { in MarkBlackOrKeepGrey() 167 mark_bit.Set(); in MarkBlackOrKeepGrey() 168 ASSERT(Marking::IsBlack(mark_bit)); in MarkBlackOrKeepGrey()
|
D | incremental-marking.cc | 236 MarkBit mark_bit = Marking::MarkBitFrom(heap_object); in INLINE() local 237 if (mark_bit.data_only()) { in INLINE() 238 if (incremental_marking_->MarkBlackOrKeepGrey(mark_bit)) { in INLINE() 242 } else if (Marking::IsWhite(mark_bit)) { in INLINE() 243 incremental_marking_->WhiteToGreyAndPush(heap_object, mark_bit); in INLINE() 274 MarkBit mark_bit = Marking::MarkBitFrom(heap_object); in MarkObjectByPointer() local 275 if (mark_bit.data_only()) { in MarkObjectByPointer() 276 if (incremental_marking_->MarkBlackOrKeepGrey(mark_bit)) { in MarkObjectByPointer() 281 if (Marking::IsWhite(mark_bit)) { in MarkObjectByPointer() 282 incremental_marking_->WhiteToGreyAndPush(heap_object, mark_bit); in MarkObjectByPointer() [all …]
|
D | mark-compact.cc | 338 MarkBit mark_bit = Marking::MarkBitFrom(obj); in VerifyMarkbitsAreClean() local 339 ASSERT(Marking::IsWhite(mark_bit)); in VerifyMarkbitsAreClean() 373 MarkBit mark_bit = Marking::MarkBitFrom(obj); in ClearMarkbits() local 374 mark_bit.Clear(); in ClearMarkbits() 375 mark_bit.Next().Clear(); in ClearMarkbits() 1728 MarkBit mark_bit = Marking::MarkBitFrom(object); in MarkObjectByPointer() local 1729 if (mark_bit.Get()) return; in MarkObjectByPointer() 1733 collector_->SetMark(object, mark_bit); in MarkObjectByPointer() 2862 MarkBit mark_bit = Marking::MarkBitFrom(object); in EvacuateNewSpace() local 2863 if (mark_bit.Get()) { in EvacuateNewSpace() [all …]
|
D | heap.cc | 1680 MarkBit mark_bit = Marking::MarkBitFrom(target); in EvacuateJSFunction() local 1681 if (Marking::IsBlack(mark_bit)) { in EvacuateJSFunction() 5274 MarkBit mark_bit = Marking::MarkBitFrom(HeapObject::FromAddress(start)); in IterateAndMarkPointersToFromSpace() local 5275 record_slots = Marking::IsBlack(mark_bit); in IterateAndMarkPointersToFromSpace() 6282 MarkBit mark_bit = Marking::MarkBitFrom(object); in SkipObject() local 6283 return !mark_bit.Get(); in SkipObject() 6295 MarkBit mark_bit = Marking::MarkBitFrom(obj); in VisitPointers() local 6296 if (!mark_bit.Get()) { in VisitPointers() 6297 mark_bit.Set(); in VisitPointers()
|
D | spaces.cc | 2664 MarkBit mark_bit = Marking::MarkBitFrom(object); in FreeUnmarkedObjects() local 2665 if (mark_bit.Get()) { in FreeUnmarkedObjects() 2666 mark_bit.Clear(); in FreeUnmarkedObjects()
|
/external/e2fsprogs/lib/ext2fs/ |
D | gen_bitmap.c | 364 int mark_bit = 0; in ext2fs_test_clear_generic_bitmap_range() local 380 mark_bit = len + start_bit - 1; in ext2fs_test_clear_generic_bitmap_range() 382 mark_bit = 7; in ext2fs_test_clear_generic_bitmap_range() 384 for (i = mark_count; i > 0; i--, mark_bit--) in ext2fs_test_clear_generic_bitmap_range() 385 first_bit |= 1 << mark_bit; in ext2fs_test_clear_generic_bitmap_range() 410 for (mark_bit = len_bit - 1; mark_bit >= 0; mark_bit--) in ext2fs_test_clear_generic_bitmap_range() 411 last_bit |= 1 << mark_bit; in ext2fs_test_clear_generic_bitmap_range()
|