Searched refs:PANDA_POOL_ALIGNMENT_IN_BYTES (Results 1 – 8 of 8) sorted by relevance
/arkcompiler/runtime_core/libpandabase/mem/ |
D | mem.h | 192 constexpr size_t PANDA_POOL_ALIGNMENT_IN_BYTES = 256_KB; variable 197 static_assert(PANDA_DEFAULT_POOL_SIZE % PANDA_POOL_ALIGNMENT_IN_BYTES == 0); 198 static_assert(PANDA_DEFAULT_ARENA_SIZE % PANDA_POOL_ALIGNMENT_IN_BYTES == 0); 199 static_assert(PANDA_DEFAULT_ALLOCATOR_POOL_SIZE % PANDA_POOL_ALIGNMENT_IN_BYTES == 0); 203 constexpr uintptr_t PANDA_32BITS_HEAP_START_ADDRESS = AlignUp(1U, PANDA_POOL_ALIGNMENT_IN_BYTES);
|
D | mmap_mem_pool-inl.h | 135 …= panda::os::mem::MapRWAnonymousWithAlignmentRaw(object_space_size, PANDA_POOL_ALIGNMENT_IN_BYTES); in MmapMemPool() 139 ASSERT(AlignUp(ToUintPtr(mem), PANDA_POOL_ALIGNMENT_IN_BYTES) == ToUintPtr(mem)); in MmapMemPool() 218 mem = panda::os::mem::MapRWAnonymousWithAlignmentRaw(size, PANDA_POOL_ALIGNMENT_IN_BYTES); in AllocRawMemCompilerImpl() 232 mem = panda::os::mem::MapRWAnonymousWithAlignmentRaw(size, PANDA_POOL_ALIGNMENT_IN_BYTES); in AllocRawMemInternalImpl() 246 mem = panda::os::mem::MapRWAnonymousWithAlignmentRaw(size, PANDA_POOL_ALIGNMENT_IN_BYTES); in AllocRawMemCodeImpl() 270 ASSERT(size == AlignUp(size, PANDA_POOL_ALIGNMENT_IN_BYTES)); in AllocRawMemImpl() 316 ASSERT(size == AlignUp(size, PANDA_POOL_ALIGNMENT_IN_BYTES)); in AllocPoolUnsafe() 361 …ASSERT(AlignUp(ToUintPtr(pool.GetMem()), PANDA_POOL_ALIGNMENT_IN_BYTES) == ToUintPtr(pool.GetMem()… in AllocPoolUnsafe()
|
D | pool_map.h | 90 static constexpr size_t POOL_MAP_GRANULARITY = PANDA_POOL_ALIGNMENT_IN_BYTES;
|
D | arena_allocator.cpp | 157 pool_size = AlignUp(pool_size, PANDA_POOL_ALIGNMENT_IN_BYTES); in AddArenaFromPool()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | heap_region_allocator.cpp | 25 constexpr size_t PANDA_POOL_ALIGNMENT_IN_BYTES = 256_KB; variable 52 …LOG_ECMA_IF(AlignUp(mem, PANDA_POOL_ALIGNMENT_IN_BYTES) != mem, FATAL) << "region not align by 256… in AllocateAlignedRegion()
|
D | space.cpp | 90 …ze = AlignUp(objectSize + sizeof(Region) + HUGE_OBJECT_BITSET_SIZE, PANDA_POOL_ALIGNMENT_IN_BYTES); in Allocate()
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | pool_map_test.cpp | 44 static constexpr size_t MINIMAL_POOL_SIZE = PANDA_POOL_ALIGNMENT_IN_BYTES; 172 static constexpr uintptr_t POOL_START_ADDR = PANDA_POOL_ALIGNMENT_IN_BYTES; 174 size_t pool_size = AlignUp(rand() % MAX_POOL_SIZE, PANDA_POOL_ALIGNMENT_IN_BYTES);
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
D | snapshot_processor.cpp | 1298 … size_t alignedHugeRegionSize = AlignUp(objSize + sizeof(Region), PANDA_POOL_ALIGNMENT_IN_BYTES); in DeserializeHugeSpaceObject()
|