Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-143807: Fix JIT executor overflow caused by large backoff values #143812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

@VanshAgarwal24036
Copy link
Contributor

@VanshAgarwal24036 VanshAgarwal24036 commented Jan 13, 2026
edited by github-actions bot
Loading

This PR fixes a JIT crash where executor table size could exceed
MAX_EXECUTORS_SIZE due to excessively large initial backoff values.

Reducing the initial values for backward jumps and side exits keeps
executor growth bounded while preserving existing cooldown and tracing
heuristics.

Fixes gh-143807.


📚 Documentation preview 📚: https://cpython-previews--143812.org.readthedocs.build/

Copy link
Member

Is the change to JUMP_BACKWARD_INITIAL_VALUE from 4000 to 63 intended? I only use the smaller value because it makes crashing the JIT easier.

Copy link
Member

Sorry but this fix doesn't seem right. The problem isn't with the warmup/backoff values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

JIT: Assertion size < MAX_EXECUTORS_SIZE failed in get_index_for_executor

AltStyle によって変換されたページ (->オリジナル) /