Message302832
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. |
|
Date |
User |
Action |
Args |
2017-09-24 07:51:31 | methane | set | recipients:
+ methane, tim.peters, barry, nascheme, rhettinger, vstinner, benjamin.peterson, lukasz.langa, yselivanov, davin |
2017-09-24 07:51:31 | methane | set | messageid: <1506239491.16.0.534996436317.issue31558@psf.upfronthosting.co.za> |
2017-09-24 07:51:31 | methane | link | issue31558 messages |
2017-09-24 07:51:30 | methane | create | |
|