/third_party/node/deps/v8/src/heap/cppgc/ |
D | heap-page.h | 23 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 …]
|
D | heap-page.cc | 35 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 …]
|
D | pointer-policies.cc | 39 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()
|
D | explicit-management.cc | 44 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()
|
D | write-barrier.cc | 65 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()
|
D | heap-space.h | 19 class BasePage; variable 24 using Pages = std::vector<BasePage*>; 47 void AddPage(BasePage*); 48 void RemovePage(BasePage*);
|
D | trace-trait.cc | 17 const BasePage* page = BasePage::FromPayload(address); in GetTraceDescriptor()
|
D | concurrent-marker.cc | 111 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()
|
D | object-allocator.cc | 29 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()
|
D | object-view.h | 29 const BasePage* base_page_; 37 BasePage::FromPayload(const_cast<HeapObjectHeader*>(&header_))), in ObjectView()
|
D | compactor.cc | 83 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()
|
D | heap-space.cc | 25 void BaseSpace::AddPage(BasePage* page) { in AddPage() 31 void BaseSpace::RemovePage(BasePage* page) { in RemovePage()
|
D | visitor.cc | 60 const BasePage* page = reinterpret_cast<const BasePage*>( in TraceConservativelyIfNeeded()
|
D | sweeper.cc | 86 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()
|
D | remembered-set.cc | 24 auto& slot_header = BasePage::FromInnerAddress(&heap, slot) in VisitRememberedSlots() 43 BasePage::FromPayload(value)->ObjectHeaderFromInnerAddress(value); in VisitRememberedSlots()
|
D | object-size-trait.cc | 27 BasePage::FromPayload(address) in GetObjectSizeForGarbageCollectedMixin()
|
D | heap-object-header.cc | 29 ? LargePage::From(BasePage::FromPayload(this))->ObjectSize() in Finalize()
|
D | object-allocator.h | 172 NormalPage::From(BasePage::FromPayload(&filler)) in AllocateObjectOnSpace() 209 NormalPage::From(BasePage::FromPayload(header)) in AllocateObjectOnSpace()
|
D | marking-state.h | 85 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()
|
D | heap-visitor.h | 40 void Traverse(BasePage& page) { in Traverse()
|
D | prefinalizer-handler.cc | 21 auto* page = BasePage::FromPayload(object); in PrefinalizerRegistration()
|
D | heap-statistics-collector.cc | 175 BasePage::FromPayload(const_cast<HeapObjectHeader*>(&header))) in VisitHeapObjectHeader()
|