Searched refs:kMemoryToolRedZoneBytes (Results 1 – 5 of 5) sorted by relevance
/art/runtime/gc/space/ |
D | memory_tool_malloc_space-inl.h | 32 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 …]
|
D | large_object_space.cc | 58 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
|
D | memory_tool_malloc_space.h | 29 size_t kMemoryToolRedZoneBytes,
|
/art/libartbase/base/ |
D | arena_allocator.cc | 31 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()
|
D | scoped_arena_allocator.cc | 24 static constexpr size_t kMemoryToolRedZoneBytes = 8; variable 96 size_t rounded_bytes = RoundUp(bytes + kMemoryToolRedZoneBytes, 8); in AllocWithMemoryTool()
|