mariadb/buf
marko c12e237a09 branches/zip: Instrument the buffer pool allocator and deallocator
for more accurate Valgrind debugging.

univ.i: Introduce UNIV_DEBUG_VALGRIND, UNIV_MEM_VALID, and UNIV_MEM_INVALID.

buf_LRU_block_free_non_file_page(): Invalidate the buffer frame
with UNIV_MEM_INVALID().

buf_LRU_get_free_block(): Declare the buffer frame valid
with UNIV_MEM_VALID().

Other memory is allocated and deallocated via malloc() and free(),
which are already overridden by Valgrind.  Without the added
instrumentation, accesses to free pages in the buffer pool cannot
be caught.

The diagnostics could probably be improved further by declaring all
non-latched buffer frames invalid.
2006-09-20 12:42:08 +00:00
..
buf0buf.c branches/zip: Merge revisions 804:838 from trunk. 2006-09-19 10:14:07 +00:00
buf0flu.c branches/zip: Merge revisions 804:838 from trunk. 2006-09-19 10:14:07 +00:00
buf0lru.c branches/zip: Instrument the buffer pool allocator and deallocator 2006-09-20 12:42:08 +00:00
buf0rea.c branches/zip: Merge revisions 804:838 from trunk. 2006-09-19 10:14:07 +00:00
Makefile.am Import 5.0 code. 2005-10-27 07:29:40 +00:00