Skip to content

Commit 94b8f8b

Browse files
authored
GH-126795: Increase the JIT side-exit threshold from 64 to 4096 (GH-127155)
1 parent 7c5a6f6 commit 94b8f8b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Include/internal/pycore_backoff.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,9 @@ initial_jump_backoff_counter(void)
115115
/* Initial exit temperature.
116116
* Must be larger than ADAPTIVE_COOLDOWN_VALUE,
117117
* otherwise when a side exit warms up we may construct
118-
* a new trace before the Tier 1 code has properly re-specialized.
119-
* Backoff sequence 64, 128, 256, 512, 1024, 2048, 4096. */
120-
#define SIDE_EXIT_INITIAL_VALUE 63
121-
#define SIDE_EXIT_INITIAL_BACKOFF 6
118+
* a new trace before the Tier 1 code has properly re-specialized. */
119+
#define SIDE_EXIT_INITIAL_VALUE 4095
120+
#define SIDE_EXIT_INITIAL_BACKOFF 12
122121

123122
static inline _Py_BackoffCounter
124123
initial_temperature_backoff_counter(void)

0 commit comments

Comments
 (0)