mariadb/mem
marko 3a23bff39b branches/zip: Add Valgrind instrumentation to the InnoDB memory management
functions.

ut_malloc_low(): Flag the block with UNIV_MEM_ALLOC().  Do not flag the
block with UNIV_MEM_FREE() in ut_free(), because it would cause bogus
Valgrind warnings in the underlying memory allocator.

mem_pool_create(): Flag the data area with UNIV_MEM_FREE().

mem_pool_fill_free_list(): Flag the area header with UNIV_MEM_ALLOC().

mem_area_alloc(): Flag the data area with UNIV_MEM_ALLOC().

mem_area_free(): Flag the data area with UNIV_MEM_FREE().

mem_heap_alloc(): Flag the buffer with UNIV_MEM_ALLOC().

mem_heap_block_free(): Flag the block with UNIV_MEM_FREE().

mem_heap_free_top(): Flag the block with UNIV_MEM_FREE().
2007-03-28 09:02:55 +00:00
..
Makefile.am branches/zip: Merge revisions 1165:1206 from trunk. 2007-01-18 12:58:39 +00:00
mem0dbg.c branches/zip: Merge revisions 887:934 from trunk. 2006-10-25 11:19:12 +00:00
mem0mem.c branches/zip: Add Valgrind instrumentation to the InnoDB memory management 2007-03-28 09:02:55 +00:00
mem0pool.c branches/zip: Add Valgrind instrumentation to the InnoDB memory management 2007-03-28 09:02:55 +00:00