mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
gh-111968: Use per-thread freelists for dict in free-threading (gh-114323)
This commit is contained in:
parent
587d480203
commit
13907968d7
13 changed files with 75 additions and 75 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue