diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2024-12-04 23:01:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-04 23:01:28 (GMT) |
commit | 94b8f8b40943bf38cf5c454773a3fb8f4ff71e01 (patch) | |
tree | 7ad2fb237d9df48e8eb3b42813e9580e41aa93b7 /Include | |
parent | 7c5a6f67c726608a05a640e76fc62cfbae986a03 (diff) | |
download | cpython-94b8f8b40943bf38cf5c454773a3fb8f4ff71e01.zip cpython-94b8f8b40943bf38cf5c454773a3fb8f4ff71e01.tar.gz cpython-94b8f8b40943bf38cf5c454773a3fb8f4ff71e01.tar.bz2 |
GH-126795: Increase the JIT side-exit threshold from 64 to 4096 (GH-127155)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_backoff.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Include/internal/pycore_backoff.h b/Include/internal/pycore_backoff.h index 3e02728..b5e33fa 100644 --- a/Include/internal/pycore_backoff.h +++ b/Include/internal/pycore_backoff.h @@ -115,10 +115,9 @@ initial_jump_backoff_counter(void) /* Initial exit temperature. * Must be larger than ADAPTIVE_COOLDOWN_VALUE, * otherwise when a side exit warms up we may construct - * a new trace before the Tier 1 code has properly re-specialized. - * Backoff sequence 64, 128, 256, 512, 1024, 2048, 4096. */ -#define SIDE_EXIT_INITIAL_VALUE 63 -#define SIDE_EXIT_INITIAL_BACKOFF 6 + * a new trace before the Tier 1 code has properly re-specialized. */ +#define SIDE_EXIT_INITIAL_VALUE 4095 +#define SIDE_EXIT_INITIAL_BACKOFF 12 static inline _Py_BackoffCounter initial_temperature_backoff_counter(void) |