Home
last modified time | relevance | path

Searched refs:LargePage (Results 1 – 25 of 26) sorted by relevance

12

/third_party/node/deps/v8/src/heap/
Dlarge-spaces.h27 class LargePage : public MemoryChunk {
34 LargePage(Heap* heap, BaseSpace* space, size_t chunk_size, Address area_start,
38 static LargePage* FromHeapObject(HeapObject o) { in FromHeapObject()
40 return static_cast<LargePage*>(MemoryChunk::FromHeapObject(o)); in FromHeapObject()
45 LargePage* next_page() { return static_cast<LargePage*>(list_node_.next()); } in next_page()
46 const LargePage* next_page() const { in next_page()
47 return static_cast<const LargePage*>(list_node_.next()); in next_page()
57 static LargePage* Initialize(Heap* heap, MemoryChunk* chunk,
63 STATIC_ASSERT(sizeof(LargePage) <= MemoryChunk::kHeaderSize);
102 virtual void AddPage(LargePage* page, size_t object_size);
[all …]
Dlarge-spaces.cc31 STATIC_ASSERT(kClearedWeakHeapObjectLower32 < LargePage::kHeaderSize);
33 LargePage::LargePage(Heap* heap, BaseSpace* space, size_t chunk_size, in LargePage() function in v8::internal::LargePage
38 STATIC_ASSERT(LargePage::kMaxCodePageSize <= TypedSlotSet::kMaxOffset); in LargePage()
40 if (executable && chunk_size > LargePage::kMaxCodePageSize) { in LargePage()
48 LargePage* LargePage::Initialize(Heap* heap, MemoryChunk* chunk, in Initialize()
50 if (executable && chunk->size() > LargePage::kMaxCodePageSize) { in Initialize()
51 STATIC_ASSERT(LargePage::kMaxCodePageSize <= TypedSlotSet::kMaxOffset); in Initialize()
57 LargePage* page = static_cast<LargePage*>(chunk); in Initialize()
69 Address LargePage::GetAddressToShrink(Address object_address, in GetAddressToShrink()
82 void LargePage::ClearOutOfLiveRangeSlots(Address free_start) { in ClearOutOfLiveRangeSlots()
[all …]
Dmarking-barrier.cc200 for (LargePage* p : *heap_->new_lo_space()) { in Deactivate()
204 for (LargePage* p : *heap_->lo_space()) { in Deactivate()
207 for (LargePage* p : *heap_->code_lo_space()) { in Deactivate()
240 for (LargePage* p : *heap_->new_lo_space()) { in Activate()
245 for (LargePage* p : *heap_->lo_space()) { in Activate()
249 for (LargePage* p : *heap_->code_lo_space()) { in Activate()
Dspaces.h42 class LargePage; variable
373 using LargePageIterator = PageIteratorImpl<LargePage>;
374 using ConstLargePageIterator = PageIteratorImpl<const LargePage>;
Dconservative-stack-visitor.cc66 for (LargePage* page : *isolate_->heap()->lo_space()) { in VisitConservativelyIfPointer()
Dmemory-allocator.cc582 LargePage* MemoryAllocator::AllocateLargePage(LargeObjectSpace* space, in AllocateLargePage()
591 LargePage* page = new (chunk_info->start) LargePage( in AllocateLargePage()
Dmark-compact.h29 class LargePage; variable
815 std::vector<LargePage*> promoted_large_pages_;
924 std::vector<LargePage*> promoted_large_pages_;
Dheap-inl.h606 LargePage* page = heap_->code_lo_space()->first_page(); in CodeSpaceMemoryModificationScope()
620 LargePage* page = heap_->code_lo_space()->first_page(); in ~CodeSpaceMemoryModificationScope()
Dmemory-allocator.h190 V8_EXPORT_PRIVATE LargePage* AllocateLargePage(LargeObjectSpace* space,
Dscavenger.cc516 LargePage* page = LargePage::FromHeapObject(object); in HandleSurvivingNewLargeObjects()
Dfree-list.h28 class LargePage; variable
Dmark-compact.cc3965 LargePage* current = *it; in EvacuatePagesInParallel()
4053 HeapObject object = reinterpret_cast<LargePage*>(chunk)->GetObject(); in VisitBlackObjectsNoFail()
4082 HeapObject object = reinterpret_cast<LargePage*>(chunk)->GetObject(); in VisitGreyObjectsNoFail()
4158 for (LargePage* p : promoted_large_pages_) { in Evacuate()
5127 for (LargePage* p : promoted_large_pages_) { in CleanupPromotedPages()
6011 LargePage* current = *it; in EvacuatePagesInParallel()
Dfactory-base.cc942 LargePage::FromHeapObject(result)->ProgressBar().Enable(); in AllocateRawArray()
Dheap.cc2729 LargePage* page = *it; in EvacuateYoungGeneration()
7214 LargePage* large_page = code_lo_space()->FindPage(inner_pointer); in GcSafeFindCodeForInnerPointer()
/third_party/node/deps/v8/src/heap/cppgc/
Dheap-page.cc57 LargePage::Destroy(LargePage::From(page)); in Destroy()
64 return is_large() ? LargePage::From(this)->PayloadStart() in PayloadStart()
73 return is_large() ? LargePage::From(this)->PayloadEnd() in PayloadEnd()
82 return is_large() ? LargePage::From(this)->AllocatedBytesAtLastGC() in AllocatedBytesAtLastGC()
95 if (!LargePage::From(this)->PayloadContains( in TryObjectHeaderFromInnerAddress()
207 LargePage::LargePage(HeapBase& heap, BaseSpace& space, size_t size) in LargePage() function in cppgc::internal::LargePage
210 LargePage::~LargePage() = default;
213 size_t LargePage::AllocationSize(size_t payload_size) { in AllocationSize()
218 LargePage* LargePage::Create(PageBackend& page_backend, LargePageSpace& space, in Create()
232 LargePage* page = new (memory) LargePage(*heap, space, size); in Create()
[all …]
Dheap-page.h204 class V8_EXPORT_PRIVATE LargePage final : public BasePage {
210 return RoundUp<kGuaranteedObjectAlignment>(sizeof(LargePage) + in PageHeaderSize()
218 static LargePage* Create(PageBackend&, LargePageSpace&, size_t);
221 static void Destroy(LargePage*);
223 static LargePage* From(BasePage* page) { in From()
225 return static_cast<LargePage*>(page); in From()
227 static const LargePage* From(const BasePage* page) { in From()
255 LargePage(HeapBase& heap, BaseSpace& space, size_t);
256 ~LargePage();
279 return LargePage::From(page)->ObjectHeader(); in ObjectHeaderFromInnerAddressImpl()
Dheap-visitor.h42 auto* large_page = LargePage::From(&page); in Traverse()
61 bool VisitLargePage(LargePage&) { return false; } in VisitLargePage() argument
77 bool VisitLargePageImpl(LargePage& page) { in VisitLargePageImpl()
Dexplicit-management.cc46 object_size = LargePage::From(base_page)->ObjectSize(); in FreeUnreferencedObject()
49 LargePage::From(base_page)->PayloadSize()); in FreeUnreferencedObject()
50 LargePage::Destroy(LargePage::From(base_page)); in FreeUnreferencedObject()
Dobject-view.h49 return is_large_object_ ? LargePage::From(base_page_)->PayloadEnd() in End()
55 return is_large_object_ ? LargePage::From(base_page_)->ObjectSize() in Size()
Dheap-statistics-collector.cc153 bool HeapStatisticsCollector::VisitLargePage(LargePage& page) { in VisitLargePage()
158 const size_t allocated_size = LargePage::AllocationSize(object_size); in VisitLargePage()
174 ? LargePage::From( in VisitHeapObjectHeader()
Dheap-statistics-collector.h26 bool VisitLargePage(LargePage&);
Dheap-object-header.cc29 ? LargePage::From(BasePage::FromPayload(this))->ObjectSize() in Finalize()
Dobject-allocator.cc95 LargePage* page = LargePage::Create(page_backend, space, size); in AllocateLargeObject()
Dsweeper.cc572 bool VisitLargePage(LargePage& page) { in VisitLargePage()
579 LargePage::Destroy(&page); in VisitLargePage()
640 bool VisitLargePage(LargePage& page) { in VisitLargePage()
Dmarking-state.h347 ? reinterpret_cast<const LargePage*>(BasePage::FromPayload(&header)) in AccountMarkedBytes()

12