Searched refs:mark_bit (Results 1 – 11 of 11) sorted by relevance
/external/v8/src/heap/ |
D | marking.h | 274 INLINE(static bool IsImpossible(MarkBit mark_bit)) { in INLINE() argument 275 return !mark_bit.Get() && mark_bit.Next().Get(); in INLINE() 280 INLINE(static bool IsBlack(MarkBit mark_bit)) { in INLINE() argument 281 return mark_bit.Get() && mark_bit.Next().Get(); in INLINE() 286 INLINE(static bool IsWhite(MarkBit mark_bit)) { in INLINE() argument 287 DCHECK(!IsImpossible(mark_bit)); in INLINE() 288 return !mark_bit.Get(); in INLINE() 293 INLINE(static bool IsGrey(MarkBit mark_bit)) { in INLINE() argument 294 return mark_bit.Get() && !mark_bit.Next().Get(); in INLINE() 299 INLINE(static bool IsBlackOrGrey(MarkBit mark_bit)) { return mark_bit.Get(); } in INLINE() argument [all …]
|
D | mark-compact-inl.h | 20 MarkBit mark_bit = ObjectMarking::MarkBitFrom(obj); in PushBlack() local 21 Marking::BlackToGrey(mark_bit); in PushBlack() 30 MarkBit mark_bit = ObjectMarking::MarkBitFrom(obj); in UnshiftBlack() local 31 Marking::BlackToGrey(mark_bit); in UnshiftBlack() 36 void MarkCompactCollector::MarkObject(HeapObject* obj, MarkBit mark_bit) { in MarkObject() argument 37 DCHECK(ObjectMarking::MarkBitFrom(obj) == mark_bit); in MarkObject() 38 if (Marking::IsWhite(mark_bit)) { in MarkObject() 39 Marking::WhiteToBlack(mark_bit); in MarkObject() 46 void MarkCompactCollector::SetMark(HeapObject* obj, MarkBit mark_bit) { in SetMark() argument 47 DCHECK(Marking::IsWhite(mark_bit)); in SetMark() [all …]
|
D | incremental-marking.cc | 121 void IncrementalMarking::WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit) { in WhiteToGreyAndPush() argument 122 Marking::WhiteToGrey(mark_bit); in WhiteToGreyAndPush() 130 MarkBit mark_bit = ObjectMarking::MarkBitFrom(HeapObject::cast(obj)); in MarkObjectGreyDoNotEnqueue() local 131 if (Marking::IsBlack(mark_bit)) { in MarkObjectGreyDoNotEnqueue() 134 Marking::AnyToGrey(mark_bit); in MarkObjectGreyDoNotEnqueue() 268 MarkBit mark_bit = ObjectMarking::MarkBitFrom(heap_object); in INLINE() local 269 if (Marking::IsWhite(mark_bit)) { in INLINE() 270 Marking::MarkBlack(mark_bit); in INLINE() 815 MarkBit mark_bit = ObjectMarking::MarkBitFrom(obj); in UpdateMarkingDequeAfterScavenge() local 816 DCHECK(Marking::IsGrey(mark_bit) || in UpdateMarkingDequeAfterScavenge() [all …]
|
D | mark-compact.cc | 351 MarkBit mark_bit = ObjectMarking::MarkBitFrom(obj); in VerifyMarkbitsAreClean() local 352 CHECK(Marking::IsWhite(mark_bit)); in VerifyMarkbitsAreClean() 1119 MarkBit mark_bit = ObjectMarking::MarkBitFrom(object); in INLINE() local 1120 if (Marking::IsWhite(mark_bit)) { in INLINE() 1121 heap->mark_compact_collector()->SetMark(object, mark_bit); in INLINE() 1365 MarkBit mark_bit = ObjectMarking::MarkBitFrom(object); in MarkObjectByPointer() local 1366 if (Marking::IsBlackOrGrey(mark_bit)) return; in MarkObjectByPointer() 1370 collector_->SetMark(object, mark_bit); in MarkObjectByPointer() 1438 MarkBit mark_bit = ObjectMarking::MarkBitFrom(HeapObject::cast(object)); in RetainAs() local 1439 DCHECK(!Marking::IsGrey(mark_bit)); in RetainAs() [all …]
|
D | scavenger.cc | 242 MarkBit mark_bit = ObjectMarking::MarkBitFrom(target); in EvacuateJSFunction() local 243 if (Marking::IsBlack(mark_bit)) { in EvacuateJSFunction()
|
D | mark-compact.h | 589 INLINE(void MarkObject(HeapObject* obj, MarkBit mark_bit)); 593 INLINE(void SetMark(HeapObject* obj, MarkBit mark_bit));
|
D | incremental-marking.h | 161 void WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit);
|
D | spaces.cc | 3057 MarkBit mark_bit = ObjectMarking::MarkBitFrom(object); in AllocateChunk() local 3058 DCHECK(Marking::IsBlack(mark_bit)); in AllocateChunk() 3059 Marking::BlackToWhite(mark_bit); in AllocateChunk() 3101 MarkBit mark_bit = ObjectMarking::MarkBitFrom(object); in AllocateChunk() local 3102 DCHECK(!Marking::IsGrey(mark_bit)); in AllocateChunk() 3103 if (Marking::IsBlack(mark_bit)) { in AllocateChunk()
|
D | heap.cc | 4803 MarkBit mark_bit = ObjectMarking::MarkBitFrom(target); in IterateAndScavengePromotedObject() local 4804 record_slots = Marking::IsBlack(mark_bit); in IterateAndScavengePromotedObject() 5592 MarkBit mark_bit = ObjectMarking::MarkBitFrom(heap_object); in RegisterExternallyReferencedObject() local 5593 mark_compact_collector()->MarkObject(heap_object, mark_bit); in RegisterExternallyReferencedObject() 6028 MarkBit mark_bit = ObjectMarking::MarkBitFrom(object); in SkipObject() local 6029 return Marking::IsWhite(mark_bit); in SkipObject() 6041 MarkBit mark_bit = ObjectMarking::MarkBitFrom(obj); in VisitPointers() local 6042 if (Marking::IsWhite(mark_bit)) { in VisitPointers() 6043 Marking::WhiteToBlack(mark_bit); in VisitPointers()
|
/external/e2fsprogs/lib/ext2fs/ |
D | blkmap64_ba.c | 220 int mark_bit = 0; in ba_test_clear_bmap_extent() local 237 mark_bit = len + start_bit - 1; in ba_test_clear_bmap_extent() 239 mark_bit = 7; in ba_test_clear_bmap_extent() 241 for (i = mark_count; i > 0; i--, mark_bit--) in ba_test_clear_bmap_extent() 242 first_bit |= 1 << mark_bit; in ba_test_clear_bmap_extent() 267 for (mark_bit = len_bit - 1; mark_bit >= 0; mark_bit--) in ba_test_clear_bmap_extent() 268 last_bit |= 1 << mark_bit; in ba_test_clear_bmap_extent()
|
D | gen_bitmap.c | 444 int mark_bit = 0; in ext2fs_test_clear_generic_bitmap_range() local 460 mark_bit = len + start_bit - 1; in ext2fs_test_clear_generic_bitmap_range() 462 mark_bit = 7; in ext2fs_test_clear_generic_bitmap_range() 464 for (i = mark_count; i > 0; i--, mark_bit--) in ext2fs_test_clear_generic_bitmap_range() 465 first_bit |= 1 << mark_bit; in ext2fs_test_clear_generic_bitmap_range() 490 for (mark_bit = len_bit - 1; mark_bit >= 0; mark_bit--) in ext2fs_test_clear_generic_bitmap_range() 491 last_bit |= 1 << mark_bit; in ext2fs_test_clear_generic_bitmap_range()
|