Home
last modified time | relevance | path

Searched refs:MemoryAllocator (Results 1 – 20 of 20) sorted by relevance

/third_party/node/deps/v8/src/heap/
Dmemory-allocator.cc30 size_t MemoryAllocator::commit_page_size_ = 0;
31 size_t MemoryAllocator::commit_page_size_bits_ = 0;
33 MemoryAllocator::MemoryAllocator(Isolate* isolate, in MemoryAllocator() function in v8::internal::MemoryAllocator
48 void MemoryAllocator::TearDown() { in TearDown()
65 class MemoryAllocator::Unmapper::UnmapFreeMemoryJob : public JobTask {
106 void MemoryAllocator::Unmapper::FreeQueuedChunks() { in FreeQueuedChunks()
123 void MemoryAllocator::Unmapper::CancelAndWaitForPendingTasks() { in CancelAndWaitForPendingTasks()
133 void MemoryAllocator::Unmapper::PrepareForGC() { in PrepareForGC()
138 void MemoryAllocator::Unmapper::EnsureUnmappingCompleted() { in EnsureUnmappingCompleted()
143 void MemoryAllocator::Unmapper::PerformFreeMemoryOnQueuedNonRegularChunks( in PerformFreeMemoryOnQueuedNonRegularChunks()
[all …]
Dmemory-allocator.h39 class MemoryAllocator {
47 Unmapper(Heap* heap, MemoryAllocator* allocator) in Unmapper()
129 MemoryAllocator* const allocator_;
134 friend class MemoryAllocator; variable
177 V8_EXPORT_PRIVATE MemoryAllocator(Isolate* isolate,
187 MemoryAllocator::AllocationMode alloc_mode, Space* space,
199 V8_EXPORT_PRIVATE void Free(MemoryAllocator::FreeMode mode,
417 DISALLOW_IMPLICIT_CONSTRUCTORS(MemoryAllocator);
Dmemory-chunk-layout.cc19 MemoryAllocator::GetCommitPageSize()); in CodePageGuardStartOffset()
23 return MemoryAllocator::GetCommitPageSize(); in CodePageGuardSize()
36 static_cast<int>(MemoryAllocator::GetCommitPageSize()); in ObjectEndOffsetInCodePage()
Dmemory-chunk.cc23 MemoryAllocator::ComputeDiscardMemoryArea(addr, size); in DiscardUnusedMemory()
25 MemoryAllocator* memory_allocator = heap_->memory_allocator(); in DiscardUnusedMemory()
65 size_t page_size = MemoryAllocator::GetCommitPageSize(); in DecrementWriteUnprotectCounterAndMaybeSetPermissions()
93 size_t page_size = MemoryAllocator::GetCommitPageSize(); in SetCodeModificationPermissions()
164 size_t page_size = MemoryAllocator::GetCommitPageSize(); in MemoryChunk()
182 MemoryAllocator::GetCommitPageSizeBits(), size()); in MemoryChunk()
202 return active_system_pages_.Size(MemoryAllocator::GetCommitPageSizeBits()); in CommittedPhysicalMemory()
Dread-only-spaces.h23 class MemoryAllocator; variable
185 V8_EXPORT_PRIVATE virtual void TearDown(MemoryAllocator* memory_allocator);
240 void SetPermissionsForPages(MemoryAllocator* memory_allocator,
293 void TearDown(MemoryAllocator* memory_allocator) override;
Dnew-spaces.cc74 MemoryAllocator::FreeMode::kConcurrentlyAndPool, current_page); in EnsureCurrentCapacity()
84 MemoryAllocator::AllocationMode::kUsePool, this, NOT_EXECUTABLE); in EnsureCurrentCapacity()
129 MemoryAllocator::AllocationMode::kUsePool, this, NOT_EXECUTABLE); in Commit()
156 MemoryAllocator::FreeMode::kConcurrentlyAndPool, chunk); in Uncommit()
191 MemoryAllocator::AllocationMode::kUsePool, this, NOT_EXECUTABLE); in GrowTo()
215 MemoryAllocator::FreeMode::kConcurrentlyAndPool, last); in RewindPages()
340 MemoryAllocator::GetCommitPageSizeBits()); in AddRangeToActiveSystemPages()
342 MemoryAllocator::GetCommitPageSize()); in AddRangeToActiveSystemPages()
Dpaged-spaces.cc110 heap()->memory_allocator()->Free(MemoryAllocator::FreeMode::kImmediately, in TearDown()
347 MemoryAllocator::AllocationMode::kRegular, this, executable()); in Expand()
359 MemoryAllocator::AllocationMode::kRegular, this, executable()); in ExpandBackground()
519 heap()->memory_allocator()->Free(MemoryAllocator::FreeMode::kConcurrently, in ReleasePage()
1019 MemoryAllocator::GetCommitPageSizeBits()); in AddRangeToActiveSystemPages()
1022 MemoryAllocator::GetCommitPageSize()); in AddRangeToActiveSystemPages()
1030 MemoryAllocator::GetCommitPageSize()); in ReduceActiveSystemPages()
Dread-only-spaces.cc301 void SharedReadOnlySpace::TearDown(MemoryAllocator* memory_allocator) { in TearDown()
310 void ReadOnlySpace::TearDown(MemoryAllocator* memory_allocator) { in TearDown()
351 void ReadOnlySpace::SetPermissionsForPages(MemoryAllocator* memory_allocator, in SetPermissionsForPages()
731 MemoryAllocator::GetCommitPageSize()); in ShrinkToHighWaterMark()
733 DCHECK_EQ(0u, unused % MemoryAllocator::GetCommitPageSize()); in ShrinkToHighWaterMark()
Dlarge-spaces.cc75 MemoryAllocator::GetCommitPageSize()); in GetAddressToShrink()
124 heap()->memory_allocator()->Free(MemoryAllocator::FreeMode::kImmediately, in TearDown()
342 heap()->memory_allocator()->Free(MemoryAllocator::FreeMode::kConcurrently, in FreeUnmarkedObjects()
566 heap()->memory_allocator()->Free(MemoryAllocator::FreeMode::kConcurrently, in FreeDeadObjects()
Dspaces.cc149 MemoryAllocator::GetCommitPageSize()); in ShrinkToHighWaterMark()
151 DCHECK_EQ(0u, unused % MemoryAllocator::GetCommitPageSize()); in ShrinkToHighWaterMark()
Dlarge-spaces.h60 friend class MemoryAllocator; variable
Dcode-range.cc96 return kReservedCodeRangePages * MemoryAllocator::GetCommitPageSize(); in GetWritableReservedAreaSize()
Dmemory-chunk.h299 friend class MemoryAllocator; variable
Dsweeper.cc356 MemoryAllocator::GetCommitPageSizeBits(), Page::kPageSize); in RawSweep()
416 MemoryAllocator::GetCommitPageSizeBits()); in RawSweep()
Dbasic-memory-chunk.h373 friend class MemoryAllocator; variable
Dheap.h94 class MemoryAllocator; variable
864 MemoryAllocator* memory_allocator() { return memory_allocator_.get(); } in memory_allocator()
865 const MemoryAllocator* memory_allocator() const { in memory_allocator()
2298 std::unique_ptr<MemoryAllocator> memory_allocator_;
Dspaces.h333 friend class MemoryAllocator;
Dheap.cc5737 new MemoryAllocator(isolate_, code_page_allocator, MaxReserved())); in SetUp()
5921 MemoryAllocator::InitializeOncePerProcess(); in InitializeOncePerProcess()
/third_party/vk-gl-cts/modules/egl/
DteglMemoryStressTests.cpp69 class MemoryAllocator class
72MemoryAllocator (EglTestContext& eglTestCtx, EGLDisplay display, EGLConfig config, int seed, Obj…
73 ~MemoryAllocator (void);
105 MemoryAllocator::MemoryAllocator (EglTestContext& eglTestCtx, EGLDisplay display, EGLConfig config,… in MemoryAllocator() function in deqp::egl::__anon168852920111::MemoryAllocator
123 MemoryAllocator::~MemoryAllocator (void) in ~MemoryAllocator()
138 bool MemoryAllocator::allocateUntilFailure (void) in allocateUntilFailure()
182 void MemoryAllocator::allocatePBuffer (void) in allocatePBuffer()
248 void MemoryAllocator::allocateContext (void) in allocateContext()
335 MemoryAllocator* m_allocator;
401 …m_allocator = new MemoryAllocator(m_eglTestCtx, m_display, m_config, m_seed, m_spec.types, m_spec.… in iterate()
/third_party/mindspore/patches/
D0005-micro-for-ohos.patch14725 + auto packed_weight_str = MemoryAllocator::GetInstance()->GetRuntimeAddr(static_cast<float16 *>(p…
14743 + auto bias_data_str = MemoryAllocator::GetInstance()->GetRuntimeAddr(static_cast<float16 *>(bia…
15244 + auto weight_i_str = MemoryAllocator::GetInstance()->GetRuntimeAddr(static_cast<float16 *>(weight…
15245 + auto weight_h_str = MemoryAllocator::GetInstance()->GetRuntimeAddr(static_cast<float16 *>(weight…
15246 + auto weight_pro_str = MemoryAllocator::GetInstance()->GetRuntimeAddr(static_cast<float16 *>(weig…
15247 + auto input_bias_str = MemoryAllocator::GetInstance()->GetRuntimeAddr(static_cast<float16 *>(inpu…
15248 + auto state_bias_str = MemoryAllocator::GetInstance()->GetRuntimeAddr(static_cast<float16 *>(hh_b…
15249 + auto pro_bias_str = MemoryAllocator::GetInstance()->GetRuntimeAddr(static_cast<float16 *>(projec…
15322 + auto weight_i_str = MemoryAllocator::GetInstance()->GetRuntimeAddr(input_tensors_[FOURTH_INPUT]);
15324 + auto packed_weight_i_str = MemoryAllocator::GetInstance()->GetRuntimeAddr(reinterpret_cast<float…
[all …]