diff --git a/Include/internal/pycore_backoff.h b/Include/internal/pycore_backoff.h index c99235116b1a3e..842d8eac8bf5f3 100644 --- a/Include/internal/pycore_backoff.h +++ b/Include/internal/pycore_backoff.h @@ -108,8 +108,8 @@ backoff_counter_triggers(_Py_BackoffCounter counter) /* Initial JUMP_BACKWARD counter. * This determines when we create a trace for a loop. * Backoff sequence 16, 32, 64, 128, 256, 512, 1024, 2048, 4096. */ -#define JUMP_BACKWARD_INITIAL_VALUE 64 -#define JUMP_BACKWARD_INITIAL_BACKOFF 6 +#define JUMP_BACKWARD_INITIAL_VALUE 16 +#define JUMP_BACKWARD_INITIAL_BACKOFF 4 static inline _Py_BackoffCounter initial_jump_backoff_counter(void) { @@ -122,8 +122,8 @@ initial_jump_backoff_counter(void) * 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 64 -#define SIDE_EXIT_INITIAL_BACKOFF 6 +#define SIDE_EXIT_INITIAL_VALUE 512 +#define SIDE_EXIT_INITIAL_BACKOFF 9 static inline _Py_BackoffCounter initial_temperature_backoff_counter(void)