Searched refs:kValgrindRedZoneBytes (Results 1 – 4 of 4) sorted by relevance
/art/runtime/gc/space/ |
D | valgrind_malloc_space-inl.h | 30 static constexpr size_t kValgrindRedZoneBytes = 8; variable 36 void* obj_with_rdz = S::AllocWithGrowth(self, num_bytes + 2 * kValgrindRedZoneBytes, in AllocWithGrowth() 42 reinterpret_cast<byte*>(obj_with_rdz) + kValgrindRedZoneBytes); in AllocWithGrowth() 44 VALGRIND_MAKE_MEM_NOACCESS(obj_with_rdz, kValgrindRedZoneBytes); in AllocWithGrowth() 45 VALGRIND_MAKE_MEM_NOACCESS(reinterpret_cast<byte*>(result) + num_bytes, kValgrindRedZoneBytes); in AllocWithGrowth() 53 void* obj_with_rdz = S::Alloc(self, num_bytes + 2 * kValgrindRedZoneBytes, bytes_allocated, in Alloc() 59 reinterpret_cast<byte*>(obj_with_rdz) + kValgrindRedZoneBytes); in Alloc() 61 VALGRIND_MAKE_MEM_NOACCESS(obj_with_rdz, kValgrindRedZoneBytes); in Alloc() 62 VALGRIND_MAKE_MEM_NOACCESS(reinterpret_cast<byte*>(result) + num_bytes, kValgrindRedZoneBytes); in Alloc() 69 reinterpret_cast<byte*>(obj) - kValgrindRedZoneBytes), usable_size); in AllocationSize() [all …]
|
D | large_object_space.cc | 43 LargeObjectMapSpace::Alloc(self, num_bytes + kValgrindRedZoneBytes * 2, bytes_allocated, in Alloc() 46 reinterpret_cast<uintptr_t>(obj) + kValgrindRedZoneBytes); in Alloc() 47 VALGRIND_MAKE_MEM_NOACCESS(reinterpret_cast<void*>(obj), kValgrindRedZoneBytes); in Alloc() 49 kValgrindRedZoneBytes); in Alloc() 58 reinterpret_cast<uintptr_t>(obj) - kValgrindRedZoneBytes); in AllocationSize() 64 reinterpret_cast<uintptr_t>(obj) - kValgrindRedZoneBytes); in Free() 71 reinterpret_cast<uintptr_t>(obj) - kValgrindRedZoneBytes); in Contains() 76 static constexpr size_t kValgrindRedZoneBytes = kPageSize; member in art::gc::space::FINAL
|
/art/compiler/utils/ |
D | scoped_arena_allocator.cc | 24 static constexpr size_t kValgrindRedZoneBytes = 8; variable 95 size_t rounded_bytes = RoundUp(bytes + kValgrindRedZoneBytes, 8); in AllocValgrind()
|
D | arena_allocator.cc | 31 static constexpr size_t kValgrindRedZoneBytes = 8; variable 229 size_t rounded_bytes = RoundUp(bytes + kValgrindRedZoneBytes, 8); in AllocValgrind()
|