Home
last modified time | relevance | path

Searched refs:AllocArray (Results 1 - 25 of 34) sorted by relevance

12

/arkcompiler/runtime_core/static_core/runtime/tests/intrusive-tests/interrupt_release_pages_test/
H A Dinterrupt_release_pages_test.cpp62 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 Dg1gc_test.cpp168 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 Depsilon_gcs_test.cpp84 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 Dgc_log_test.cpp186 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 Dtest_utils.h55 static coretypes::Array *AllocArray(size_t length, ClassRoot classRoot, bool nonmovable, bool pinned = false) in AllocArray() function in ark::mem::ObjectAllocator
H A Dinternal_allocator_test.cpp165 auto *p = allocator_->AllocArray<S>(1); in TEST_F()
H A Dgc_trigger_test.cpp192 thread, ark::mem::ObjectAllocator::AllocArray(ARRAY_LENGTH, ClassRoot::ARRAY_STRING, false)); in TEST()
H A Dexplicit_gc_test.cpp97 holder = VMHandle<coretypes::Array>(thread, allocator.AllocArray(2U, ClassRoot::ARRAY_STRING, false)); in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/mem/
H A Dmalloc-proxy-allocator.h50 T *AllocArray(size_t size) in AllocArray() function in ark::mem::MallocProxyAllocator
H A Drunslots_allocator.h82 [[nodiscard]] T *AllocArray(size_t arrLength);
442 T *RunSlotsAllocator<AllocConfigT, LockConfigT>::AllocArray(size_t arrLength) in AllocArray() function in ark::mem::RunSlotsAllocator
H A Dinternal_allocator.h78 [[nodiscard]] T *AllocArray(size_t size);
H A Dallocator_adapter.h114 return allocator_->AllocArray<T>(size); in allocate()
H A Dinternal_allocator-inl.h31 T *InternalAllocator<CONFIG>::AllocArray(size_t size) in AllocArray() function in ark::mem::InternalAllocator
H A Dhumongous_obj_allocator.h74 [[nodiscard]] T *AllocArray(size_t arrLength);
H A Drunslots_allocator_stl_adapter.h140 return allocator_->template AllocArray<T>(n); in allocate()
H A Dregion_allocator.h183 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 Darena_allocator.h107 [[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 Darena_allocator_stl_adapter.h123 return allocator_->template AllocArray<T>(n); in allocate()
/arkcompiler/runtime_core/static_core/libpandabase/mem/
H A Darena_allocator.h105 [[nodiscard]] T *AllocArray(size_t arrLength);
236 T *ArenaAllocatorT<USE_OOM_HANDLER>::AllocArray(size_t arrLength) in AllocArray() function in ark::ArenaAllocatorT
H A Darena_allocator_stl_adapter.h127 return allocator_->template AllocArray<T>(n); in allocate()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
H A Dets_itable_builder.cpp55 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 Ditable.h55 entry.methods_ = {allocator->AllocArray<Method *>(methods_.size()), methods_.size()}; in Copy()
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dcaddress_allocator.h136 [[nodiscard]] T *AllocArray(size_t size) in AllocArray() function in panda::ecmascript::CAddressAllocator
H A Dchunk_allocator.h121 [[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 Djs_proxy.cpp77 Span<Method> proxyMethods {classLinker->GetAllocator()->AllocArray<Method>(numTargets), numTargets}; in Create()

Completed in 15 milliseconds

12