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

Attachment: marvelous-malloc.patch
Description: Binary data

Reply via email to