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 pitrou
Recipients loewis, pitrou, sable
Date 2008-08-09.17:53:51
SpamBayes Score 8.379238e-08
Marked as misclassified No
Message-id <1218304426.5832.6.camel@fsol>
In-reply-to <489DD322.6010703@v.loewis.de>
Content
Le samedi 09 août 2008 à 17:28 +0000, Martin v. Löwis a écrit :
> Martin v. Löwis <martin@v.loewis.de> added the comment:
> 
> >> Instead, Python's own memory allocate (obmalloc) should be changed to
> >> directly use the virtual memory interfaces of the operating system (i.e.
> >> mmap), bypassing the malloc of the C library.
> > 
> > How would that interact with fork()?
> 
> Nicely, why do you ask?

Because I didn't know :)
But looking at the dlmalloc implementation bundled in the patch, it
seems that using mmap/munmap (or VirtualAlloc/VirtualFree under Windows)
should be ok.

Do you think we should create a separate issue for this improvement? It
could also solve #3531.
History
Date User Action Args
2008-08-09 17:54:53pitrousetrecipients: + pitrou, loewis, sable
2008-08-09 17:53:52pitroulinkissue3526 messages
2008-08-09 17:53:51pitroucreate