Skip to content

GH-109369: Add machinery for deoptimizing tier2 executors, both individually and globally. #110358

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

Closed
wants to merge 6 commits into from

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Oct 4, 2023

This PR just provides the machinery; we still need to add support to the executors and to make the necessary calls when instrumenting.

The implementation uses a bloom filter.
The advantage of a bloom filter is that it requires no coupling between the executors and the objects they depend on, plus it is simpler to implement and uses less memory than a precise mapping.

I've chosen k = 6 and m = 256.
This should give a low enough false positive rate for most cases. We want to keep the false positive rate very low, as spurious de-optimizations could be expensive.

@markshannon
Copy link
Member Author

Closing. Superseded by #110384

@markshannon markshannon closed this Oct 5, 2023
@markshannon markshannon deleted the tier2-deopt branch August 6, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant