Skip to content
  • Jon Olav Hauglid's avatar
    820a35e3
    WL#6074: Memroot allocator for C++ STL · 820a35e3
    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.
    820a35e3
    WL#6074: Memroot allocator for C++ STL
    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.
Loading