OLD | NEW |
1 # Heap Profiler Internals | 1 # Heap Profiler Internals |
2 | 2 |
3 This document describes how the heap profiler works and how to add heap | 3 This document describes how the heap profiler works and how to add heap |
4 profiling support to your allocator. If you just want to know how to use it, | 4 profiling support to your allocator. If you just want to know how to use it, |
5 see [Heap Profiling with MemoryInfra](heap_profiler.md) | 5 see [Heap Profiling with MemoryInfra](heap_profiler.md) |
6 | 6 |
7 [TOC] | 7 [TOC] |
8 | 8 |
9 ## Overview | 9 ## Overview |
10 | 10 |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 return true; | 175 return true; |
176 } | 176 } |
177 }; | 177 }; |
178 | 178 |
179 ``` | 179 ``` |
180 | 180 |
181 *** aside | 181 *** aside |
182 The implementation for `malloc` is more complicated because it needs to deal | 182 The implementation for `malloc` is more complicated because it needs to deal |
183 with reentrancy. | 183 with reentrancy. |
184 *** | 184 *** |
OLD | NEW |