Searched refs:HeapWalker (Results 1 – 9 of 9) sorted by relevance
/system/memory/libmemunreachable/ |
D | HeapWalker.h | 47 class HeapWalker { 49 explicit HeapWalker(Allocator<HeapWalker> allocator) in HeapWalker() function 76 ~HeapWalker() {} in ~HeapWalker() 103 DISALLOW_COPY_AND_ASSIGN(HeapWalker); 104 Allocator<HeapWalker> allocator_; 123 inline void HeapWalker::ForEachPtrInRange(const Range& range, F&& f) { in ForEachPtrInRange() 138 inline void HeapWalker::ForEachAllocation(F&& f) { in ForEachAllocation() 141 HeapWalker::AllocationInfo& allocation = it.second; in ForEachAllocation()
|
D | HeapWalker.cpp | 45 bool HeapWalker::Allocation(uintptr_t begin, uintptr_t end) { in Allocation() 86 bool HeapWalker::WordContainsAllocationPtr(uintptr_t word_ptr, Range* range, AllocationInfo** info)… in WordContainsAllocationPtr() 105 void HeapWalker::RecurseRoot(const Range& root) { in RecurseRoot() 122 void HeapWalker::Mapping(uintptr_t begin, uintptr_t end) { in Mapping() 127 void HeapWalker::Root(uintptr_t begin, uintptr_t end) { in Root() 131 void HeapWalker::Root(const allocator::vector<uintptr_t>& vals) { in Root() 135 size_t HeapWalker::Allocations() { in Allocations() 139 size_t HeapWalker::AllocationBytes() { in AllocationBytes() 143 bool HeapWalker::DetectLeaks() { in DetectLeaks() 162 bool HeapWalker::Leaked(allocator::vector<Range>& leaked, size_t limit, size_t* num_leaks_out, in Leaked() [all …]
|
D | LeakFolding.h | 26 LeakFolding(Allocator<void> allocator, HeapWalker& heap_walker) in LeakFolding() 46 HeapWalker& heap_walker_;
|
D | Android.bp | 38 "HeapWalker.cpp", 93 "HeapWalker.cpp",
|
D | LeakFolding.cpp | 75 heap_walker_.ForEachAllocation([&](const Range& range, HeapWalker::AllocationInfo& allocation) { in FoldLeaks() 88 [&](Range& ptr_range, HeapWalker::AllocationInfo* ptr_info) { in FoldLeaks()
|
D | README.md | 81 - `HeapWalker.cpp`: Performs the mark-and-sweep pass over active allocations.
|
D | MemUnreachable.cpp | 74 HeapWalker heap_walker_;
|
/system/memory/libmemunreachable/tests/ |
D | HeapWalker_test.cpp | 45 HeapWalker heap_walker(heap_); in TEST_F() 54 HeapWalker heap_walker(heap_); in TEST_F() 68 HeapWalker heap_walker(heap_); in TEST_F() 77 HeapWalker heap_walker(heap_); in TEST_F() 103 HeapWalker heap_walker(heap_); in TEST_F() 130 HeapWalker heap_walker(heap_); in TEST_F() 158 HeapWalker heap_walker(heap_); in TEST_F() 183 HeapWalker heap_walker(heap_); in TEST_F() 207 HeapWalker heap_walker(heap_); in TEST_F()
|
D | LeakFolding_test.cpp | 50 HeapWalker heap_walker(heap_); in TEST_F() 74 HeapWalker heap_walker(heap_); in TEST_F() 103 HeapWalker heap_walker(heap_); in TEST_F() 133 HeapWalker heap_walker(heap_); in TEST_F() 164 HeapWalker heap_walker(heap_); in TEST_F() 204 HeapWalker heap_walker(heap_); in TEST_F() 242 HeapWalker heap_walker(heap_); in TEST_F() 275 HeapWalker heap_walker(heap_); in TEST_F() 308 HeapWalker heap_walker(heap_); in TEST_F() 359 HeapWalker heap_walker(heap_); in TEST_F() [all …]
|