/ark/runtime_core/runtime/include/mem/ |
D | allocator-inl.h | 23 inline void *ObjectAllocatorBase::AllocateSafe(size_t size, Alignment align, AllocT *object_allocat… in AllocateSafe() 34 inline void *ObjectAllocatorBase::AddPoolsAndAlloc(size_t size, Alignment align, AllocT *object_all… in AddPoolsAndAlloc()
|
D | allocator.h | 260 …tual void *AllocateInLargeAllocator([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in AllocateInLargeAllocator() 434 …[[nodiscard]] void *Allocate(size_t size, Alignment align, [[maybe_unused]] panda::ManagedThread *… in Allocate() 439 …[[nodiscard]] void *AllocateLocal(size_t size, Alignment align, [[maybe_unused]] panda::ManagedThr… in AllocateLocal() 444 …odiscard]] void *AllocateNonMovable([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in AllocateNonMovable()
|
/ark/runtime_core/runtime/mem/gc/hybrid-gc/ |
D | hybrid_object_allocator.cpp | 33 void *HybridObjectAllocator::Allocate(size_t size, Alignment align, [[maybe_unused]] panda::Managed… in Allocate() 39 void *HybridObjectAllocator::AllocateInLargeAllocator(size_t size, Alignment align, BaseClass *base… in AllocateInLargeAllocator()
|
D | hybrid_object_allocator.h | 39 …odiscard]] void *AllocateNonMovable([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in AllocateNonMovable()
|
/ark/runtime_core/runtime/mem/gc/g1/ |
D | g1-allocator.cpp | 122 void *ObjectAllocatorG1<MTMode>::Allocate(size_t size, Alignment align, [[maybe_unused]] panda::Man… in Allocate() 135 void *ObjectAllocatorG1<MTMode>::AllocateNonMovable(size_t size, Alignment align, in AllocateNonMovable() 160 Alignment align = DEFAULT_ALIGNMENT; in AllocateTenured() local
|
D | g1-allocator.h | 111 … [[nodiscard]] void *AllocateLocal([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in AllocateLocal()
|
/ark/runtime_core/runtime/mem/ |
D | internal_allocator.cpp | 65 [[nodiscard]] void *InternalAllocator<Config>::Alloc(size_t size, Alignment align) in Alloc() 138 void *AllocInRunSlots(AllocatorT *runslots_allocator, size_t size, Alignment align, size_t pool_siz… in AllocInRunSlots() 165 void *InternalAllocator<Config>::AllocViaPandaAllocators(size_t size, Alignment align) in AllocViaPandaAllocators()
|
D | allocator.cpp | 71 void *ObjectAllocatorNoGen<MTMode>::Allocate(size_t size, Alignment align, in Allocate() 91 void *ObjectAllocatorNoGen<MTMode>::AllocateNonMovable(size_t size, Alignment align, panda::Managed… in AllocateNonMovable() 209 void *ObjectAllocatorGen<MTMode>::Allocate(size_t size, Alignment align, [[maybe_unused]] panda::Ma… in Allocate() 223 void *ObjectAllocatorGen<MTMode>::AllocateNonMovable(size_t size, Alignment align, in AllocateNonMovable() 253 Alignment align = DEFAULT_ALIGNMENT; in AllocateTenured() local
|
D | heap_manager.cpp | 98 ObjectHeader *HeapManager::AllocateObject(BaseClass *cls, size_t size, Alignment align, MTManagedTh… in AllocateObject() 129 void *HeapManager::TryGCAndAlloc(size_t size, Alignment align, panda::MTManagedThread *thread) in TryGCAndAlloc() 163 void *HeapManager::AllocateMemoryForObject(size_t size, Alignment align, ManagedThread *thread) in AllocateMemoryForObject() 192 ObjectHeader *HeapManager::AllocateNonMovableObject(BaseClass *cls, size_t size, Alignment align, M… in AllocateNonMovableObject()
|
D | malloc-proxy-allocator-inl.h | 39 void *MallocProxyAllocator<AllocConfigT>::Alloc(size_t size, Alignment align) in Alloc()
|
D | region_allocator-inl.h | 117 void *RegionAllocator<AllocConfigT, LockConfigT>::Alloc(size_t size, Alignment align) in Alloc() 349 …onmovableAllocator<AllocConfigT, LockConfigT, ObjectAllocator>::Alloc(size_t size, Alignment align) in Alloc() 370 … Alignment align) in NewRegionAndRetryAlloc()
|
D | pygote_space_allocator.h | 66 bool CanAllocNonMovable(size_t size, Alignment align) in CanAllocNonMovable()
|
D | region_space-inl.h | 58 void *Region::Alloc(size_t size, Alignment align) in Alloc()
|
D | humongous_obj_allocator-inl.h | 45 … *HumongousObjAllocator<AllocConfigT, LockConfigT>::Alloc(const size_t size, const Alignment align) in Alloc() 319 size_t size, Alignment align) in Alloc()
|
D | freelist_allocator-inl.h | 47 void *FreeListAllocator<AllocConfigT, LockConfigT>::Alloc(size_t size, Alignment align) in Alloc() 554 … Alignment align) in GetFromSegregatedList()
|
D | pygote_space_allocator-inl.h | 90 inline void *PygoteSpaceAllocator<AllocConfigT>::Alloc(size_t size, Alignment align) in Alloc()
|
D | runslots_allocator-inl.h | 48 inline void *RunSlotsAllocator<AllocConfigT, LockConfigT>::Alloc(size_t size, Alignment align) in Alloc()
|
/ark/runtime_core/libpandabase/tests/ |
D | arena_allocator_test.cpp | 78 for (Alignment align = LOG_ALIGN_MIN; align <= LOG_ALIGN_MAX; in AllocateWithAlignment() local 121 …size_t align = MIN_LOG_ALIGN_SIZE_T + random_value % (MAX_LOG_ALIGN_SIZE_T - MIN_LOG_ALIGN_SIZE_T); in AllocateWithDiffAlignment() local 444 for (Alignment align = LOG_ALIGN_MIN; align <= LOG_ALIGN_MAX; in TEST_F() local 461 for (Alignment align = LOG_ALIGN_MIN; align <= LOG_ALIGN_MAX; in TEST_F() local
|
/ark/runtime_core/runtime/tests/ |
D | tlab_test.cpp | 90 Alignment align = DEFAULT_ALIGNMENT; in TEST_F() local
|
D | bump_allocator_test.cpp | 81 Alignment align = DEFAULT_ALIGNMENT; in TEST_F() local
|
D | allocator_test_base.h | 535 for (size_t align = LOG_ALIGN_MIN_VALUE; align <= LOG_ALIGN_MAX_VALUE; ++align, ++k) { in AlignedAllocFreeTest() local 547 for (size_t align = LOG_ALIGN_MIN_VALUE; align <= LOG_ALIGN_MAX_VALUE; ++align, ++k) { in AlignedAllocFreeTest() local 830 size_t align = RandFromRange(LOG_ALIGN_MIN_VALUE, LOG_ALIGN_MAX_VALUE); in ObjectIteratingSetUp() local
|
/ark/runtime_core/libpandabase/mem/ |
D | arena_allocator.cpp | 91 void *ArenaAllocatorT<use_oom_handler>::Alloc(size_t size, Alignment align) in Alloc()
|