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>
51 *usable_size_out = usable_size - 2 * kMemoryToolRedZoneBytes; in AdjustForValgrind()
56 MEMORY_TOOL_MAKE_NOACCESS(obj_with_rdz, kMemoryToolRedZoneBytes); in AdjustForValgrind()
62 reinterpret_cast<uint8_t*>(obj_with_rdz) + kMemoryToolRedZoneBytes); in AdjustForValgrind()
70 usable_size - (num_bytes + kMemoryToolRedZoneBytes)); in AdjustForValgrind()
82 size_t kMemoryToolRedZoneBytes,
87 kMemoryToolRedZoneBytes,
95 void* obj_with_rdz = S::AllocWithGrowth(self, num_bytes + 2 * kMemoryToolRedZoneBytes, in AllocWithGrowth()
102 return memory_tool_details::AdjustForValgrind<kMemoryToolRedZoneBytes, kUseObjSizeForUsable>( in AllocWithGrowth()
112 size_t kMemoryToolRedZoneBytes,
[all …]
Dlarge_object_space.cc60 LargeObjectMapSpace::Alloc(self, num_bytes + kMemoryToolRedZoneBytes * 2, bytes_allocated, in Alloc()
63 reinterpret_cast<uintptr_t>(obj) + kMemoryToolRedZoneBytes); in Alloc()
64 MEMORY_TOOL_MAKE_NOACCESS(reinterpret_cast<void*>(obj), kMemoryToolRedZoneBytes); in Alloc()
67 kMemoryToolRedZoneBytes); in Alloc()
95 reinterpret_cast<uintptr_t>(obj) - kMemoryToolRedZoneBytes); in ObjectWithRedzone()
100 reinterpret_cast<uintptr_t>(obj) - kMemoryToolRedZoneBytes); in ObjectWithRedzone()
103 static constexpr size_t kMemoryToolRedZoneBytes = kPageSize; member in art::gc::space::FINAL
Dmemory_tool_malloc_space.h29 size_t kMemoryToolRedZoneBytes,
/art/runtime/base/
Dscoped_arena_allocator.cc24 static constexpr size_t kMemoryToolRedZoneBytes = 8; variable
96 size_t rounded_bytes = RoundUp(bytes + kMemoryToolRedZoneBytes, 8); in AllocWithMemoryTool()
Darena_allocator.cc35 constexpr size_t kMemoryToolRedZoneBytes = 8; variable
415 size_t rounded_bytes = RoundUp(bytes + kMemoryToolRedZoneBytes, 8); in AllocWithMemoryTool()
434 size_t rounded_bytes = bytes + kMemoryToolRedZoneBytes; in AllocWithMemoryToolAlign16()