Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dmemory_tool_malloc_space-inl.h32 template <size_t kMemoryToolRedZoneBytes, bool kUseObjSizeForUsable>
54 *usable_size_out = usable_size - 2 * kMemoryToolRedZoneBytes; in AdjustForMemoryTool()
59 MEMORY_TOOL_MAKE_NOACCESS(obj_with_rdz, kMemoryToolRedZoneBytes); in AdjustForMemoryTool()
65 reinterpret_cast<uint8_t*>(obj_with_rdz) + kMemoryToolRedZoneBytes); in AdjustForMemoryTool()
73 usable_size - (num_bytes + kMemoryToolRedZoneBytes)); in AdjustForMemoryTool()
85 size_t kMemoryToolRedZoneBytes,
90 kMemoryToolRedZoneBytes,
102 num_bytes + 2 * kMemoryToolRedZoneBytes, in AllocWithGrowth()
110 return memory_tool_details::AdjustForMemoryTool<kMemoryToolRedZoneBytes, kUseObjSizeForUsable>( in AllocWithGrowth()
122 size_t kMemoryToolRedZoneBytes,
[all …]
Dlarge_object_space.cc58 LargeObjectMapSpace::Alloc(self, num_bytes + kMemoryToolRedZoneBytes * 2, bytes_allocated, in Alloc()
61 reinterpret_cast<uintptr_t>(obj) + kMemoryToolRedZoneBytes); in Alloc()
62 MEMORY_TOOL_MAKE_NOACCESS(reinterpret_cast<void*>(obj), kMemoryToolRedZoneBytes); in Alloc()
65 kMemoryToolRedZoneBytes); in Alloc()
93 reinterpret_cast<uintptr_t>(obj) - kMemoryToolRedZoneBytes); in ObjectWithRedzone()
98 reinterpret_cast<uintptr_t>(obj) - kMemoryToolRedZoneBytes); in ObjectWithRedzone()
101 static constexpr size_t kMemoryToolRedZoneBytes = kPageSize; member in art::gc::space::MemoryToolLargeObjectMapSpace
Dmemory_tool_malloc_space.h29 size_t kMemoryToolRedZoneBytes,
/art/libartbase/base/
Darena_allocator.cc31 constexpr size_t kMemoryToolRedZoneBytes = 8; variable
226 size_t rounded_bytes = RoundUp(bytes + kMemoryToolRedZoneBytes, 8); in AllocWithMemoryTool()
245 size_t rounded_bytes = bytes + kMemoryToolRedZoneBytes; in AllocWithMemoryToolAlign16()
Dscoped_arena_allocator.cc24 static constexpr size_t kMemoryToolRedZoneBytes = 8; variable
96 size_t rounded_bytes = RoundUp(bytes + kMemoryToolRedZoneBytes, 8); in AllocWithMemoryTool()