apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <p...@querna.org>
Subject [PATCH] pools always use malloc
Date Wed, 25 Mar 2009 14:23:33 GMT
There have been various discussions on list in the past about the
problems with pools, and that newer malloc implementations really are
better at it han we can ever be. (jemalloc for example
<http://people.freebsd.org/~jasone/jemalloc/bsdcan2006/jemalloc.pdf>).

Patch:
<http://people.apache.org/~pquerna/marvelous-malloc.patch>

- palloc now used malloc underneath.
- we keep a list of malloc'ed adrresses, in a new list object, and
free them on clear/destroy
- unmanaged/core pool APIs removed.

I'd like to just put this into APR-2 trunk asap, and then figure out
how to unify the pool debug code with these changes.

Thoughts?

Thanks,
Paul

Mime
View raw message