Searched refs:mark_bit (Results 1 – 11 of 11) sorted by relevance
/external/v8/test/cctest/ |
D | test-slots-buffer.cc | 75 MarkBit mark_bit = Marking::MarkBitFrom(*fake_object); in TEST() local 76 Marking::MarkBlack(mark_bit); in TEST() 85 mark_bit = Marking::MarkBitFrom(*new_space_object); in TEST() 86 Marking::MarkBlack(mark_bit); in TEST() 95 mark_bit = Marking::MarkBitFrom(*old_space_object_non_evacuation); in TEST() 96 Marking::MarkBlack(mark_bit); in TEST() 122 mark_bit = Marking::MarkBitFrom(*fake_object); in TEST() 123 Marking::MarkWhite(mark_bit); in TEST() 124 mark_bit = Marking::MarkBitFrom(*new_space_object); in TEST() 125 Marking::MarkWhite(mark_bit); in TEST() [all …]
|
/external/v8/src/heap/ |
D | mark-compact.h | 44 INLINE(static bool IsImpossible(MarkBit mark_bit)) { in INLINE() argument 45 return !mark_bit.Get() && mark_bit.Next().Get(); in INLINE() 50 INLINE(static bool IsBlack(MarkBit mark_bit)) { in INLINE() argument 51 return mark_bit.Get() && mark_bit.Next().Get(); in INLINE() 56 INLINE(static bool IsWhite(MarkBit mark_bit)) { in INLINE() argument 57 DCHECK(!IsImpossible(mark_bit)); in INLINE() 58 return !mark_bit.Get(); in INLINE() 63 INLINE(static bool IsGrey(MarkBit mark_bit)) { in INLINE() argument 64 return mark_bit.Get() && !mark_bit.Next().Get(); in INLINE() 69 INLINE(static bool IsBlackOrGrey(MarkBit mark_bit)) { return mark_bit.Get(); } in INLINE() argument [all …]
|
D | incremental-marking.cc | 153 MarkBit mark_bit) { in BlackToGreyAndUnshift() argument 154 DCHECK(Marking::MarkBitFrom(obj) == mark_bit); in BlackToGreyAndUnshift() 157 Marking::BlackToGrey(mark_bit); in BlackToGreyAndUnshift() 183 void IncrementalMarking::WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit) { in WhiteToGreyAndPush() argument 184 Marking::WhiteToGrey(mark_bit); in WhiteToGreyAndPush() 192 MarkBit mark_bit = Marking::MarkBitFrom(HeapObject::cast(obj)); in MarkObjectGreyDoNotEnqueue() local 193 if (Marking::IsBlack(mark_bit)) { in MarkObjectGreyDoNotEnqueue() 196 Marking::AnyToGrey(mark_bit); in MarkObjectGreyDoNotEnqueue() 202 MarkBit mark_bit, int size) { in MarkBlackOrKeepBlack() argument 203 DCHECK(!Marking::IsImpossible(mark_bit)); in MarkBlackOrKeepBlack() [all …]
|
D | mark-compact-inl.h | 34 void MarkCompactCollector::MarkObject(HeapObject* obj, MarkBit mark_bit) { in MarkObject() argument 35 DCHECK(Marking::MarkBitFrom(obj) == mark_bit); in MarkObject() 36 if (Marking::IsWhite(mark_bit)) { in MarkObject() 37 Marking::WhiteToBlack(mark_bit); in MarkObject() 44 void MarkCompactCollector::SetMark(HeapObject* obj, MarkBit mark_bit) { in SetMark() argument 45 DCHECK(Marking::IsWhite(mark_bit)); in SetMark() 46 DCHECK(Marking::MarkBitFrom(obj) == mark_bit); in SetMark() 47 Marking::WhiteToBlack(mark_bit); in SetMark()
|
D | incremental-marking.h | 179 void BlackToGreyAndUnshift(HeapObject* obj, MarkBit mark_bit); 181 void WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit);
|
D | mark-compact.cc | 419 MarkBit mark_bit = Marking::MarkBitFrom(obj); in VerifyMarkbitsAreClean() local 420 CHECK(Marking::IsWhite(mark_bit)); in VerifyMarkbitsAreClean() 1168 MarkBit mark_bit = Marking::MarkBitFrom(object); in INLINE() local 1169 if (Marking::IsWhite(mark_bit)) { in INLINE() 1170 heap->mark_compact_collector()->SetMark(object, mark_bit); in INLINE() 1425 MarkBit mark_bit = Marking::MarkBitFrom(object); in MarkObjectByPointer() local 1426 if (Marking::IsBlackOrGrey(mark_bit)) return; in MarkObjectByPointer() 1430 collector_->SetMark(object, mark_bit); in MarkObjectByPointer() 1490 MarkBit mark_bit = Marking::MarkBitFrom(HeapObject::cast(object)); in RetainAs() local 1491 DCHECK(!Marking::IsGrey(mark_bit)); in RetainAs() [all …]
|
D | scavenger.cc | 235 MarkBit mark_bit = Marking::MarkBitFrom(target); in EvacuateJSFunction() local 236 if (Marking::IsBlack(mark_bit)) { in EvacuateJSFunction()
|
D | spaces.cc | 3188 MarkBit mark_bit = Marking::MarkBitFrom(object); in AllocateChunk() local 3189 DCHECK(Marking::IsBlack(mark_bit)); in AllocateChunk() 3190 Marking::BlackToWhite(mark_bit); in AllocateChunk() 3203 MarkBit mark_bit = Marking::MarkBitFrom(object); in AllocateChunk() local 3204 DCHECK(!Marking::IsGrey(mark_bit)); in AllocateChunk() 3205 if (Marking::IsBlack(mark_bit)) { in AllocateChunk()
|
D | heap.cc | 4547 MarkBit mark_bit = Marking::MarkBitFrom(target); in IteratePointersToFromSpace() local 4548 record_slots = Marking::IsBlack(mark_bit); in IteratePointersToFromSpace() 5623 MarkBit mark_bit = Marking::MarkBitFrom(object); in SkipObject() local 5624 return Marking::IsWhite(mark_bit); in SkipObject() 5636 MarkBit mark_bit = Marking::MarkBitFrom(obj); in VisitPointers() local 5637 if (Marking::IsWhite(mark_bit)) { in VisitPointers() 5638 Marking::WhiteToBlack(mark_bit); in VisitPointers()
|
/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()
|