Searched refs:mark_bit (Results 1 – 10 of 10) sorted by relevance
/external/v8/src/heap/ |
D | mark-compact-inl.h | 30 void MarkCompactCollector::MarkObject(HeapObject* obj, MarkBit mark_bit) { in MarkObject() argument 31 DCHECK(Marking::MarkBitFrom(obj) == mark_bit); in MarkObject() 32 if (!mark_bit.Get()) { in MarkObject() 33 mark_bit.Set(); in MarkObject() 42 void MarkCompactCollector::SetMark(HeapObject* obj, MarkBit mark_bit) { in SetMark() argument 43 DCHECK(!mark_bit.Get()); in SetMark() 44 DCHECK(Marking::MarkBitFrom(obj) == mark_bit); in SetMark() 45 mark_bit.Set(); in SetMark()
|
D | incremental-marking.cc | 128 MarkBit mark_bit = Marking::MarkBitFrom(HeapObject::cast(obj)); in MarkObjectGreyDoNotEnqueue() local 129 if (Marking::IsBlack(mark_bit)) { in MarkObjectGreyDoNotEnqueue() 133 Marking::AnyToGrey(mark_bit); in MarkObjectGreyDoNotEnqueue() 139 MarkBit mark_bit, int size) { in MarkBlackOrKeepGrey() argument 140 DCHECK(!Marking::IsImpossible(mark_bit)); in MarkBlackOrKeepGrey() 141 if (mark_bit.Get()) return; in MarkBlackOrKeepGrey() 142 mark_bit.Set(); in MarkBlackOrKeepGrey() 144 DCHECK(Marking::IsBlack(mark_bit)); in MarkBlackOrKeepGrey() 149 MarkBit mark_bit, int size) { in MarkBlackOrKeepBlack() argument 150 DCHECK(!Marking::IsImpossible(mark_bit)); in MarkBlackOrKeepBlack() [all …]
|
D | mark-compact.h | 38 INLINE(static bool IsImpossible(MarkBit mark_bit)) { in INLINE() argument 39 return !mark_bit.Get() && mark_bit.Next().Get(); in INLINE() 44 INLINE(static bool IsBlack(MarkBit mark_bit)) { in INLINE() argument 45 return mark_bit.Get() && !mark_bit.Next().Get(); in INLINE() 50 INLINE(static bool IsWhite(MarkBit mark_bit)) { return !mark_bit.Get(); } in INLINE() argument 54 INLINE(static bool IsGrey(MarkBit mark_bit)) { in INLINE() argument 55 return mark_bit.Get() && mark_bit.Next().Get(); in INLINE() 58 INLINE(static void MarkBlack(MarkBit mark_bit)) { in INLINE() argument 59 mark_bit.Set(); in INLINE() 60 mark_bit.Next().Clear(); in INLINE() [all …]
|
D | incremental-marking-inl.h | 82 MarkBit mark_bit) { in BlackToGreyAndUnshift() argument 83 DCHECK(Marking::MarkBitFrom(obj) == mark_bit); in BlackToGreyAndUnshift() 86 Marking::BlackToGrey(mark_bit); in BlackToGreyAndUnshift() 110 void IncrementalMarking::WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit) { in WhiteToGreyAndPush() argument 111 Marking::WhiteToGrey(mark_bit); in WhiteToGreyAndPush()
|
D | incremental-marking.h | 126 inline void BlackToGreyAndUnshift(HeapObject* obj, MarkBit mark_bit); 128 inline void WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit);
|
D | mark-compact.cc | 469 MarkBit mark_bit = Marking::MarkBitFrom(obj); in VerifyMarkbitsAreClean() local 470 CHECK(Marking::IsWhite(mark_bit)); in VerifyMarkbitsAreClean() 527 MarkBit mark_bit = Marking::MarkBitFrom(obj); in ClearMarkbits() local 528 mark_bit.Clear(); in ClearMarkbits() 529 mark_bit.Next().Clear(); in ClearMarkbits() 1397 MarkBit mark_bit = Marking::MarkBitFrom(object); in INLINE() local 1398 if (!mark_bit.Get()) { in INLINE() 1399 heap->mark_compact_collector()->SetMark(object, mark_bit); in INLINE() 1792 MarkBit mark_bit = Marking::MarkBitFrom(object); in MarkObjectByPointer() local 1793 if (mark_bit.Get()) return; in MarkObjectByPointer() [all …]
|
D | heap.cc | 2071 MarkBit mark_bit = Marking::MarkBitFrom(target); in EvacuateJSFunction() local 2072 if (Marking::IsBlack(mark_bit)) { in EvacuateJSFunction() 4552 MarkBit mark_bit = Marking::MarkBitFrom(HeapObject::FromAddress(start)); in IterateAndMarkPointersToFromSpace() local 4553 record_slots = Marking::IsBlack(mark_bit); in IterateAndMarkPointersToFromSpace() 5558 MarkBit mark_bit = Marking::MarkBitFrom(object); in SkipObject() local 5559 return !mark_bit.Get(); in SkipObject() 5571 MarkBit mark_bit = Marking::MarkBitFrom(obj); in VisitPointers() local 5572 if (!mark_bit.Get()) { in VisitPointers() 5573 mark_bit.Set(); in VisitPointers()
|
D | spaces.cc | 2936 MarkBit mark_bit = Marking::MarkBitFrom(object); in FreeUnmarkedObjects() local 2937 if (mark_bit.Get()) { in FreeUnmarkedObjects() 2938 mark_bit.Clear(); in FreeUnmarkedObjects()
|
/external/e2fsprogs/lib/ext2fs/ |
D | blkmap64_ba.c | 219 int mark_bit = 0; in ba_test_clear_bmap_extent() local 236 mark_bit = len + start_bit - 1; in ba_test_clear_bmap_extent() 238 mark_bit = 7; in ba_test_clear_bmap_extent() 240 for (i = mark_count; i > 0; i--, mark_bit--) in ba_test_clear_bmap_extent() 241 first_bit |= 1 << mark_bit; in ba_test_clear_bmap_extent() 266 for (mark_bit = len_bit - 1; mark_bit >= 0; mark_bit--) in ba_test_clear_bmap_extent() 267 last_bit |= 1 << mark_bit; in ba_test_clear_bmap_extent()
|
D | gen_bitmap.c | 443 int mark_bit = 0; in ext2fs_test_clear_generic_bitmap_range() local 459 mark_bit = len + start_bit - 1; in ext2fs_test_clear_generic_bitmap_range() 461 mark_bit = 7; in ext2fs_test_clear_generic_bitmap_range() 463 for (i = mark_count; i > 0; i--, mark_bit--) in ext2fs_test_clear_generic_bitmap_range() 464 first_bit |= 1 << mark_bit; in ext2fs_test_clear_generic_bitmap_range() 489 for (mark_bit = len_bit - 1; mark_bit >= 0; mark_bit--) in ext2fs_test_clear_generic_bitmap_range() 490 last_bit |= 1 << mark_bit; in ext2fs_test_clear_generic_bitmap_range()
|