gh-111968: Use per-thread freelists for PyContext in free-threading (gh-114122)

This commit is contained in:
Donghee Na 2024-01-17 01:14:56 +09:00 committed by GitHub
parent d2d8332f71
commit 867f59f234
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 32 additions and 48 deletions

View file

@ -1736,7 +1736,6 @@ finalize_interp_types(PyInterpreterState *interp)
_PyXI_FiniTypes(interp);
_PyExc_Fini(interp);
_PyAsyncGen_Fini(interp);
_PyContext_Fini(interp);
_PyFloat_FiniType(interp);
_PyLong_FiniTypes(interp);
_PyThread_FiniType(interp);
@ -1759,6 +1758,7 @@ finalize_interp_types(PyInterpreterState *interp)
_PyList_Fini(state);
_PyFloat_Fini(state);
_PySlice_Fini(state);
_PyContext_Fini(state);
#ifdef Py_DEBUG
_PyStaticObjects_CheckRefcnt(interp);