Searched refs:HeapWalker (Results 1 – 9 of 9) sorted by relevance
/system/core/libmemunreachable/ |
D | HeapWalker.h | 49 class HeapWalker { 51 HeapWalker(Allocator<HeapWalker> allocator) : allocator_(allocator), in HeapWalker() function 64 ~HeapWalker() {} in ~HeapWalker() 92 DISALLOW_COPY_AND_ASSIGN(HeapWalker); 93 Allocator<HeapWalker> allocator_; 107 inline void HeapWalker::ForEachPtrInRange(const Range& range, F&& f) { in ForEachPtrInRange() 122 inline void HeapWalker::ForEachAllocation(F&& f) { in ForEachAllocation() 125 HeapWalker::AllocationInfo& allocation = it.second; in ForEachAllocation()
|
D | HeapWalker.cpp | 31 bool HeapWalker::Allocation(uintptr_t begin, uintptr_t end) { in Allocation() 55 bool HeapWalker::WordContainsAllocationPtr(uintptr_t word_ptr, Range* range, AllocationInfo** info)… in WordContainsAllocationPtr() 73 void HeapWalker::RecurseRoot(const Range& root) { in RecurseRoot() 88 void HeapWalker::Root(uintptr_t begin, uintptr_t end) { in Root() 92 void HeapWalker::Root(const allocator::vector<uintptr_t>& vals) { in Root() 96 size_t HeapWalker::Allocations() { in Allocations() 100 size_t HeapWalker::AllocationBytes() { in AllocationBytes() 104 bool HeapWalker::DetectLeaks() { in DetectLeaks() 119 bool HeapWalker::Leaked(allocator::vector<Range>& leaked, size_t limit, in Leaked() 164 void HeapWalker::HandleSegFault(ScopedSignalHandler& handler, int signal, siginfo_t* si, void* /*uc… in HandleSegFault()
|
D | LeakFolding.h | 24 LeakFolding(Allocator<void> allocator, HeapWalker& heap_walker) in LeakFolding() 42 HeapWalker& heap_walker_;
|
D | Android.mk | 5 HeapWalker.cpp \ 53 HeapWalker.cpp \
|
D | LeakFolding.cpp | 77 [&](const Range& range, HeapWalker::AllocationInfo& allocation) { in FoldLeaks() 91 [&](Range& ptr_range, HeapWalker::AllocationInfo* ptr_info) { in FoldLeaks()
|
D | README.md | 60 - `HeapWalker.cpp`: Performs the mark-and-sweep pass over active allocations.
|
D | MemUnreachable.cpp | 67 HeapWalker heap_walker_;
|
/system/core/libmemunreachable/tests/ |
D | HeapWalker_test.cpp | 43 HeapWalker heap_walker(heap_); in TEST_F() 52 HeapWalker heap_walker(heap_); in TEST_F() 66 HeapWalker heap_walker(heap_); in TEST_F() 83 HeapWalker heap_walker(heap_); in TEST_F() 110 HeapWalker heap_walker(heap_); in TEST_F() 138 HeapWalker heap_walker(heap_); in TEST_F() 163 HeapWalker heap_walker(heap_); in TEST_F() 187 HeapWalker heap_walker(heap_); in TEST_F()
|
D | LeakFolding_test.cpp | 48 HeapWalker heap_walker(heap_); in TEST_F() 72 HeapWalker heap_walker(heap_); in TEST_F() 101 HeapWalker heap_walker(heap_); in TEST_F() 131 HeapWalker heap_walker(heap_); in TEST_F() 162 HeapWalker heap_walker(heap_); in TEST_F() 202 HeapWalker heap_walker(heap_); in TEST_F() 240 HeapWalker heap_walker(heap_); in TEST_F() 273 HeapWalker heap_walker(heap_); in TEST_F() 306 HeapWalker heap_walker(heap_); in TEST_F() 357 HeapWalker heap_walker(heap_); in TEST_F() [all …]
|