apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davi Arnaut <d...@apache.org>
Subject Re: How to make apache mempool work with valgrind?
Date Thu, 03 Jul 2008 21:28:37 GMT
sc1801 wrote:
> I found that valgrind is quite useful after several days using it, and
> as far as I know,
> to make valgrind work well with apache mempool (APR Libaray), it should
> make some change in mempool source code, My question is "is there
> already some APR patches to use ? and if so, where can I get it. And if
> not,is someone else interested in develop one with me?"

When APR is compiled mode, the memory allocated from pools are mostly
directly taken from malloc() and hence are checked by valgrind.
Otherwise it would be nice to have some valgrind instrumentation for
non-debug builds.

-- Davi

View raw message