mirror of
https://github.com/python/cpython.git
synced 2025-08-25 03:04:55 +00:00
gh-111968: Use per-thread freelists for PyContext in free-threading (gh-114122)
This commit is contained in:
parent
d2d8332f71
commit
867f59f234
9 changed files with 32 additions and 48 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue