[issue46476] Not all memory allocated by _Py_Quicken() is not released at Python exit

2022-01-22 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +Mark.Shannon, eric.snow, gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46476] Not all memory allocated by _Py_Quicken() is not released at Python exit

2022-01-22 Thread STINNER Victor
New submission from STINNER Victor : Python leaks around 66 memory blocks at exit. Most of them are allocated by _Py_Quicken() of Python/specialize.c. int _Py_Quicken(PyCodeObject *code) { ... SpecializedCacheOrInstruction *quickened = allocate(entry_count, instr_count); ...