summaryrefslogtreecommitdiffstats
path: root/test/integration/aligned_alloc.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2012-12-12 18:12:18 (GMT)
committerJason Evans <jasone@canonware.com>2012-12-12 18:12:18 (GMT)
commit1271185b87fcf54afb37dc05e7e0c58e5fb8f06a (patch)
treeea52affe51247a2cadfb09ed39439ae4647dd80e /test/integration/aligned_alloc.c
parent6eb84fbe315add1e1d4f8deedc25d260fff3ae97 (diff)
downloadjemalloc-1271185b87fcf54afb37dc05e7e0c58e5fb8f06a.zip
jemalloc-1271185b87fcf54afb37dc05e7e0c58e5fb8f06a.tar.gz
jemalloc-1271185b87fcf54afb37dc05e7e0c58e5fb8f06a.tar.bz2
Fix chunk_recycle() Valgrind integration.
Fix chunk_recycyle() to unconditionally inform Valgrind that returned memory is undefined. This fixes Valgrind warnings that would result from a huge allocation being freed, then recycled for use as an arena chunk. The arena code would write metadata to the chunk header, and Valgrind would consider these invalid writes.
Diffstat (limited to 'test/integration/aligned_alloc.c')
0 files changed, 0 insertions, 0 deletions