/arkcompiler/ets_runtime/ecmascript/mem/ |
D | tlab_allocator-inl.h | 47 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()
|
D | allocator-inl.h | 56 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()
|
D | heap-inl.h | 42 …(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 …]
|
D | chunk.h | 42 [[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()
|
D | caddress_allocator.h | 75 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()
|
D | allocator.h | 49 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);
|
D | sparse_space.cpp | 57 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 …]
|
D | linear_space.cpp | 32 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()
|
D | tlab_allocator.h | 38 inline uintptr_t Allocate(size_t size, MemSpaceType space);
|
D | work_space_chunk.h | 44 void *Allocate(size_t size) in Allocate() function
|
D | parallel_marker-inl.h | 212 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()
|
D | sparse_space.h | 66 uintptr_t Allocate(size_t size, bool allowGC = true); 238 uintptr_t Allocate(size_t size, bool isExpand = true);
|
D | work_manager.cpp | 38 workSpace_ = ToUintPtr(GetSpaceChunk()->Allocate(WORKNODE_SPACE_SIZE)); 179 workSpace_ = ToUintPtr(GetSpaceChunk()->Allocate(WORKNODE_SPACE_SIZE)); in AllocateWorkNode()
|
D | parallel_evacuator.cpp | 144 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()
|
D | heap_region_allocator.cpp | 41 …auto pool = MemMapAllocator::GetInstance()->Allocate(thread->GetThreadId(), capacity, DEFAULT_REGI… in AllocateAlignedRegion()
|
D | free_object_list.h | 32 FreeObject *Allocate(size_t size);
|
D | linear_space.h | 27 uintptr_t Allocate(size_t size, bool isPromoted = false);
|
/arkcompiler/runtime_core/static_core/runtime/include/mem/ |
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, 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/ |
D | GC.ets | 187 * 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/ |
D | postpone_gc_test.ets | 63 // Allocate elements 79 // Allocate new object in young space
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | reg_alloc_graph_coloring.h | 59 bool Allocate() override;
|
D | reg_alloc_base.h | 126 virtual bool Allocate() = 0;
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/ |
D | reg_alloc_graph_coloring.h | 49 bool Allocate() override;
|
D | reg_alloc_base.h | 127 virtual bool Allocate() = 0;
|
/arkcompiler/ets_runtime/ecmascript/serializer/ |
D | base_deserializer.cpp | 440 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()
|