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 methane
Recipients barry, benjamin.peterson, davin, lukasz.langa, methane, nascheme, tim.peters, vstinner, yselivanov
Date 2017-09-24.07:40:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506238847.74.0.184331904455.issue31558@psf.upfronthosting.co.za>
In-reply-to
Content
Nice idea!

I think it helps not only sharing more memory for forking application,
but also long running large application.
There are many static objects which is tracked by GC.
It makes full GC time long.  And CPU cache is filled by unused data.

For example, web worker loading application after fork. (uWSGI's --lazy-app option).
Such application can call `gc.freeze()` after loading full application, before starting processing request.
History
Date User Action Args
2017-09-24 07:40:47methanesetrecipients: + methane, tim.peters, barry, nascheme, vstinner, benjamin.peterson, lukasz.langa, yselivanov, davin
2017-09-24 07:40:47methanesetmessageid: <1506238847.74.0.184331904455.issue31558@psf.upfronthosting.co.za>
2017-09-24 07:40:47methanelinkissue31558 messages
2017-09-24 07:40:47methanecreate