Home
last modified time | relevance | path

Searched refs:Allocate (Results 1 – 25 of 54) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/mem/
Dtlab_allocator-inl.h47 uintptr_t TlabAllocator::Allocate(size_t size, MemSpaceType space) in Allocate() function
74 uintptr_t result = youngAllocator_.Allocate(size); in AllocateInYoungSpace()
82 return youngAllocator_.Allocate(size); in AllocateInYoungSpace()
89 uintptr_t result = localSpace_->Allocate(size, true); in AllocateInCompressSpace()
99 uintptr_t result = localSpace_->Allocate(size, false); in AllocateInOldSpace()
103 result = localSpace_->Allocate(size, true); in AllocateInOldSpace()
Dallocator-inl.h56 uintptr_t BumpPointerAllocator::Allocate(size_t size) in Allocate() function
95 uintptr_t FreeListAllocator::Allocate(size_t size) in Allocate() function
97 auto ret = bpAllocator_.Allocate(size); in Allocate()
102 FreeObject *object = freeList_->Allocate(size); in Allocate()
104 ret = Allocate(object, size); in Allocate()
109 uintptr_t FreeListAllocator::Allocate(FreeObject *object, size_t size) in Allocate() function
123 auto ret = bpAllocator_.Allocate(size); in Allocate()
Dheap-inl.h42 …(object) = reinterpret_cast<TaggedObject *>((space)->Allocate(size)); …
143 auto object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in AllocateYoungOrHugeObject()
146 object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in AllocateYoungOrHugeObject()
149 object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in AllocateYoungOrHugeObject()
185 auto object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in TryAllocateYoungGeneration()
204 auto object = reinterpret_cast<TaggedObject *>(oldSpace_->Allocate(size)); in AllocateOldOrHugeObject()
223 auto object = reinterpret_cast<TaggedObject *>(readOnlySpace_->Allocate(size)); in AllocateReadOnlyOrHugeObject()
252 auto object = reinterpret_cast<TaggedObject *>(nonMovableSpace_->Allocate(size)); in AllocateClassClass()
267 auto *object = reinterpret_cast<TaggedObject *>(hugeObjectSpace_->Allocate(size, thread_)); in AllocateHugeObject()
270 object = reinterpret_cast<TaggedObject *>(hugeObjectSpace_->Allocate(size, thread_)); in AllocateHugeObject()
[all …]
Dchunk.h42 [[nodiscard]] void *Allocate(size_t size) in Allocate() function
62 return static_cast<T *>(Allocate(size * sizeof(T))); in NewArray()
68 auto p = reinterpret_cast<void *>(Allocate(sizeof(T))); in New()
108 return chunk->Allocate(size); in new()
Dcaddress_allocator.h75 return static_cast<T *>(Allocate(n * sizeof(T)));
101 [[nodiscard]] void *Allocate(size_t size) in Allocate() function
119 auto p = reinterpret_cast<void *>(Allocate(sizeof(S))); in New()
137 return static_cast<T *>(Allocate(size * sizeof(T))); in AllocArray()
Dallocator.h49 inline uintptr_t Allocate(size_t size);
95 inline uintptr_t Allocate(size_t size);
133 inline uintptr_t Allocate(FreeObject *object, size_t size);
Dsparse_space.cpp57 uintptr_t SparseSpace::Allocate(size_t size, bool allowGC) in Allocate() function in panda::ecmascript::SparseSpace
59 auto object = allocator_->Allocate(size); in Allocate()
69 object = allocator_->Allocate(size); in Allocate()
74 object = allocator_->Allocate(size); in Allocate()
80 object = Allocate(size, false); in Allocate()
105 auto object = allocator_->Allocate(size); in AllocateAfterSweepingCompleted()
112 return allocator_->Allocate(size); in AllocateAfterSweepingCompleted()
565 return Allocate(size); in CheckAndAllocate()
588 uintptr_t LocalSpace::Allocate(size_t size, bool isExpand) in Allocate() function in panda::ecmascript::LocalSpace
590 auto object = allocator_->Allocate(size); in Allocate()
[all …]
Dlinear_space.cpp32 uintptr_t LinearSpace::Allocate(size_t size, bool isPromoted) in Allocate() function in panda::ecmascript::LinearSpace
34 auto object = allocator_.Allocate(size); in Allocate()
50 object = allocator_.Allocate(size); in Allocate()
64 object = allocator_.Allocate(size); in Allocate()
188 return Allocate(size, true); in AllocateSync()
Dtlab_allocator.h38 inline uintptr_t Allocate(size_t size, MemSpaceType space);
Dwork_space_chunk.h44 void *Allocate(size_t size) in Allocate() function
Dparallel_marker-inl.h212 forwardAddress = workManager_->GetTlabAllocator(threadId)->Allocate(size, COMPRESS_SPACE); in AllocateDstSpace()
219 forwardAddress = workManager_->GetTlabAllocator(threadId)->Allocate(size, SEMI_SPACE); in AllocateDstSpace()
221 … forwardAddress = workManager_->GetTlabAllocator(threadId)->Allocate(size, COMPRESS_SPACE); in AllocateDstSpace()
366 uintptr_t forwardAddress = heap_->GetReadOnlySpace()->Allocate(size); in AllocateReadOnlySpace()
378 uintptr_t forwardAddress = heap_->GetAppSpawnSpace()->Allocate(size); in AllocateAppSpawnSpace()
Dsparse_space.h66 uintptr_t Allocate(size_t size, bool allowGC = true);
238 uintptr_t Allocate(size_t size, bool isExpand = true);
Dwork_manager.cpp38 workSpace_ = ToUintPtr(GetSpaceChunk()->Allocate(WORKNODE_SPACE_SIZE));
179 workSpace_ = ToUintPtr(GetSpaceChunk()->Allocate(WORKNODE_SPACE_SIZE)); in AllocateWorkNode()
Dparallel_evacuator.cpp144 address = allocator->Allocate(size, OLD_SPACE); in EvacuateRegion()
148 address = allocator->Allocate(size, OLD_SPACE); in EvacuateRegion()
151 address = allocator->Allocate(size, SEMI_SPACE); in EvacuateRegion()
153 address = allocator->Allocate(size, OLD_SPACE); in EvacuateRegion()
Dheap_region_allocator.cpp41 …auto pool = MemMapAllocator::GetInstance()->Allocate(thread->GetThreadId(), capacity, DEFAULT_REGI… in AllocateAlignedRegion()
Dfree_object_list.h32 FreeObject *Allocate(size_t size);
Dlinear_space.h27 uintptr_t Allocate(size_t size, bool isPromoted = false);
/arkcompiler/runtime_core/static_core/runtime/include/mem/
Dallocator.h102 return Allocate(size, CalculateAllocatorAlignment(alignof(uintptr_t)), nullptr); in Alloc()
107 return Allocate(size, align, nullptr); in Alloc()
120 [[nodiscard]] virtual void *Allocate(size_t size, Alignment align,
129 …return static_cast<T *>(this->Allocate(sizeof(T) * size, CalculateAllocatorAlignment(alignof(T)), … in AllocArray()
339 void *Allocate([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in Allocate() function
347 [[nodiscard]] virtual void *Allocate(size_t size, Alignment align, panda::ManagedThread *thread,
495 …[[nodiscard]] void *Allocate(size_t size, Alignment align, [[maybe_unused]] panda::ManagedThread *… in Allocate() function
643 …[[nodiscard]] void *Allocate(size_t size, Alignment align, [[maybe_unused]] panda::ManagedThread *…
825 …[[nodiscard]] void *Allocate(size_t size, Alignment align, [[maybe_unused]] panda::ManagedThread *…
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DGC.ets187 * Allocate array of boolean and pin (GC will not move pinned array)
204 * Allocate array of byte and pin (GC will not move pinned array)
221 * Allocate array of char and pin (GC will not move pinned array)
238 * Allocate array of short and pin (GC will not move pinned array)
255 * Allocate array of int and pin (GC will not move pinned array)
272 * Allocate array of long and pin (GC will not move pinned array)
289 * Allocate array of float and pin (GC will not move pinned array)
306 * Allocate array of double and pin (GC will not move pinned array)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/gc/
Dpostpone_gc_test.ets63 // Allocate elements
79 // Allocate new object in young space
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_graph_coloring.h59 bool Allocate() override;
Dreg_alloc_base.h126 virtual bool Allocate() = 0;
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_graph_coloring.h49 bool Allocate() override;
Dreg_alloc_base.h127 virtual bool Allocate() = 0;
/arkcompiler/ets_runtime/ecmascript/serializer/
Dbase_deserializer.cpp440 res = heap_->GetHugeObjectSpace()->Allocate(objSize, thread_); in RelocateObjectAddr()
560 uintptr_t object = space->Allocate(oldSpaceSize, false); in AllocateToOldSpace()
575 uintptr_t object = space->Allocate(nonMovableSpaceSize, false); in AllocateToNonMovableSpace()
590 uintptr_t object = space->Allocate(machineCodeSpaceSize, false); in AllocateToMachineCodeSpace()

123