mirror of
https://github.com/python/cpython.git
synced 2025-08-23 10:16:01 +00:00
gh-115168: Add pystats counter for invalidated executors (GH-115169)
This commit is contained in:
parent
96c10c6485
commit
b05afdd5ec
11 changed files with 31 additions and 14 deletions
|
@ -2666,7 +2666,7 @@ _PyInterpreterState_SetEvalFrameFunc(PyInterpreterState *interp,
|
|||
return;
|
||||
}
|
||||
if (eval_frame != NULL) {
|
||||
_Py_Executors_InvalidateAll(interp);
|
||||
_Py_Executors_InvalidateAll(interp, 1);
|
||||
}
|
||||
RARE_EVENT_INC(set_eval_frame_func);
|
||||
interp->eval_frame = eval_frame;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue