Home
last modified time | relevance | path

Searched refs:unaligned_memory_ (Results 1 – 1 of 1) sorted by relevance

/art/libartbase/base/
Dmalloc_arena_pool.cc42 uint8_t* unaligned_memory_; member in art::MallocArena
49 unaligned_memory_ = reinterpret_cast<uint8_t*>(calloc(1, size + overallocation)); in MallocArena()
50 CHECK(unaligned_memory_ != nullptr); // Abort on OOM. in MallocArena()
51 DCHECK_ALIGNED(unaligned_memory_, alignof(std::max_align_t)); in MallocArena()
53 memory_ = unaligned_memory_; in MallocArena()
55 memory_ = AlignUp(unaligned_memory_, ArenaAllocator::kArenaAlignment); in MallocArena()
57 size_t head = memory_ - unaligned_memory_; in MallocArena()
59 MEMORY_TOOL_MAKE_NOACCESS(unaligned_memory_, head); in MallocArena()
70 size_t head = memory_ - unaligned_memory_; in ~MallocArena()
72 MEMORY_TOOL_MAKE_UNDEFINED(unaligned_memory_, head); in ~MallocArena()
[all …]