File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -1342,21 +1342,6 @@ gc_list_set_space(PyGC_Head *list, int space)
13421342 return size ;
13431343}
13441344
1345- /* Making progress in the incremental collector
1346- * In order to eventually collect all cycles
1347- * the incremental collector must progress through the old
1348- * space faster than objects are added to the old space.
1349- *
1350- * Each young or incremental collection adds a number of
1351- * objects, S (for survivors) to the old space, and
1352- * incremental collectors scan I objects from the old space.
1353- * I > S must be true. We also want I > S * N to be where
1354- * N > 1. Higher values of N mean that the old space is
1355- * scanned more rapidly.
1356- * The default incremental threshold of 10 translates to
1357- * N == 1.4 (1 + 4/threshold)
1358- */
1359-
13601345/* Divide by 10, so that the default incremental threshold of 10
13611346 * scans objects at 1% of the heap size */
13621347#define SCAN_RATE_DIVISOR 10
You can’t perform that action at this time.
0 commit comments