]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40521: Make frame free list per-interpreter (GH-20638)
authorVictor Stinner <vstinner@python.org>
Thu, 4 Jun 2020 23:39:24 +0000 (01:39 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Jun 2020 23:39:24 +0000 (01:39 +0200)
commit3744ed2c9c0b3905947602fc375de49533790cb9
treef2086f04a9edd9875c6f0ec2eb1f2f0d6e85aa41
parent7daba6f221e713f7f60c613b246459b07d179f91
bpo-40521: Make frame free list per-interpreter (GH-20638)

Each interpreter now has its own frame free list:

* Move frame free list into PyInterpreterState.
* Add _Py_frame_state structure.
* Add tstate parameter to _PyFrame_ClearFreeList()
  and _PyFrame_Fini().
* Remove "#if PyFrame_MAXFREELIST > 0".
* Remove "#ifdef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS".
Include/internal/pycore_gc.h
Include/internal/pycore_interp.h
Include/internal/pycore_pylifecycle.h
Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst
Modules/gcmodule.c
Objects/frameobject.c
Python/pylifecycle.c