| OLD | NEW |
| 1 # Memory management in Blink | 1 # Memory management in Blink |
| 2 | 2 |
| 3 This document gives a high-level overview of the memory management in Blink. | 3 This document gives a high-level overview of the memory management in Blink. |
| 4 | 4 |
| 5 [TOC] | 5 [TOC] |
| 6 | 6 |
| 7 ## Memory allocators | 7 ## Memory allocators |
| 8 | 8 |
| 9 Blink objects are allocated by one of the following four memory allocators. | 9 Blink objects are allocated by one of the following four memory allocators. |
| 10 | 10 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 void func() { | 177 void func() { |
| 178 X x; // This is allowed. | 178 X x; // This is allowed. |
| 179 X* x = new X; // This is forbidden. | 179 X* x = new X; // This is forbidden. |
| 180 } | 180 } |
| 181 ``` | 181 ``` |
| 182 | 182 |
| 183 Note that these macros are inherited. See a comment in wtf/Allocator.h | 183 Note that these macros are inherited. See a comment in wtf/Allocator.h |
| 184 for more details about the relationship between the macros and Oilpan. | 184 for more details about the relationship between the macros and Oilpan. |
| 185 | 185 |
| 186 If you have any question, ask oilpan-reviews@chromium.org. | 186 If you have any question, ask oilpan-reviews@chromium.org. |
| OLD | NEW |