Home
last modified time | relevance | path

Searched refs:mark_bit (Results 1 – 11 of 11) sorted by relevance

/external/v8/src/heap/
Dmarking.h274 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 …]
Dmark-compact-inl.h20 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 …]
Dincremental-marking.cc121 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 …]
Dmark-compact.cc351 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 …]
Dscavenger.cc242 MarkBit mark_bit = ObjectMarking::MarkBitFrom(target); in EvacuateJSFunction() local
243 if (Marking::IsBlack(mark_bit)) { in EvacuateJSFunction()
Dmark-compact.h589 INLINE(void MarkObject(HeapObject* obj, MarkBit mark_bit));
593 INLINE(void SetMark(HeapObject* obj, MarkBit mark_bit));
Dincremental-marking.h161 void WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit);
Dspaces.cc3057 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()
Dheap.cc4803 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/
Dblkmap64_ba.c220 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()
Dgen_bitmap.c444 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()