Home
last modified time | relevance | path

Searched refs:BasePage (Results 1 – 22 of 22) sorted by relevance

/third_party/node/deps/v8/src/heap/cppgc/
Dheap-page.h23 class V8_EXPORT_PRIVATE BasePage {
25 static inline BasePage* FromPayload(void*);
26 static inline const BasePage* FromPayload(const void*);
28 static BasePage* FromInnerAddress(const HeapBase*, void*);
29 static const BasePage* FromInnerAddress(const HeapBase*, const void*);
31 static void Destroy(BasePage*);
33 BasePage(const BasePage&) = delete;
34 BasePage& operator=(const BasePage&) = delete;
91 BasePage(HeapBase&, BaseSpace&, PageType);
100 class V8_EXPORT_PRIVATE NormalPage final : public BasePage {
[all …]
Dheap-page.cc35 BasePage* BasePage::FromInnerAddress(const HeapBase* heap, void* address) { in FromInnerAddress()
36 return const_cast<BasePage*>( in FromInnerAddress()
41 const BasePage* BasePage::FromInnerAddress(const HeapBase* heap, in FromInnerAddress()
43 return reinterpret_cast<const BasePage*>( in FromInnerAddress()
48 void BasePage::Destroy(BasePage* page) { in Destroy()
63 Address BasePage::PayloadStart() { in PayloadStart()
68 ConstAddress BasePage::PayloadStart() const { in PayloadStart()
69 return const_cast<BasePage*>(this)->PayloadStart(); in PayloadStart()
72 Address BasePage::PayloadEnd() { in PayloadEnd()
77 ConstAddress BasePage::PayloadEnd() const { in PayloadEnd()
[all …]
Dpointer-policies.cc39 auto* base_page = BasePage::FromPayload(ptr); in CheckPointerImpl()
82 const auto* slot_page = BasePage::FromInnerAddress(heap_, this); in CheckPointerImpl()
100 return BasePage::FromPayload(object)->heap().GetStrongPersistentRegion(); in GetPersistentRegion()
105 return BasePage::FromPayload(object)->heap().GetWeakPersistentRegion(); in GetPersistentRegion()
110 return BasePage::FromPayload(object) in GetPersistentRegion()
117 return BasePage::FromPayload(object) in GetPersistentRegion()
Dexplicit-management.cc44 BasePage* base_page = BasePage::FromPayload(object); in FreeUnreferencedObject()
80 bool Grow(HeapObjectHeader& header, BasePage& base_page, size_t new_size, in Grow()
99 bool Shrink(HeapObjectHeader& header, BasePage& base_page, size_t new_size, in Shrink()
138 BasePage* base_page = BasePage::FromPayload(object); in Resize()
Dwrite-barrier.cc65 const BasePage* page = BasePage::FromPayload(value); in DijkstraMarkingBarrierSlow()
110 const BasePage* page = BasePage::FromPayload(value); in SteeleMarkingBarrierSlow()
151 BasePage::FromInnerAddress(&local_data.heap_base, inner_pointer) in GenerationalBarrierForSourceObjectSlow()
172 const auto* page = BasePage::FromPayload(object); in IsMarking()
Dheap-space.h19 class BasePage; variable
24 using Pages = std::vector<BasePage*>;
47 void AddPage(BasePage*);
48 void RemovePage(BasePage*);
Dtrace-trait.cc17 const BasePage* page = BasePage::FromPayload(address); in GetTraceDescriptor()
Dconcurrent-marker.cc111 BasePage::FromPayload(header)->SynchronizedLoad(); in ProcessWorklists()
125 BasePage::FromPayload(item.base_object_payload) in ProcessWorklists()
144 BasePage::FromPayload(header)->SynchronizedLoad(); in ProcessWorklists()
157 BasePage::FromPayload(header)->SynchronizedLoad(); in ProcessWorklists()
Dobject-allocator.cc29 void MarkRangeAsYoung(BasePage* page, Address begin, Address end) { in MarkRangeAsYoung()
66 NormalPage::From(BasePage::FromPayload(start)) in AddToFreeList()
84 auto* page = NormalPage::From(BasePage::FromPayload(new_buffer)); in ReplaceLinearAllocationBuffer()
213 auto& page = *NormalPage::From(BasePage::FromPayload(entry.address)); in RefillLinearAllocationBufferFromFreeList()
Dobject-view.h29 const BasePage* base_page_;
37 BasePage::FromPayload(const_cast<HeapObjectHeader*>(&header_))), in ObjectView()
Dcompactor.cc83 const BasePage* slot_page = BasePage::FromInnerAddress(&heap_, slot); in AddOrFilter()
100 const BasePage* value_page = BasePage::FromInnerAddress(&heap_, value); in AddOrFilter()
418 for (BasePage* page : pages) { in CompactSpace()
Dheap-space.cc25 void BaseSpace::AddPage(BasePage* page) { in AddPage()
31 void BaseSpace::RemovePage(BasePage* page) { in RemovePage()
Dvisitor.cc60 const BasePage* page = reinterpret_cast<const BasePage*>( in TraceConservativelyIfNeeded()
Dsweeper.cc86 BasePage& page) in DiscardingFreeHandler()
120 BasePage& page_;
126 BasePage& page) in RegularFreeHandler()
181 BasePage* page = nullptr;
196 ThreadSafeStack<BasePage*> unswept_pages;
222 InlinedFinalizationBuilder(BasePage& page, PageAllocator& page_allocator) in InlinedFinalizationBuilder()
246 DeferredFinalizationBuilder(BasePage& page, PageAllocator& page_allocator) in DeferredFinalizationBuilder()
414 BasePage* page = page_state->page; in FinalizePage()
441 BasePage::Destroy(page); in FinalizePage()
501 void SweepPage(BasePage& page) { Traverse(page); } in SweepPage()
Dremembered-set.cc24 auto& slot_header = BasePage::FromInnerAddress(&heap, slot) in VisitRememberedSlots()
43 BasePage::FromPayload(value)->ObjectHeaderFromInnerAddress(value); in VisitRememberedSlots()
Dobject-size-trait.cc27 BasePage::FromPayload(address) in GetObjectSizeForGarbageCollectedMixin()
Dheap-object-header.cc29 ? LargePage::From(BasePage::FromPayload(this))->ObjectSize() in Finalize()
Dobject-allocator.h172 NormalPage::From(BasePage::FromPayload(&filler)) in AllocateObjectOnSpace()
209 NormalPage::From(BasePage::FromPayload(header)) in AllocateObjectOnSpace()
Dmarking-state.h85 DCHECK_EQ(&heap_, &BasePage::FromPayload(&header)->heap()); in MarkNoPush()
347 ? reinterpret_cast<const LargePage*>(BasePage::FromPayload(&header)) in AccountMarkedBytes()
410 BasePage::FromPayload(address)->ObjectHeaderFromInnerAddress( in DynamicallyMarkAddress()
Dheap-visitor.h40 void Traverse(BasePage& page) { in Traverse()
Dprefinalizer-handler.cc21 auto* page = BasePage::FromPayload(object); in PrefinalizerRegistration()
Dheap-statistics-collector.cc175 BasePage::FromPayload(const_cast<HeapObjectHeader*>(&header))) in VisitHeapObjectHeader()