/arkcompiler/runtime_core/static_core/runtime/tests/intrusive-tests/interrupt_release_pages_test/ |
H A D | interrupt_release_pages_test.cpp | 62 auto *arr = mem::ObjectAllocator::AllocArray(100_MB, ClassRoot::ARRAY_U1, false); in WarmUpMmapMemPool() 65 arr = mem::ObjectAllocator::AllocArray(100_KB, ClassRoot::ARRAY_U1, false); in WarmUpMmapMemPool() 88 auto *arr = mem::ObjectAllocator::AllocArray(300_MB, ClassRoot::ARRAY_U1, false); in TEST_F() 97 arr = mem::ObjectAllocator::AllocArray(1_KB, ClassRoot::ARRAY_U1, false); in TEST_F() 101 arr = mem::ObjectAllocator::AllocArray(200_MB, ClassRoot::ARRAY_U1, false); in TEST_F()
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | g1gc_test.cpp | 168 VMHandle<ObjectHeader> young(thread, ObjectAllocator::AllocArray(0, ClassRoot::ARRAY_U8, false)); in TEST_F() 170 VMHandle<ObjectHeader> nonmovable(thread, ObjectAllocator::AllocArray(0, ClassRoot::ARRAY_U8, true)); in TEST_F() 172 VMHandle<ObjectHeader> humongous(thread, ObjectAllocator::AllocArray(humongousLen, ClassRoot::ARRAY_U8, false)); in TEST_F() 203 ObjectAllocator::AllocArray(GetHumongousArrayLength(ClassRoot::ARRAY_U8), ClassRoot::ARRAY_U8, false); in TEST_F() 256 ObjectAllocator::AllocArray(arrayLength, ClassRoot::ARRAY_STRING, false)); in TEST_F() 292 VMHandle<coretypes::Array>(thread, ObjectAllocator::AllocArray(GetHumongousArrayLength(ClassRoot::ARRAY_STRING), in TEST_F() 294 nonmovable = VMHandle<coretypes::Array>(thread, ObjectAllocator::AllocArray(1, ClassRoot::ARRAY_STRING, true)); in TEST_F() 414 ObjectHeader *dummy = ObjectAllocator::AllocArray(nonmovableLen, ClassRoot::ARRAY_U8, true); 418 VMHandle<ObjectHeader>(thread, ObjectAllocator::AllocArray(nonmovableLen, ClassRoot::ARRAY_U8, true)); 426 VMHandle<ObjectHeader>(thread, ObjectAllocator::AllocArray(humongousLe [all...] |
H A D | epsilon_gcs_test.cpp | 84 objVector.emplace_back(ObjectAllocator::AllocArray(GetAllocator<T>()->GetRegularObjectMaxSize() * 0.8F, in AllocObjectsForTest() 87 ObjectAllocator::AllocArray(GetAllocator<T>()->GetLargeObjectMaxSize(), ClassRoot::ARRAY_U8, false)); in AllocObjectsForTest() 88 objVector.emplace_back(ObjectAllocator::AllocArray(GetAllocator<T>()->GetRegularObjectMaxSize() * 0.5F, in AllocObjectsForTest() 144 thread, ObjectAllocator::AllocArray(NUM_OF_ELEMS_CHECKED, ClassRoot::ARRAY_STRING, true)); in TEST_F() 261 nonmovable = VMHandle<coretypes::Array>(thread, ObjectAllocator::AllocArray(2U, ClassRoot::ARRAY_STRING, true)); in TEST_F()
|
H A D | gc_log_test.cpp | 186 VMHandle<coretypes::Array>(thread, objectAllocator.AllocArray(2U, ClassRoot::ARRAY_STRING, false)); 223 holder = VMHandle<coretypes::Array>(thread, objectAllocator.AllocArray(4U, ClassRoot::ARRAY_STRING, false)); 240 current = VMHandle<ObjectHeader>(thread, objectAllocator.AllocArray(smallLen, ClassRoot::ARRAY_U8, false));
|
H A D | test_utils.h | 55 static coretypes::Array *AllocArray(size_t length, ClassRoot classRoot, bool nonmovable, bool pinned = false) in AllocArray() function in ark::mem::ObjectAllocator
|
H A D | internal_allocator_test.cpp | 165 auto *p = allocator_->AllocArray<S>(1); in TEST_F()
|
H A D | gc_trigger_test.cpp | 192 thread, ark::mem::ObjectAllocator::AllocArray(ARRAY_LENGTH, ClassRoot::ARRAY_STRING, false)); in TEST()
|
H A D | explicit_gc_test.cpp | 97 holder = VMHandle<coretypes::Array>(thread, allocator.AllocArray(2U, ClassRoot::ARRAY_STRING, false)); in TEST_F()
|
/arkcompiler/runtime_core/static_core/runtime/mem/ |
H A D | malloc-proxy-allocator.h | 50 T *AllocArray(size_t size) in AllocArray() function in ark::mem::MallocProxyAllocator
|
H A D | runslots_allocator.h | 82 [[nodiscard]] T *AllocArray(size_t arrLength); 442 T *RunSlotsAllocator<AllocConfigT, LockConfigT>::AllocArray(size_t arrLength) in AllocArray() function in ark::mem::RunSlotsAllocator
|
H A D | internal_allocator.h | 78 [[nodiscard]] T *AllocArray(size_t size);
|
H A D | allocator_adapter.h | 114 return allocator_->AllocArray<T>(size); in allocate()
|
H A D | internal_allocator-inl.h | 31 T *InternalAllocator<CONFIG>::AllocArray(size_t size) in AllocArray() function in ark::mem::InternalAllocator
|
H A D | humongous_obj_allocator.h | 74 [[nodiscard]] T *AllocArray(size_t arrLength);
|
H A D | runslots_allocator_stl_adapter.h | 140 return allocator_->template AllocArray<T>(n); in allocate()
|
H A D | region_allocator.h | 183 T *AllocArray(size_t arrLength) in AllocArray() function in ark::mem::final 608 T *AllocArray(size_t arrLength) in AllocArray() function in ark::mem::final
|
/arkcompiler/runtime_core/libpandabase/mem/ |
H A D | arena_allocator.h | 107 [[nodiscard]] T *AllocArray(size_t arr_length); 238 T *ArenaAllocatorT<use_oom_handler>::AllocArray(size_t arr_length) in AllocArray() function in panda::ArenaAllocatorT
|
H A D | arena_allocator_stl_adapter.h | 123 return allocator_->template AllocArray<T>(n); in allocate()
|
/arkcompiler/runtime_core/static_core/libpandabase/mem/ |
H A D | arena_allocator.h | 105 [[nodiscard]] T *AllocArray(size_t arrLength); 236 T *ArenaAllocatorT<USE_OOM_HANDLER>::AllocArray(size_t arrLength) in AllocArray() function in ark::ArenaAllocatorT
|
H A D | arena_allocator_stl_adapter.h | 127 return allocator_->template AllocArray<T>(n); in allocate()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
H A D | ets_itable_builder.cpp | 55 Span<ITable::Entry> itable {interfaces.empty() ? nullptr : allocator->AllocArray<ITable::Entry>(interfaces.size()), in LinearizeITable() 126 methodsAlloc = classLinker->GetAllocator()->AllocArray<Method *>(methods.size()); in Build()
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | itable.h | 55 entry.methods_ = {allocator->AllocArray<Method *>(methods_.size()), methods_.size()}; in Copy()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | caddress_allocator.h | 136 [[nodiscard]] T *AllocArray(size_t size) in AllocArray() function in panda::ecmascript::CAddressAllocator
|
H A D | chunk_allocator.h | 121 [[nodiscard]] T *AllocArray(size_t size) in AllocArray() function in panda::ecmascript::ChunkAllocator
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/js_proxy/ |
H A D | js_proxy.cpp | 77 Span<Method> proxyMethods {classLinker->GetAllocator()->AllocArray<Method>(numTargets), numTargets}; in Create()
|