Author dino.viehland
Recipients dino.viehland
Date 2019-05-07.19:56:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557258986.94.0.539165158195.issue36839@roundup.psfhosted.org>
In-reply-to
Content
Many Python deployments involve large code based that are used in scenarios where processes are fork-and-exec'd.  When running in these environments code objects can end up occupying a lot of memory.  Because the code objects are on random pages and are ref counted the ref counts can cause all of the code to not be shared across processes.

If code objects supported the buffer protocol it would be possible to load code from a memory mapped file which is shared across all of the processes.
History
Date User Action Args
2019-05-07 19:56:26dino.viehlandsetrecipients: + dino.viehland
2019-05-07 19:56:26dino.viehlandsetmessageid: <1557258986.94.0.539165158195.issue36839@roundup.psfhosted.org>
2019-05-07 19:56:26dino.viehlandlinkissue36839 messages
2019-05-07 19:56:26dino.viehlandcreate