This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients loewis, pitrou, sable, tim.peters
Date 2008-09-08.03:21:21
SpamBayes Score 2.16355e-05
Marked as misclassified No
Message-id <>
In-reply-to <>
> OTOH, if for some compelling reason it's believed Python knows better
> than platform vendors, then obmalloc should be uglied-up on all paths to
> make the enlightened choice.

I'm proposing that obmalloc is changed to know better than system malloc
on systems supporting anonymous mmap, and Windows, and that the call


is replaced by mmap. This has the advantage of doing better than system
malloc on Solaris, plus it also might guarantee that arenas will be
POOL_SIZE aligned.

OTOH, the calls

  realloc(arenas, nbytes)

should continue to go to system malloc, because they are typically
not multiples of the system page size.
Date User Action Args
2008-09-08 03:21:23loewissetrecipients: + loewis, tim.peters, pitrou, sable
2008-09-08 03:21:22loewislinkissue3526 messages
2008-09-08 03:21:21loewiscreate