Home
last modified time | relevance | path

Searched refs:DEFAULT_ALIGNMENT (Results 1 - 25 of 28) sorted by relevance

12

/arkcompiler/runtime_core/static_core/runtime/coretypes/
H A Darray.cpp38 vm->GetHeapManager()->AllocateObject(arrayClass, size, DEFAULT_ALIGNMENT, ManagedThread::GetCurrent(), in AllocateArray()
43 arrayClass, size, DEFAULT_ALIGNMENT, ManagedThread::GetCurrent())); in AllocateArray()
/arkcompiler/runtime_core/static_core/runtime/mem/
H A Dinternal_allocator.h70 [[nodiscard]] void *Alloc(size_t size, Alignment align = DEFAULT_ALIGNMENT);
72 [[nodiscard]] void *AllocLocal(size_t size, Alignment align = DEFAULT_ALIGNMENT) in AllocLocal() argument
H A Dmalloc-proxy-allocator.h47 [[nodiscard]] void *Alloc(size_t size, Alignment align = DEFAULT_ALIGNMENT);
H A Dheap_manager.h54 BaseClass *cls, size_t size, Alignment align = DEFAULT_ALIGNMENT, ManagedThread *thread = nullptr,
60 BaseClass *cls, size_t size, Alignment align = DEFAULT_ALIGNMENT, ManagedThread *thread = nullptr,
H A Dpygote_space_allocator.h50 void *Alloc(size_t size, Alignment alignment = ark::DEFAULT_ALIGNMENT);
H A Dbump-allocator.h81 [[nodiscard]] void *Alloc(size_t size, Alignment alignment = ark::DEFAULT_ALIGNMENT);
H A Dregion_allocator.h180 void *Alloc(size_t size, Alignment align = DEFAULT_ALIGNMENT, bool pinned = false);
534 void *Alloc(size_t size, Alignment align = DEFAULT_ALIGNMENT);
605 void *Alloc(size_t size, Alignment align = DEFAULT_ALIGNMENT);
H A Dhumongous_obj_allocator.h77 [[nodiscard]] void *Alloc(size_t size, Alignment align = DEFAULT_ALIGNMENT);
H A Dregion_allocator-inl.h229 ASSERT(GetAlignmentInBytes(align) % GetAlignmentInBytes(DEFAULT_ALIGNMENT) == 0); in Alloc()
288 ASSERT(AlignUp(size, GetAlignmentInBytes(DEFAULT_ALIGNMENT)) == size); in CreateTLAB()
597 ASSERT(GetAlignmentInBytes(align) % GetAlignmentInBytes(DEFAULT_ALIGNMENT) == 0); in Alloc()
694 ASSERT(GetAlignmentInBytes(align) % GetAlignmentInBytes(DEFAULT_ALIGNMENT) == 0); in Alloc()
H A Dfreelist_allocator.h36 static constexpr Alignment FREELIST_DEFAULT_ALIGNMENT = DEFAULT_ALIGNMENT;
H A Drunslots_allocator.h85 [[nodiscard]] void *Alloc(size_t size, Alignment align = DEFAULT_ALIGNMENT);
H A Dbump-allocator-inl.h83 ASSERT(alignment == DEFAULT_ALIGNMENT); in Alloc()
85 // (each element allocated via BumpPointer allocator has DEFAULT_ALIGNMENT alignment). in Alloc()
/arkcompiler/runtime_core/libpandabase/mem/
H A Dmem.h131 constexpr Alignment DEFAULT_ALIGNMENT = GetLogAlignment(alignof(uintptr_t)); member
132 constexpr size_t DEFAULT_ALIGNMENT_IN_BYTES = GetAlignmentInBytes(DEFAULT_ALIGNMENT);
H A Darena.h26 constexpr Alignment ARENA_DEFAULT_ALIGNMENT = DEFAULT_ALIGNMENT;
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dregion_allocator_test.cpp134 size_t alignSize = AlignUp(size, GetAlignmentInBytes(DEFAULT_ALIGNMENT)); in AllocateRegularObject()
146 ASSERT(freeBytesForCurReg % GetAlignmentInBytes(DEFAULT_ALIGNMENT) == 0); in AllocateRegularObject()
158 size_t allocSize = AlignUp(size, GetAlignmentInBytes(DEFAULT_ALIGNMENT)); in AllocateLargeObject()
170 auto alignSize = AlignUp(size, GetAlignmentInBytes(DEFAULT_ALIGNMENT)); in AllocateYoungRegular()
262 ASSERT(freeBytesForCurReg % GetAlignmentInBytes(DEFAULT_ALIGNMENT) == 0); in TEST_F()
264 size_t alignSize = AlignUp(size, GetAlignmentInBytes(DEFAULT_ALIGNMENT)); in TEST_F()
289 NonObjectRegionAllocator::GetMaxRegularObjectSize() + 128UL, DEFAULT_ALIGNMENT>(1UL, in TEST_F()
H A Dbump_allocator_test.cpp121 Alignment align = DEFAULT_ALIGNMENT; in DEATH_TEST_F()
144 static_assert(LOG_ALIGN_MAX != DEFAULT_ALIGNMENT, "We expect minimal alignment != DEFAULT_ALIGNMENT"); in DEATH_TEST_F()
147 EXPECT_DEATH_IF_SUPPORTED(ptr = bpAllocator.Alloc(sizeof(int), LOG_ALIGN_MAX), "alignment == DEFAULT_ALIGNMENT") in DEATH_TEST_F()
H A Dclass_linker_test_extension.h84 void *ptr = allocator->AllocateNonMovable(coretypes::Class::GetSize(size), DEFAULT_ALIGNMENT, nullptr,
H A Dtlab_test.cpp81 // NOTE: All objects, allocated in Runtime, must have the DEFAULT_ALIGNMENT alignment. in TEST_F()
97 Alignment align = DEFAULT_ALIGNMENT;
H A Dhumongous_obj_allocator_test.cpp110 static constexpr Alignment OBJECT_ALIGNMENT = DEFAULT_ALIGNMENT; in TEST_F()
H A Depsilon_gcs_test.cpp236 Region::RegionSize(AlignUp(hugeStringSize, GetAlignmentInBytes(DEFAULT_ALIGNMENT)), G1_REGION_SIZE); in TEST_F()
/arkcompiler/runtime_core/static_core/libpandabase/mem/
H A Dmem.h136 constexpr Alignment DEFAULT_ALIGNMENT = GetLogAlignment(sizeof(uint64_t)); member
137 constexpr size_t DEFAULT_ALIGNMENT_IN_BYTES = GetAlignmentInBytes(DEFAULT_ALIGNMENT);
H A Darena.h26 constexpr Alignment ARENA_DEFAULT_ALIGNMENT = DEFAULT_ALIGNMENT;
/arkcompiler/runtime_core/static_core/runtime/include/mem/
H A Dallocator-inl.h62 Alignment align = DEFAULT_ALIGNMENT; in AllocateTenuredImpl()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/heap-space-misc/
H A Dcrossing_map.h129 static constexpr Alignment CROSSING_MAP_OBJ_ALIGNMENT = DEFAULT_ALIGNMENT;
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
H A Dg1-allocator.cpp201 mem = humongousObjectAllocator_->Alloc(size, DEFAULT_ALIGNMENT); in Allocate()

Completed in 15 milliseconds

12