diff options
author | Donghee Na <donghee.na@python.org> | 2024-02-02 05:53:53 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-01 20:53:53 +0000 |
commit | 13907968d73b3b602c81e240fb7892a2627974d6 (patch) | |
tree | 1113a242a55c14484f81d0997a167cacc5e42da1 /Python/gc_free_threading.c | |
parent | 587d4802034749e2aace9c00b00bd73eccdae1e7 (diff) | |
download | cpython-13907968d73b3b602c81e240fb7892a2627974d6.tar.gz cpython-13907968d73b3b602c81e240fb7892a2627974d6.zip |
gh-111968: Use per-thread freelists for dict in free-threading (gh-114323)
Diffstat (limited to 'Python/gc_free_threading.c')
-rw-r--r-- | Python/gc_free_threading.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/gc_free_threading.c b/Python/gc_free_threading.c index 53f927bfa65..8fbcdb15109 100644 --- a/Python/gc_free_threading.c +++ b/Python/gc_free_threading.c @@ -1676,8 +1676,6 @@ PyUnstable_GC_VisitObjects(gcvisitobjects_t callback, void *arg) void _PyGC_ClearAllFreeLists(PyInterpreterState *interp) { - _PyDict_ClearFreeList(interp); - HEAD_LOCK(&_PyRuntime); _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)interp->threads.head; while (tstate != NULL) { |