Home
last modified time | relevance | path

Searched refs:HeapWalker (Results 1 – 9 of 9) sorted by relevance

/system/core/libmemunreachable/
DHeapWalker.cpp33 bool HeapWalker::Allocation(uintptr_t begin, uintptr_t end) { in Allocation()
69 bool HeapWalker::WordContainsAllocationPtr(uintptr_t word_ptr, Range* range, AllocationInfo** info)… in WordContainsAllocationPtr()
87 void HeapWalker::RecurseRoot(const Range& root) { in RecurseRoot()
104 void HeapWalker::Mapping(uintptr_t begin, uintptr_t end) { in Mapping()
109 void HeapWalker::Root(uintptr_t begin, uintptr_t end) { in Root()
113 void HeapWalker::Root(const allocator::vector<uintptr_t>& vals) { in Root()
117 size_t HeapWalker::Allocations() { in Allocations()
121 size_t HeapWalker::AllocationBytes() { in AllocationBytes()
125 bool HeapWalker::DetectLeaks() { in DetectLeaks()
144 bool HeapWalker::Leaked(allocator::vector<Range>& leaked, size_t limit, size_t* num_leaks_out, in Leaked()
[all …]
DHeapWalker.h47 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()
DLeakFolding.h26 LeakFolding(Allocator<void> allocator, HeapWalker& heap_walker) in LeakFolding()
46 HeapWalker& heap_walker_;
DAndroid.bp29 "HeapWalker.cpp",
77 "HeapWalker.cpp",
DLeakFolding.cpp75 heap_walker_.ForEachAllocation([&](const Range& range, HeapWalker::AllocationInfo& allocation) { in FoldLeaks()
88 [&](Range& ptr_range, HeapWalker::AllocationInfo* ptr_info) { in FoldLeaks()
DREADME.md81 - `HeapWalker.cpp`: Performs the mark-and-sweep pass over active allocations.
DMemUnreachable.cpp73 HeapWalker heap_walker_;
/system/core/libmemunreachable/tests/
DHeapWalker_test.cpp45 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()
DLeakFolding_test.cpp50 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 …]