summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-10-23 13:49:09 (GMT)
committerGitHub <noreply@github.com>2023-10-23 13:49:09 (GMT)
commit52e902ccf0178d7a3f26de4bba7922b01c0d4d3c (patch)
tree1f5924ef032ba13f1115c4c88541d293f6331875 /Python/pystate.c
parent32c37fe1ba708b8290cfa971e130bcfc29f1ead3 (diff)
downloadcpython-52e902ccf0178d7a3f26de4bba7922b01c0d4d3c.zip
cpython-52e902ccf0178d7a3f26de4bba7922b01c0d4d3c.tar.gz
cpython-52e902ccf0178d7a3f26de4bba7922b01c0d4d3c.tar.bz2
GH-109369: Add machinery for deoptimizing tier2 executors, both individually and globally. (GH-110384)
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 2e6f07e..c44a28c 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -713,6 +713,7 @@ init_interpreter(PyInterpreterState *interp,
interp->optimizer_backedge_threshold = _PyOptimizer_Default.backedge_threshold;
interp->optimizer_resume_threshold = _PyOptimizer_Default.backedge_threshold;
interp->next_func_version = 1;
+ interp->executor_list_head = NULL;
if (interp != &runtime->_main_interpreter) {
/* Fix the self-referential, statically initialized fields. */
interp->dtoa = (struct _dtoa_state)_dtoa_state_INIT(interp);