Skip to content

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 JuliaDebug/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 JuliaDebug/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
JuliaDebug/SnoopCompile.jl#413 (comment)
@KristofferC KristofferC mentioned this pull request Mar 31, 2025
71 tasks
@KristofferC KristofferC removed the backport 1.11 Change should be backported to release-1.11 label Apr 10, 2025
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.

3 participants