bpo-40521: Make frame free list per-interpreter by vstinner · Pull Request #20638 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Conversation
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"
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"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters