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 ypank
Recipients docs@python, ypank
Date 2020-08-01.17:58:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1596304691.88.0.58289993883.issue41455@roundup.psfhosted.org>
In-reply-to
Content
As I can see here https://github.com/python/devguide/blob/master/garbage_collector.rst#collecting-the-oldest-generation

> the GC only triggers a full collection of the oldest generation if the ratio long_lived_pending / long_lived_total is above a given value (hardwired to 25%)

But in the python docs here https://docs.python.org/3.10/library/gc.html#gc.set_threshold

> When the number of allocations minus the number of deallocations exceeds threshold0, collection starts. Initially only generation 0 is examined. If generation 0 has been examined more than threshold1 times since generation 1 has been examined, then generation 1 is examined as well. Similarly, threshold2 controls the number of collections of generation 1 before collecting generation 2.

So, which one is correct?
History
Date User Action Args
2020-08-01 17:58:11ypanksetrecipients: + ypank, docs@python
2020-08-01 17:58:11ypanksetmessageid: <1596304691.88.0.58289993883.issue41455@roundup.psfhosted.org>
2020-08-01 17:58:11ypanklinkissue41455 messages
2020-08-01 17:58:11ypankcreate