diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2024-11-20 16:11:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-20 16:11:25 (GMT) |
commit | 48c50ff1a22f086c302c52a70eb9912d76c66f91 (patch) | |
tree | 0d0412c0688a33a504d86e51b8931d95801b836d /Python/executor_cases.c.h | |
parent | addb225f3823b03774cddacce35214dd471bec46 (diff) | |
download | cpython-48c50ff1a22f086c302c52a70eb9912d76c66f91.zip cpython-48c50ff1a22f086c302c52a70eb9912d76c66f91.tar.gz cpython-48c50ff1a22f086c302c52a70eb9912d76c66f91.tar.bz2 |
GH-126892: Reset warmup counters when JIT compiling code (GH-126893)
Diffstat (limited to 'Python/executor_cases.c.h')
-rw-r--r-- | Python/executor_cases.c.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h index 2c2a09a..e9c9ed2 100644 --- a/Python/executor_cases.c.h +++ b/Python/executor_cases.c.h @@ -5750,6 +5750,9 @@ tstate->previous_executor = (PyObject *)current_executor; GOTO_TIER_ONE(target); } + else { + exit->temperature = initial_temperature_backoff_counter(); + } } exit->executor = executor; } |