mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue