-
Jon Olav Hauglid authored
This patch implements two custom memory allocators for C++ STL: 1) Memroot_allocator A memory allocator which uses MEM_ROOT. 2) Malloc_allocator A memory allocator based on my_malloc/my_free. This allows for P_S memory instrumentation of heap memory allocation done internally by STL container classes.
Jon Olav Hauglid authoredThis patch implements two custom memory allocators for C++ STL: 1) Memroot_allocator A memory allocator which uses MEM_ROOT. 2) Malloc_allocator A memory allocator based on my_malloc/my_free. This allows for P_S memory instrumentation of heap memory allocation done internally by STL container classes.
Loading