Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/heap/
Dsweeper.cc230 Address free_start, Address free_end, Page* page, Space* space, in FreeAndProcessFreedMemory() argument
233 CHECK_GT(free_end, free_start); in FreeAndProcessFreedMemory()
235 size_t size = static_cast<size_t>(free_end - free_start); in FreeAndProcessFreedMemory()
237 ZapCode(free_start, size); in FreeAndProcessFreedMemory()
244 free_start, static_cast<int>(size), clear_memory_mode); in FreeAndProcessFreedMemory()
247 reinterpret_cast<PagedSpace*>(space)->UnaccountedFree(free_start, size); in FreeAndProcessFreedMemory()
249 if (should_reduce_memory_) page->DiscardUnusedMemory(free_start, size); in FreeAndProcessFreedMemory()
255 Address free_start, Address free_end, Page* page, bool record_free_ranges, in CleanupRememberedSetEntriesForFreedMemory() argument
258 DCHECK_LE(free_start, free_end); in CleanupRememberedSetEntriesForFreedMemory()
265 RememberedSet<OLD_TO_NEW>::RemoveRange(page, free_start, free_end, in CleanupRememberedSetEntriesForFreedMemory()
[all …]
Dinvalidated-slots-inl.h64 void InvalidatedSlotsCleanup::Free(Address free_start, Address free_end) { in Free() argument
66 DCHECK_LT(free_start, free_end); in Free()
68 DCHECK_LE(last_free_, free_start); in Free()
69 last_free_ = free_start; in Free()
75 while (invalidated_start_ < free_start) { in Free()
Dlarge-spaces.cc82 void LargePage::ClearOutOfLiveRangeSlots(Address free_start) { in ClearOutOfLiveRangeSlots() argument
83 RememberedSet<OLD_TO_NEW>::RemoveRange(this, free_start, area_end(), in ClearOutOfLiveRangeSlots()
85 RememberedSet<OLD_TO_OLD>::RemoveRange(this, free_start, area_end(), in ClearOutOfLiveRangeSlots()
87 RememberedSet<OLD_TO_NEW>::RemoveRangeTyped(this, free_start, area_end()); in ClearOutOfLiveRangeSlots()
88 RememberedSet<OLD_TO_OLD>::RemoveRangeTyped(this, free_start, area_end()); in ClearOutOfLiveRangeSlots()
326 Address free_start; in FreeUnmarkedObjects() local
328 if ((free_start = current->GetAddressToShrink(object.address(), size)) != in FreeUnmarkedObjects()
331 current->ClearOutOfLiveRangeSlots(free_start); in FreeUnmarkedObjects()
333 current->size() - (free_start - current->address()); in FreeUnmarkedObjects()
335 current, free_start, bytes_to_free, in FreeUnmarkedObjects()
Dsweeper.h137 size_t FreeAndProcessFreedMemory(Address free_start, Address free_end,
145 Address free_start, Address free_end, Page* page, bool record_free_ranges,
Dinvalidated-slots.h68 inline void Free(Address free_start, Address free_end);
Dmark-compact.cc5357 Address free_start = p->area_start(); in MakeIterable() local
5364 if (free_end != free_start) { in MakeIterable()
5365 CHECK_GT(free_end, free_start); in MakeIterable()
5366 size_t size = static_cast<size_t>(free_end - free_start); in MakeIterable()
5368 p->AddressToMarkbitIndex(free_start), in MakeIterable()
5371 ZapCode(free_start, size); in MakeIterable()
5373 p->heap()->CreateFillerObjectAt(free_start, static_cast<int>(size), in MakeIterable()
5379 free_start = free_end + size; in MakeIterable()
5382 if (free_start != p->area_end()) { in MakeIterable()
5383 CHECK_GT(p->area_end(), free_start); in MakeIterable()
[all …]
Dlarge-spaces.h54 void ClearOutOfLiveRangeSlots(Address free_start);
/third_party/node/deps/v8/src/heap/cppgc/
Dexplicit-management.cc107 Address free_start = header.ObjectEnd() - size_delta; in Shrink() local
109 DCHECK_EQ(free_start, lab.start() - size_delta); in Shrink()
112 lab.Set(free_start, lab.size() + size_delta); in Shrink()
118 SetMemoryInaccessible(free_start, size_delta); in Shrink()
120 normal_space.free_list().Add({free_start, size_delta}); in Shrink()
121 NormalPage::From(&base_page)->object_start_bitmap().SetBit(free_start); in Shrink()
126 free_start, free_start + size_delta); in Shrink()
Dcompactor.cc307 Address free_start = payload + used_bytes_in_current_page_; in ReturnCurrentPageToSpace() local
308 SetMemoryInaccessible(free_start, freed_size); in ReturnCurrentPageToSpace()
309 space_->free_list().Add({free_start, freed_size}); in ReturnCurrentPageToSpace()
310 current_page_->object_start_bitmap().SetBit(free_start); in ReturnCurrentPageToSpace()
/third_party/node/deps/v8/src/utils/
Dallocation.cc286 size_t VirtualMemory::Release(Address free_start) { in Release() argument
288 DCHECK(IsAligned(free_start, page_allocator_->CommitPageSize())); in Release()
293 const size_t free_size = old_size - (free_start - region_.begin()); in Release()
294 CHECK(InVM(free_start, free_size)); in Release()
Dallocation.h271 V8_EXPORT_PRIVATE size_t Release(Address free_start);