[issue3526] Customized malloc implementation on SunOS and AIX

Antoine Pitrou report at bugs.python.org
Fri Apr 29 18:16:49 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> Yes, I was probably not clear:
> When --with-dlmalloc is activated, PyMem_MALLOC/PyMem_Malloc will call
> dlmalloc, PyMem_REALLOC/PyMem_Realloc will call dlrealloc and
> PyMem_FREE/PyMem_Free will call dlfree.
> 
> While calls to malloc/free/realloc will use the platform implementation.

I'm not sure why you would want that. If dlmalloc is clearly superior,
why not use it for all allocations inside the application (not only
Python ones)?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3526>
_______________________________________


More information about the Python-bugs-list mailing list