|
From: Robert W. <rj...@du...> - 2004-01-14 07:31:18
|
Hi all,
I've put a new version of my memory pool patch on my web site. This
version improves the messages output by Valgrind when you run into the
red-zone at either end of a chunk allocated out of a pool, or when you
write into an unallocated part of the pool. The mempool test program in
memcheck/tests now tests the improved red-zone stuff.
Still to be thought about is leak-checking the contents of a pool.=20
Normally, if you use malloc to allocate a pool, the entire pool will be
leak-checked at exit. This is often sufficient. However, if you use
mmap to allocate the pool, this won't happen.
This will probably be the last version of this I make for a while,
unless I come up with a major bug or someone requests additional
functionality. I'm particularly interested in what you think of the
leak-checking shortcoming.
The patch is at the usual place:
http://www.durables.org/software/valgrind
Regards,
Robert.
--=20
Robert Walsh
Amalgamated Durables, Inc. - "We don't make the things you buy."
Email: rj...@du...
|