Home
last modified time | relevance | path

Searched refs:TLAB_SIZE (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dbump_allocator_test.cpp159 constexpr size_t TLAB_SIZE = 1_MB; in TEST_F() local
161 constexpr size_t TLAB_ALLOC_COUNT_SIZE = TLAB_SIZE / sizeof(AllocType); in TEST_F()
166 auto pool = PoolManager::GetMmapMemPool()->AllocPool(TLAB_SIZE + COMMON_BUFFER_SIZE, SpaceType::SPACE_TYPE_INTERNAL, in TEST_F()
172 TLAB *tlab = allocator.CreateNewTLAB(TLAB_SIZE); in TEST_F()
174 ASSERT_TRUE(allocator.CreateNewTLAB(TLAB_SIZE) == nullptr) << ", seed:" << seed_; in TEST_F()
184 TLAB *tlab = allocator.CreateNewTLAB(TLAB_SIZE); in TEST_F()
186 ASSERT_TRUE(allocator.CreateNewTLAB(TLAB_SIZE) == nullptr) << ", seed:" << seed_; in TEST_F()
199 constexpr size_t TLAB_SIZE = 1_MB; in TEST_F() local
201 auto pool = PoolManager::GetMmapMemPool()->AllocPool(TLAB_SIZE * TLAB_COUNT, SpaceType::SPACE_TYPE_INTERNAL, in TEST_F()
207 TLAB *tlab = allocator.CreateNewTLAB(TLAB_SIZE); in TEST_F()
[all...]
H A Dregion_allocator_test.cpp306 static constexpr size_t TLAB_SIZE = 4_KB; in TEST_F() local
312 TLAB *tlab = allocator.CreateTLAB(TLAB_SIZE); in TEST_F()
318 auto newTlab = allocator.CreateTLAB(TLAB_SIZE); in TEST_F()
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dthread_local_allocation_buffer.h25 static constexpr size_t TLAB_SIZE = 8_KB; member in panda::ecmascript::ThreadLocalAllocationBuffer
69 return TLAB_SIZE; in ComputeSize()
74 if (size > TLAB_SIZE) { in NeedNewTlab()

Completed in 4 milliseconds