Author inada.naoki
Recipients barry, benjamin.peterson, davin, inada.naoki, lukasz.langa, nascheme, rhettinger, tim.peters, vstinner, yselivanov
Date 2017-09-24.07:51:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506239491.16.0.534996436317.issue31558@psf.upfronthosting.co.za>
In-reply-to
Content
AFAIK, Python shutdown process calls full GC.

Don't touching permanent generation makes shutdown faster.
On the other hand, there are some downside:

* Some object may be not freed while shutdown.  It looks like "leak" for application embedding Python interpreter.
* Some __del__ methods may be not be called.

Of course, GC permanent generation while shutdown doesn't make sense.
gc.freeze() is used for sharing more memory pages.  Shutdown process
shouldn't unshare them.

So I think these notable downside should be documented.
History
Date User Action Args
2017-09-24 07:51:31inada.naokisetrecipients: + inada.naoki, tim.peters, barry, nascheme, rhettinger, vstinner, benjamin.peterson, lukasz.langa, yselivanov, davin
2017-09-24 07:51:31inada.naokisetmessageid: <1506239491.16.0.534996436317.issue31558@psf.upfronthosting.co.za>
2017-09-24 07:51:31inada.naokilinkissue31558 messages
2017-09-24 07:51:30inada.naokicreate