Home
last modified time | relevance | path

Searched refs:memory_allocator (Results 1 – 15 of 15) sorted by relevance

/third_party/node/deps/v8/src/heap/
Dread-only-spaces.cc151 ->memory_allocator() in CreateReadOnlySpace()
259 heap->read_only_space()->TearDown(heap->memory_allocator()); in ReinstallReadOnlySpace()
301 void SharedReadOnlySpace::TearDown(MemoryAllocator* memory_allocator) { in TearDown() argument
310 void ReadOnlySpace::TearDown(MemoryAllocator* memory_allocator) { in TearDown() argument
312 memory_allocator->FreeReadOnlyPage(chunk); in TearDown()
351 void ReadOnlySpace::SetPermissionsForPages(MemoryAllocator* memory_allocator, in SetPermissionsForPages() argument
357 memory_allocator->page_allocator(NOT_EXECUTABLE); in SetPermissionsForPages()
407 auto* memory_allocator = heap()->memory_allocator(); in Seal() local
413 memory_allocator->UnregisterReadOnlyPage(p); in Seal()
421 SetPermissionsForPages(memory_allocator, PageAllocator::kRead); in Seal()
[all …]
Dnew-spaces.cc73 heap()->memory_allocator()->Free( in EnsureCurrentCapacity()
83 current_page = heap()->memory_allocator()->AllocatePage( in EnsureCurrentCapacity()
128 Page* new_page = heap()->memory_allocator()->AllocatePage( in Commit()
155 heap()->memory_allocator()->Free( in Uncommit()
165 heap()->memory_allocator()->unmapper()->FreeQueuedChunks(); in Uncommit()
190 Page* new_page = heap()->memory_allocator()->AllocatePage( in GrowTo()
214 heap()->memory_allocator()->Free( in RewindPages()
230 heap()->memory_allocator()->unmapper()->FreeQueuedChunks(); in ShrinkTo()
Dread-only-spaces.h185 V8_EXPORT_PRIVATE virtual void TearDown(MemoryAllocator* memory_allocator);
240 void SetPermissionsForPages(MemoryAllocator* memory_allocator,
293 void TearDown(MemoryAllocator* memory_allocator) override;
Dlarge-spaces.cc124 heap()->memory_allocator()->Free(MemoryAllocator::FreeMode::kImmediately, in TearDown()
212 LargePage* page = heap()->memory_allocator()->AllocateLargePage( in AllocateLargePage()
334 heap()->memory_allocator()->PartialFreeMemory( in FreeUnmarkedObjects()
342 heap()->memory_allocator()->Free(MemoryAllocator::FreeMode::kConcurrently, in FreeUnmarkedObjects()
566 heap()->memory_allocator()->Free(MemoryAllocator::FreeMode::kConcurrently, in FreeDeadObjects()
579 heap()->memory_allocator()->unmapper()->FreeQueuedChunks(); in FreeDeadObjects()
Dpaged-spaces.cc110 heap()->memory_allocator()->Free(MemoryAllocator::FreeMode::kImmediately, in TearDown()
346 Page* page = heap()->memory_allocator()->AllocatePage( in Expand()
358 Page* page = heap()->memory_allocator()->AllocatePage( in ExpandBackground()
519 heap()->memory_allocator()->Free(MemoryAllocator::FreeMode::kConcurrently, in ReleasePage()
526 DCHECK(heap()->memory_allocator()->IsMemoryChunkExecutable(page)); in SetReadable()
534 DCHECK(heap()->memory_allocator()->IsMemoryChunkExecutable(page)); in SetReadAndExecutable()
542 DCHECK(heap()->memory_allocator()->IsMemoryChunkExecutable(page)); in SetCodeModificationPermissions()
Dmemory-chunk.cc25 MemoryAllocator* memory_allocator = heap_->memory_allocator(); in DiscardUnusedMemory() local
27 memory_allocator->page_allocator(executable()); in DiscardUnusedMemory()
Dheap.cc371 return memory_allocator()->unmapper()->CommittedBufferedMemory(); in CommittedMemoryOfUnmapper()
398 return static_cast<size_t>(memory_allocator()->SizeExecutable()); in CommittedMemoryExecutable()
419 total += memory_allocator()->Available(); in Available()
429 return memory_allocator()->Size() + size <= MaxReserved(); in CanExpandOldGeneration()
439 memory_allocator()->Size() + size <= MaxReserved(); in CanExpandOldGenerationBackground()
511 memory_allocator()->Size() / KB, in PrintShortHeapStatistics()
512 memory_allocator()->Available() / KB); in PrintShortHeapStatistics()
575 memory_allocator()->unmapper()->NumberOfCommittedChunks(), in PrintShortHeapStatistics()
1063 memory_allocator()->unmapper()->PrepareForGC(); in GarbageCollectionPrologue()
2854 DCHECK(memory_allocator()->IsMemoryChunkExecutable(*chunk)); in ProtectUnprotectedMemoryChunks()
[all …]
Dheap-inl.h609 DCHECK(heap_->memory_allocator()->IsMemoryChunkExecutable(page)); in CodeSpaceMemoryModificationScope()
623 DCHECK(heap_->memory_allocator()->IsMemoryChunkExecutable(page)); in ~CodeSpaceMemoryModificationScope()
Dread-only-heap.cc193 read_only_space_->TearDown(heap->memory_allocator()); in OnHeapTearDown()
Dgc-tracer.cc342 current_.start_memory_size = heap_->memory_allocator()->Size(); in StartInSafepoint()
360 current_.end_memory_size = heap_->memory_allocator()->Size(); in StopInSafepoint()
818 heap_->memory_allocator()->unmapper()->NumberOfChunks()); in PrintNVP()
1051 heap_->memory_allocator()->unmapper()->NumberOfChunks(), in PrintNVP()
Dspaces.cc162 heap()->memory_allocator()->PartialFreeMemory( in ShrinkToHighWaterMark()
Dheap.h864 MemoryAllocator* memory_allocator() { return memory_allocator_.get(); } in memory_allocator() function
865 const MemoryAllocator* memory_allocator() const { in memory_allocator() function
Dmark-compact.cc3517 heap()->memory_allocator()->unmapper()->FreeQueuedChunks(); in EvacuateEpilogue()
4142 heap()->memory_allocator()->unmapper()->FreeQueuedChunks(); in Evacuate()
5497 heap()->memory_allocator()->unmapper()->FreeQueuedChunks(); in EvacuateEpilogue()
/third_party/node/deps/v8/src/extensions/
Dstatistics-extension.cc113 {heap->memory_allocator()->Size(), "total_committed_bytes"}, in GetCounters()
/third_party/node/deps/v8/src/execution/
Disolate.cc3362 heap()->memory_allocator() && RequiresCodeRange() && in ThrowInternal()