aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/gc_free_threading.c
diff options
context:
space:
mode:
authorDonghee Na <donghee.na@python.org>2024-01-17 01:14:56 +0900
committerGitHub <noreply@github.com>2024-01-16 16:14:56 +0000
commit867f59f234a4135901070a386d55327e44ee1b7a (patch)
tree4efd9688579f18cdf080c869d74c6bbdaccd14d1 /Python/gc_free_threading.c
parentd2d8332f71ae8059150a9d8d91498493f9b443fc (diff)
downloadcpython-867f59f234a4135901070a386d55327e44ee1b7a.tar.gz
cpython-867f59f234a4135901070a386d55327e44ee1b7a.zip
gh-111968: Use per-thread freelists for PyContext in free-threading (gh-114122)
Diffstat (limited to 'Python/gc_free_threading.c')
-rw-r--r--Python/gc_free_threading.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/gc_free_threading.c b/Python/gc_free_threading.c
index b1d88ff84a9..b1511eb5a70 100644
--- a/Python/gc_free_threading.c
+++ b/Python/gc_free_threading.c
@@ -16,7 +16,6 @@ _PyGC_ClearAllFreeLists(PyInterpreterState *interp)
{
_PyDict_ClearFreeList(interp);
_PyAsyncGen_ClearFreeLists(interp);
- _PyContext_ClearFreeList(interp);
HEAD_LOCK(&_PyRuntime);
_PyThreadStateImpl *tstate = (_PyThreadStateImpl *)interp->threads.head;