mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
GH-126795: Increase the JIT side-exit threshold from 64 to 4096 (GH-127155)
This commit is contained in:
parent
7c5a6f67c7
commit
94b8f8b409
1 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue