Home
last modified time | relevance | path

Searched refs:marking_state (Results 1 – 14 of 14) sorted by relevance

/external/v8/src/heap/
Dincremental-marking.cc46 if (incremental_marking_.marking_state()->IsWhite(object) && in Step()
49 incremental_marking_.marking_state()->WhiteToBlack(object); in Step()
82 DCHECK(!marking_state()->IsImpossible(value_heap_obj)); in BaseRecordWrite()
83 DCHECK(!marking_state()->IsImpossible(obj)); in BaseRecordWrite()
89 const bool need_recording = marking_state()->IsBlack(obj); in BaseRecordWrite()
127 if (marking_state()->WhiteToGrey(obj)) { in WhiteToGreyAndPush()
139 marking_state()->WhiteToGrey(obj); in MarkBlackAndPush()
140 if (marking_state()->GreyToBlack(obj)) { in MarkBlackAndPush()
156 MarkBit old_mark_bit = marking_state()->MarkBitFrom(from); in NotifyLeftTrimming()
157 MarkBit new_mark_bit = marking_state()->MarkBitFrom(to); in NotifyLeftTrimming()
[all …]
Dmark-compact-inl.h21 MarkingState* marking_state) in MarkingVisitor() argument
24 marking_state_(marking_state) {} in MarkingVisitor()
104 if (marking_state()->IsBlackOrGrey(key)) { in VisitEphemeronHashTable()
116 if (marking_state()->IsWhite(value)) { in VisitEphemeronHashTable()
183 if (marking_state()->IsBlackOrGrey(target_object)) { in VisitPointer()
229 } else if (!marking_state()->IsBlackOrGrey(object)) { in VisitEmbeddedPointer()
250 if (marking_state()->WhiteToBlack(object)) { in MarkObjectWithoutPush()
265 if (marking_state()->WhiteToGrey(object)) { in MarkObject()
292 marking_state()->WhiteToGrey(object); in VisitFixedArrayIncremental()
298 DCHECK(marking_state()->IsGrey(object) || in VisitFixedArrayIncremental()
[all …]
Dmark-compact.cc953 MarkCompactCollector::NonAtomicMarkingState* marking_state = in VisitPointers() local
959 if (marking_state->IsWhite(heap_object)) { in VisitPointers()
994 MarkCompactCollector::NonAtomicMarkingState* marking_state = in VisitRootPointers() local
1001 if (marking_state->IsWhite(heap_object)) { in VisitRootPointers()
1024 MarkCompactCollector::NonAtomicMarkingState* marking_state) in MarkCompactWeakObjectRetainer() argument
1025 : marking_state_(marking_state) {} in MarkCompactWeakObjectRetainer()
1454 if (marking_state()->WhiteToBlack(string_table)) { in MarkStringTable()
1650 MarkCompactMarkingVisitor visitor(this, marking_state()); in ProcessMarkingWorklistInternal()
1655 DCHECK(!(marking_state()->IsWhite(object))); in ProcessMarkingWorklistInternal()
1656 marking_state()->GreyToBlack(object); in ProcessMarkingWorklistInternal()
[all …]
Darray-buffer-tracker-inl.h87 void ArrayBufferTracker::FreeDead(Page* page, MarkingState* marking_state) { in FreeDead() argument
91 tracker->Free([marking_state](JSArrayBuffer* buffer) { in FreeDead()
92 return marking_state->IsWhite(buffer); in FreeDead()
Dspaces.cc1056 IncrementalMarking::MarkingState* marking_state = in AllocateChunk() local
1057 heap()->incremental_marking()->marking_state(); in AllocateChunk()
1058 marking_state->bitmap(this)->SetRange(AddressToMarkbitIndex(start), in AllocateChunk()
1060 marking_state->IncrementLiveBytes(this, static_cast<intptr_t>(end - start)); in AllocateChunk()
1068 IncrementalMarking::MarkingState* marking_state = in AllocateChunk() local
1069 heap()->incremental_marking()->marking_state(); in AllocateChunk()
1070 marking_state->bitmap(this)->ClearRange(AddressToMarkbitIndex(start), in AllocateChunk()
1072 marking_state->IncrementLiveBytes(this, -static_cast<intptr_t>(end - start)); in AllocateChunk()
1633 auto marking_state = in AllocateChunk() local
1638 size_t old_counter = marking_state->live_bytes(page); in AllocateChunk()
[all …]
Dsweeper.cc139 MajorNonAtomicMarkingState* marking_state = in StartSweeping() local
141 ForAllSweepingSpaces([this, marking_state](AllocationSpace space) { in StartSweeping()
145 [marking_state](Page* a, Page* b) { in StartSweeping()
146 return marking_state->live_bytes(a) < in StartSweeping()
147 marking_state->live_bytes(b); in StartSweeping()
Dsweeper.h80 Sweeper(Heap* heap, MajorNonAtomicMarkingState* marking_state) in Sweeper() argument
82 marking_state_(marking_state), in Sweeper()
Dconcurrent-marking.h77 void FlushLiveBytes(MajorNonAtomicMarkingState* marking_state);
Darray-buffer-tracker.h45 static void FreeDead(Page* page, MarkingState* marking_state);
Dmark-compact.h581 MarkingState* marking_state() { return &marking_state_; } in marking_state() function
909 MarkingState* marking_state);
950 MarkingState* marking_state() { return marking_state_; } in marking_state() function
985 MarkingState* marking_state() { return &marking_state_; } in marking_state() function
Dincremental-marking.h93 MarkingState* marking_state() { return &marking_state_; } in marking_state() function
Dconcurrent-marking.cc747 MajorNonAtomicMarkingState* marking_state) { in FlushLiveBytes() argument
755 marking_state->IncrementLiveBytes(pair.first, pair.second); in FlushLiveBytes()
Dspaces-inl.h382 heap()->incremental_marking()->marking_state()->IsBlack(heap_obj)); in AllocateRaw()
Dheap.cc3063 incremental_marking()->marking_state()->IsBlackOrGrey(filler)) { in CreateFillerForArray()
3065 incremental_marking()->marking_state()->bitmap(page)->ClearRange( in CreateFillerForArray()
3303 IncrementalMarking::MarkingState* marking_state = in RegisterDeserializedObjectsForBlackAllocation() local
3304 incremental_marking()->marking_state(); in RegisterDeserializedObjectsForBlackAllocation()
3313 if (marking_state->IsBlack(obj)) { in RegisterDeserializedObjectsForBlackAllocation()
5916 heap->incremental_marking()->marking_state()->IsBlack(object)) { in MarkingBarrierForElementsSlow()