/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | tlab_allocator-inl.h | 47 uintptr_t TlabAllocator::Allocate(size_t size, MemSpaceType space) in Allocate() function in panda::ecmascript::TlabAllocator 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() 98 // 1. Allocate from freelist in compress allocator in AllocateInOldSpace() 99 uintptr_t result = localSpace_->Allocate(size, false); in AllocateInOldSpace() 105 result = localSpace_->Allocate(size, true); in AllocateInOldSpace() 155 uintptr_t SharedTlabAllocator::Allocate(size_t size, MemSpaceType space) in Allocate() function in panda::ecmascript::SharedTlabAllocator 173 uintptr_t result = sLocalSpace_->Allocate(size, true); in AllocateInCompressSpace()
|
H A D | sparse_space.cpp | 53 uintptr_t SparseSpace::Allocate(size_t size, bool allowGC) in Allocate() function in panda::ecmascript::SparseSpace 57 LOG_ECMA(FATAL) << "Allocate must be in jsthread running state"; in Allocate() 61 auto object = allocator_->Allocate(size); in Allocate() 71 object = allocator_->Allocate(size); in Allocate() 76 object = allocator_->Allocate(size); in Allocate() 82 object = Allocate(size, false); in Allocate() 106 auto object = allocator_->Allocate(size); in AllocateAfterSweepingCompleted() 113 return allocator_->Allocate(size); in AllocateAfterSweepingCompleted() 582 return Allocate(size); in CheckAndAllocate() 605 uintptr_t LocalSpace::Allocate(size_ function in panda::ecmascript::LocalSpace 671 uintptr_t MachineCodeSpace::Allocate(size_t size, bool allowGC) Allocate() function in panda::ecmascript::MachineCodeSpace 676 uintptr_t MachineCodeSpace::Allocate(size_t size, MachineCodeDesc *desc, bool allowGC) Allocate() function in panda::ecmascript::MachineCodeSpace [all...] |
H A D | chunk.h | 41 [[nodiscard]] void *Allocate(size_t size) in Allocate() function in panda::ecmascript::Chunk 61 return static_cast<T *>(Allocate(size * sizeof(T))); in NewArray() 67 auto p = reinterpret_cast<void *>(Allocate(sizeof(T))); in New() 107 return chunk->Allocate(size); in operator new()
|
H A D | caddress_allocator.h | 76 return static_cast<T *>(Allocate(n * sizeof(T))); in allocate() 102 [[nodiscard]] void *Allocate(size_t size) in Allocate() function in panda::ecmascript::CAddressAllocator 120 auto p = reinterpret_cast<void *>(Allocate(sizeof(S))); in New() 138 return static_cast<T *>(Allocate(size * sizeof(T))); in AllocArray()
|
H A D | allocator-inl.h | 61 uintptr_t BumpPointerAllocator::Allocate(size_t size) in Allocate() function in panda::ecmascript::BumpPointerAllocator 105 uintptr_t FreeListAllocator<T>::Allocate(size_t size) in Allocate() function in panda::ecmascript::FreeListAllocator 107 auto ret = bpAllocator_.Allocate(size); in Allocate() 112 T *object = freeList_->Allocate(size); in Allocate() 114 ret = Allocate(object, size); in Allocate() 121 uintptr_t FreeListAllocator<T>::Allocate(T *object, size_t size) in Allocate() function in panda::ecmascript::FreeListAllocator 138 auto ret = bpAllocator_.Allocate(size); in Allocate()
|
H A D | linear_space.cpp | 31 uintptr_t LinearSpace::Allocate(size_t size, bool isPromoted) in Allocate() function in panda::ecmascript::LinearSpace 35 LOG_ECMA(FATAL) << "Allocate must be in jsthread running state"; in Allocate() 39 auto object = allocator_.Allocate(size); in Allocate() 55 object = allocator_.Allocate(size); in Allocate() 70 object = allocator_.Allocate(size); in Allocate() 217 return Allocate(size); in AllocateSync() 220 uintptr_t EdenSpace::Allocate(size_t size) in Allocate() function in panda::ecmascript::EdenSpace 225 auto object = allocator_.Allocate(size); in Allocate() 239 object = allocator_.Allocate(size); in Allocate() 378 return Allocate(siz in AllocateSync() [all...] |
H A D | thread_local_allocation_buffer.h | 37 uintptr_t Allocate(size_t size) in Allocate() function in panda::ecmascript::ThreadLocalAllocationBuffer 39 return bpAllocator_.Allocate(size); in Allocate()
|
H A D | tlab_allocator.h | 46 inline uintptr_t Allocate(size_t size, MemSpaceType space); 79 inline uintptr_t Allocate(size_t size, MemSpaceType space);
|
H A D | allocator.h | 50 inline uintptr_t Allocate(size_t size); 98 inline uintptr_t Allocate(size_t size); 136 inline uintptr_t Allocate(T *object, size_t size);
|
H A D | heap-inl.h | 48 (object) = reinterpret_cast<TaggedObject *>((space)->Allocate(size)); \ 57 (object) = reinterpret_cast<TaggedObject *>((space)->Allocate(thread, size)); \ 66 (object) = reinterpret_cast<TaggedObject *>((space)->Allocate(size, desc)); \ 75 (object) = reinterpret_cast<TaggedObject *>((space)->Allocate(size)); \ 236 auto object = reinterpret_cast<TaggedObject *>(edenSpace_->Allocate(size)); in AllocateInGeneralNewSpace() 241 return reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in AllocateInGeneralNewSpace() 300 auto object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in TryAllocateYoungGeneration() 323 object = reinterpret_cast<TaggedObject *>(oldSpace_->Allocate(size)); in AllocateOldOrHugeObject() 356 object = reinterpret_cast<TaggedObject *>(readOnlySpace_->Allocate(size)); in AllocateReadOnlyOrHugeObject() 399 auto object = reinterpret_cast<TaggedObject *>(nonMovableSpace_->Allocate(siz in AllocateClassClass() [all...] |
H A D | sparse_space.h | 67 uintptr_t Allocate(size_t size, bool allowGC = true); 260 uintptr_t Allocate(size_t size, bool isExpand = true); 279 uintptr_t Allocate(size_t size, bool allowGC = true); 280 uintptr_t Allocate(size_t size, MachineCodeDesc *desc, bool allowGC = true);
|
H A D | space.cpp | 169 uintptr_t HugeMachineCodeSpace::Allocate(size_t objectSize, JSThread *thread, void *pDesc, in Allocate() function in panda::ecmascript::HugeMachineCodeSpace 177 LOG_ECMA(FATAL) << "Allocate must be in jsthread running state"; in Allocate() 192 LOG_GC(ERROR) << "HugeMachineCodeSpace::Allocate: region is nullptr"; in Allocate() 204 uintptr_t HugeMachineCodeSpace::Allocate(size_t objectSize, JSThread *thread) in Allocate() function in panda::ecmascript::HugeMachineCodeSpace 207 return HugeObjectSpace::Allocate(objectSize, thread); in Allocate() 210 uintptr_t HugeObjectSpace::Allocate(size_t objectSize, JSThread *thread, AllocateEventType allocType) in Allocate() function in panda::ecmascript::HugeObjectSpace 214 LOG_ECMA(FATAL) << "Allocate must be in jsthread running state"; in Allocate()
|
H A D | space.h | 300 uintptr_t Allocate(size_t objectSize, JSThread *thread, AllocateEventType allocType = AllocateEventType::NORMAL); 320 uintptr_t Allocate(size_t objectSize, JSThread *thread, void *desc, 322 uintptr_t Allocate(size_t objectSize, JSThread *thread);
|
H A D | work_space_chunk.h | 44 void *Allocate(size_t size) in Allocate() function in panda::ecmascript::WorkSpaceChunk
|
H A D | linear_space.h | 27 uintptr_t Allocate(size_t size, bool isPromoted = false); 89 uintptr_t Allocate(size_t size);
|
H A D | free_object_list.cpp | 46 T *FreeObjectList<T>::Allocate(size_t size) in Allocate() function in panda::ecmascript::FreeObjectList 88 template FreeObject *FreeObjectList<FreeObject>::Allocate(size_t size); 89 template MemDesc *FreeObjectList<MemDesc>::Allocate(size_t size);
|
H A D | parallel_marker-inl.h | 281 forwardAddress = workManager_->GetTlabAllocator(threadId)->Allocate(size, COMPRESS_SPACE); in AllocateDstSpace() 288 forwardAddress = workManager_->GetTlabAllocator(threadId)->Allocate(size, SEMI_SPACE); in AllocateDstSpace() 290 forwardAddress = workManager_->GetTlabAllocator(threadId)->Allocate(size, COMPRESS_SPACE); in AllocateDstSpace() 478 uintptr_t forwardAddress = heap_->GetReadOnlySpace()->Allocate(size); in AllocateReadOnlySpace() 490 uintptr_t forwardAddress = heap_->GetAppSpawnSpace()->Allocate(size); in AllocateAppSpawnSpace()
|
H A D | jit_fort.cpp | 92 uintptr_t JitFort::Allocate(MachineCodeDesc *desc) in Allocate() function in panda::ecmascript::JitFort 97 auto ret = allocator_->Allocate(size); in Allocate() 100 LOG_JIT(DEBUG) << "JitFort: Allocate - AddRegion"; in Allocate() 101 ret = allocator_->Allocate(size); in Allocate() 105 LOG_JIT(DEBUG) << "JitFort:: Allocate return nullptr for size " << size; in Allocate() 113 LOG_JIT(DEBUG) << "JitFort:: Allocate " << (void *)ret << " - " << (void *)(ret+size-1) << in Allocate() 139 // Called by Jit Compile thread during JitFort Allocate to mark Fort buf
|
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/ |
H A D | shared_space.cpp | 58 uintptr_t SharedSparseSpace::Allocate(JSThread *thread, size_t size, bool allowGC) in Allocate() function in panda::ecmascript::SharedSparseSpace 62 LOG_ECMA(FATAL) << "Allocate must be in jsthread running state"; in Allocate() 89 object = Allocate(thread, size, false); in Allocate() 112 LOG_ECMA(FATAL) << "Allocate must be in jsthread running state"; in AllocateNoGCAndExpand() 127 uintptr_t object = allocator_->Allocate(size); in TryAllocate() 137 auto object = allocator_->Allocate(size); in AllocateWithExpand() 139 object = allocator_->Allocate(size); in AllocateWithExpand() 185 object = allocator_->Allocate(size); in AllocateAfterSweepingCompleted() 190 object = allocator_->Allocate(size); in AllocateAfterSweepingCompleted() 198 object = allocator_->Allocate(siz in AllocateAfterSweepingCompleted() 487 uintptr_t SharedLocalSpace::Allocate(size_t size, bool isExpand) Allocate() function in panda::ecmascript::SharedLocalSpace 528 uintptr_t SharedReadOnlySpace::Allocate(JSThread *thread, size_t size) Allocate() function in panda::ecmascript::SharedReadOnlySpace 589 uintptr_t SharedHugeObjectSpace::Allocate(JSThread *thread, size_t objectSize, AllocateEventType allocType) Allocate() function in panda::ecmascript::SharedHugeObjectSpace [all...] |
H A D | shared_space.h | 45 uintptr_t Allocate(JSThread *thread, size_t size, bool allowGC = true); 176 uintptr_t Allocate(size_t size, bool isExpand = true); 206 uintptr_t Allocate(JSThread *thread, size_t size); 226 uintptr_t Allocate(JSThread *thread, size_t objectSize, AllocateEventType allocType = AllocateEventType::NORMAL);
|
/arkcompiler/runtime_core/static_core/runtime/include/mem/ |
H A D | allocator.h | 102 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, [[maybe_unused]] ark::ManagedThread *thread) = 0; 128 return static_cast<T *>(this->Allocate(sizeof(T) * size, CalculateAllocatorAlignment(alignof(T)), nullptr)); in AllocArray() 338 void *Allocate([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, 342 << "Don't use common Allocate method for object allocation without object initialization argument"; 346 [[nodiscard]] virtual void *Allocate(size_t size, Alignment align, ark::ManagedThread *thread, 494 [[nodiscard]] void *Allocate(size_t size, Alignment align, [[maybe_unused]] ark::ManagedThread *thread) final 642 [[nodiscard]] void *Allocate(size_t size, Alignment align, [[maybe_unused]] ark::ManagedThread *thread, 818 [[nodiscard]] void *Allocate(size_ [all...] |
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
H A D | reg_alloc_graph_coloring.h | 59 bool Allocate() override;
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | jit_fort_test.cpp | 68 jitFort->Allocate(&desc); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/ |
H A D | reg_alloc_graph_coloring.h | 50 bool Allocate() override;
|
/arkcompiler/ets_runtime/ecmascript/serializer/ |
H A D | base_deserializer.cpp | 412 res = heap_->GetHugeObjectSpace()->Allocate(objSize, thread_, AllocateEventType::DESERIALIZE); in RelocateObjectAddr() 438 res = sheap_->GetHugeObjectSpace()->Allocate(thread_, objSize, AllocateEventType::DESERIALIZE); in RelocateObjectAddr() 636 uintptr_t object = space->Allocate(oldSpaceSize, false); in AllocateToOldSpace() 653 uintptr_t object = space->Allocate(nonMovableSpaceSize, false); in AllocateToNonMovableSpace() 670 uintptr_t object = space->Allocate(machineCodeSpaceSize, false); in AllocateToMachineCodeSpace()
|