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

[backports-release-1.11] Revert "precompile: don't waste memory on useless inferred code" #57864

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

timholy
Copy link
Member

@timholy timholy commented Mar 22, 2025

This reverts commit bdf8219, from #56749

Note that this PR is made against backports-release-1.11.

Rationale: when coverage is on, both the native code and the inferred code might be eliminated, a complete loss of all precompilation results. There are intentions to adopt a new strategy for Julia 1.12, but in the meantime we should revert this change since it is "just" a sysimg size reduction.

Affected Julia versions: 1.11.3, 1.11.4

xref timholy/SnoopCompile.jl#413 (comment)

…)"

This reverts commit bdf8219.

Rationale: when coverage is on, both the native code and the inferred code
might be eliminated, a complete loss of all precompilation results.
There are intentions to adopt a new strategy for Julia 1.12, but in the
meantime we should revert this change since it is "just" a sysimg size
reduction.

xref timholy/SnoopCompile.jl#413 (comment)
@timholy timholy requested a review from vtjnash March 22, 2025 14:06
@timholy timholy added the backport 1.11 Change should be backported to release-1.11 label Mar 22, 2025
@IanButterworth IanButterworth changed the title Revert "precompile: don't waste memory on useless inferred code" [backports-release-1.11] Revert "precompile: don't waste memory on useless inferred code" Mar 22, 2025
@timholy
Copy link
Member Author

timholy commented Mar 23, 2025

Since I haven't been following recently, let me ask: are the llvmpasses and i686-linux-gnu failures likely due to this PR? They don't seem obviously related.

I could submit a dummy PR against backports-1.11 to find out, but that seems like a waste of resources if someone already knows the answer.

@KristofferC
Copy link
Member

Also happens on the backport branch CI so not due to this then?

@KristofferC KristofferC merged commit 59ec75e into backports-release-1.11 Mar 25, 2025
5 of 9 checks passed
@KristofferC KristofferC deleted the teh/revert_56749 branch March 25, 2025 12:55
KristofferC pushed a commit that referenced this pull request Mar 25, 2025
…eless inferred code" (#57864)

This reverts commit bdf8219, from
#56749

**Note that this PR is made against `backports-release-1.11`.**

Rationale: when coverage is on, both the native code and the inferred
code might be eliminated, a complete loss of all precompilation results.
There are intentions to adopt a new strategy for Julia 1.12, but in the
meantime we should revert this change since it is "just" a sysimg size
reduction.

Affected Julia versions: 1.11.3, 1.11.4

xref
timholy/SnoopCompile.jl#413 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.11 Change should be backported to release-1.11
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants