Skip to content
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

Fix some string-related invalidation risks #37799

Merged
merged 1 commit into from
Sep 30, 2020
Merged

Conversation

timholy
Copy link
Member

@timholy timholy commented Sep 29, 2020

While doing some other tests on #37754, I got the impression that the number of at-risk MethodInstances had risen (#37741 (comment)). I'm still not sure it was causal, although precompiling Test methods makes sense as a potential source of newly-visible vulnerabilities. Whatever the origin, this PR reduces risk by helping inference mostly in path-related code (Pkg, BinaryPlatforms, and others). Together with JuliaLang/Pkg.jl#2049, this drops our mean number of backedges for at-risk signatures (xref #37193) from the mid-30s to around 20, quite a significant drop for such a small set of changes.

@timholy timholy merged commit 7af47af into master Sep 30, 2020
@timholy timholy deleted the teh/string_invalidations branch September 30, 2020 07:20
Keno pushed a commit that referenced this pull request Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants