Message411321
Patch to disable _Py_Quicken(), to help me debugging other memory leaks at Python exit:
diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h
index dfc75300315..f9cdefed2a2 100644
--- a/Include/internal/pycore_code.h
+++ b/Include/internal/pycore_code.h
@@ -146,12 +146,14 @@ int _Py_Quicken(PyCodeObject *code);
static inline int
_Py_IncrementCountAndMaybeQuicken(PyCodeObject *code)
{
+#if 0
if (code->co_warmup != 0) {
code->co_warmup++;
if (code->co_warmup == 0) {
return _Py_Quicken(code) ? -1 : 1;
}
}
+#endif
return 0;
} |
|
| Date |
User |
Action |
Args |
| 2022-01-23 00:52:34 | vstinner | set | recipients:
+ vstinner, gvanrossum, Mark.Shannon, eric.snow |
| 2022-01-23 00:52:34 | vstinner | set | messageid: <[email protected]> |
| 2022-01-23 00:52:34 | vstinner | link | issue46476 messages |
| 2022-01-23 00:52:34 | vstinner | create | |
|