mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
GH-109369: Add machinery for deoptimizing tier2 executors, both individually and globally. (GH-110384)
This commit is contained in:
parent
32c37fe1ba
commit
52e902ccf0
7 changed files with 353 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue