Open
Description
From #111968, we now manage free lists as per-thread resources.
But the overhead of this implementation is that gc should traverse the resources of all threads that belong to the interpreter.
Since the clearing multiple per thread resources can be split by multiple thread tasks, it will be beneficial to reduce GC time.
ref: #113584 (comment)
source code:
cpython/Python/gc_free_threading.c
Lines 21 to 27 in dac1da2
cc @colesbury