From b05afdd5ec325bdb4cc89bb3be177ed577bea41f Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Mon, 26 Feb 2024 12:51:47 -0500 Subject: gh-115168: Add pystats counter for invalidated executors (GH-115169) --- Python/optimizer_analysis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/optimizer_analysis.c') diff --git a/Python/optimizer_analysis.c b/Python/optimizer_analysis.c index 1a9e82903ff..e9751291e2f 100644 --- a/Python/optimizer_analysis.c +++ b/Python/optimizer_analysis.c @@ -405,7 +405,7 @@ globals_watcher_callback(PyDict_WatchEvent event, PyObject* dict, { RARE_EVENT_STAT_INC(watched_globals_modification); assert(get_mutations(dict) < _Py_MAX_ALLOWED_GLOBALS_MODIFICATIONS); - _Py_Executors_InvalidateDependency(_PyInterpreterState_GET(), dict); + _Py_Executors_InvalidateDependency(_PyInterpreterState_GET(), dict, 1); increment_mutations(dict); PyDict_Unwatch(GLOBALS_WATCHER_ID, dict); return 0; -- cgit v1.2.3