We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e965ab commit f1834ddCopy full SHA for f1834dd
1 file changed
Doc/library/gc.rst
@@ -128,6 +128,11 @@ The :mod:`gc` module provides the following functions:
128
starts. For each collection, all the objects in the young generation and some
129
fraction of the old generation is collected.
130
131
+ In the free-threaded build, the increase in process resident set size (RSS)
132
+ is also checked before running the collector. If the RSS has not increased
133
+ by 10% since the last collection and the net number of object allocations
134
+ has not exceeded 40 times *threshold0*, the collection is not run.
135
+
136
The fraction of the old generation that is collected is **inversely** proportional
137
to *threshold1*. The larger *threshold1* is, the slower objects in the old generation
138
are collected.
0 commit comments