Author inada.naoki
Recipients barry, benjamin.peterson, davin, inada.naoki, lukasz.langa, 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:47inada.naokisetrecipients: + inada.naoki, tim.peters, barry, nascheme, vstinner, benjamin.peterson, lukasz.langa, yselivanov, davin
2017-09-24 07:40:47inada.naokisetmessageid: <1506238847.74.0.184331904455.issue31558@psf.upfronthosting.co.za>
2017-09-24 07:40:47inada.naokilinkissue31558 messages
2017-09-24 07:40:47inada.naokicreate