-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
release-1.7: Backports for 1.7.0/1.7.0-rc4 #43084
Commits on Nov 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5adcb4b - Browse repository at this point
Copy the full SHA 5adcb4bView commit details -
codegen: add missing initialization for PhiC nodes (#43029)
Our Phi handling assumes that it can references undefined memory, and get back legal results, but our PhiC nodes were not initialized, so the Phi node might see uninitialized results, and then cause the GC to crash. This was observed in PkgEval on the PoreMatMod.jl package to occur in recent Julia versions and master. (cherry picked from commit ec3ec02)
Configuration menu - View commit details
-
Copy full SHA for 976a79e - Browse repository at this point
Copy the full SHA 976a79eView commit details -
Symlink 7z when USE_SYSTEM_P7ZIP (#43005)
* Symlink 7z * Simplify Co-authored-by: Elliot Saba <[email protected]> Co-authored-by: Elliot Saba <[email protected]> (cherry picked from commit 5e2894b)
Configuration menu - View commit details
-
Copy full SHA for ae4035a - Browse repository at this point
Copy the full SHA ae4035aView commit details -
Stop stripping git, github, and CI config files from source distribut…
…ions. (cherry picked from commit 780ebea)
Configuration menu - View commit details
-
Copy full SHA for 07d6734 - Browse repository at this point
Copy the full SHA 07d6734View commit details -
Make profiling more robust with many tasks (#42978)
This patch includes two sets of changes. (1) `jl_thread_suspend_and_get_state` uses `pthread_cond_timedwait` to recover from the case where the request is not received by the signal handler. This is required because `usr2_handler` contains some paths for the case where it is not possible to obtain `ptls`. (2) `ctx_switch` now makes sure to null out `ptls` of the last task (`lastt->ptls = NULL`) after changing the current task by updating pgcstack (`jl_set_pgcstack(&t->gcstack)`). This closes the gap in which `usr2_handler` can observe the null `ptls`. Co-authored-by: Jameson Nash <[email protected]> (cherry picked from commit 8131580)
Configuration menu - View commit details
-
Copy full SHA for ee261dc - Browse repository at this point
Copy the full SHA ee261dcView commit details
Commits on Nov 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5dba096 - Browse repository at this point
Copy the full SHA 5dba096View commit details
Commits on Nov 26, 2021
-
Previously, we were disallowing the opposite of the orders that we intended to disallow. (cherry picked from commit 28c49ce)
Configuration menu - View commit details
-
Copy full SHA for fa51d23 - Browse repository at this point
Copy the full SHA fa51d23View commit details -
Unbreak source distribution tarball construction. (#43096)
Co-authored-by: Jameson Nash <[email protected]> (cherry picked from commit d958c8c)
Configuration menu - View commit details
-
Copy full SHA for eae365c - Browse repository at this point
Copy the full SHA eae365cView commit details -
Fix world age issue with custom streams for Distributed workers (#42481)
If connect(::CustomClusterManager, ...) returns a custom transport stream, use of that stream by the task in start_gc_msgs_task() may fail due to the task executing in an old world age. Add an invokelatest() to prevent this problem. (cherry picked from commit a05bcb2)
Configuration menu - View commit details
-
Copy full SHA for ca091f4 - Browse repository at this point
Copy the full SHA ca091f4View commit details -
Document that cfunctions should not throw errors (#43100)
* Document that cfunctions should not throw errors This was not documented, see https://discourse.julialang.org/t/what-happens-when-you-throw-an-error-from-a-cfunction/71510?u=simonbyrne * Update doc/src/manual/calling-c-and-fortran-code.md Co-authored-by: Jameson Nash <[email protected]> Co-authored-by: Jameson Nash <[email protected]> (cherry picked from commit 0722f3c)
Configuration menu - View commit details
-
Copy full SHA for 73cfbdf - Browse repository at this point
Copy the full SHA 73cfbdfView commit details -
Fix regression in
map
andcollect
(#43120)`promote_typejoin_tuple` returned a type which was more precise than the one which `map` and `collect` actually use via `promote_type`, triggering an assertion error in corner cases. (cherry picked from commit edea1de)
Configuration menu - View commit details
-
Copy full SHA for 14132d7 - Browse repository at this point
Copy the full SHA 14132d7View commit details -
Updated checksums for LBT (#42334)
(cherry picked from commit f60736f)
Configuration menu - View commit details
-
Copy full SHA for 08002ba - Browse repository at this point
Copy the full SHA 08002baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 501c9ac - Browse repository at this point
Copy the full SHA 501c9acView commit details -
Includes several fixes: JuliaLang/libuv@c6869fb...3a63bf7 (cherry picked from commit 04d486b)
Configuration menu - View commit details
-
Copy full SHA for 3f81baa - Browse repository at this point
Copy the full SHA 3f81baaView commit details -
Make stale_cachefile compatible with Nix mtime (#43090)
The added condition improves compatiblity with Nix mtime. (cherry picked from commit f5e0f9d)
Configuration menu - View commit details
-
Copy full SHA for bbb2233 - Browse repository at this point
Copy the full SHA bbb2233View commit details -
Base.runtests
: rename the--force-net
option to--ci
(#43168)Co-authored-by: Rafael Fourquet <[email protected]> Co-authored-by: Rafael Fourquet <[email protected]> (cherry picked from commit e9430c9)
Configuration menu - View commit details
-
Copy full SHA for 348a6fb - Browse repository at this point
Copy the full SHA 348a6fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06516f6 - Browse repository at this point
Copy the full SHA 06516f6View commit details -
Fix links to external stdlib repos in docs, fixes #43199. (#43225)
(cherry picked from commit 3103102)
Configuration menu - View commit details
-
Copy full SHA for 72d6569 - Browse repository at this point
Copy the full SHA 72d6569View commit details -
@testset
: with Xoshiro, restore Random.GLOBAL_SEED (#43188)A `@testset` is supposed to restore the "global RNG state" as it was before execution (so that they can be re-ordered easily, etc.) Also, before a testset starts, the default RNG is re-seeded with the "global seed" (to help reproduce test failures). Before `Xoshiro` as the default RNG, the "global seed" was stored within a `MersenneTwister` object. It was enough for a testset to copy the default RNG at the start, and copy it back at the end. But now the global seed is stored outside of the RNG, so it should also be restored separately. (cherry picked from commit 08ea2d8)
Configuration menu - View commit details
-
Copy full SHA for bf8d60b - Browse repository at this point
Copy the full SHA bf8d60bView commit details -
IRShow: use
IOContext
forPhiNodes
/:invoke
printing (#43226)In order to allow `Argument`s to be printed nicely. > before ```julia julia> code_typed((Float64,)) do x sin(x) end 1-element Vector{Any}: CodeInfo( 1 ─ %1 = invoke Main.sin(_2::Float64)::Float64 └── return %1 ) => Float64 julia> code_typed((Bool,Any,Any)) do c, x, y z = c ? x : y z end 1-element Vector{Any}: CodeInfo( 1 ─ goto #3 if not c 2 ─ goto #4 3 ─ nothing::Nothing 4 ┄ %4 = φ (#2 => _3, #3 => _4)::Any └── return %4 ) => Any ``` > after ```julia julia> code_typed((Float64,)) do x sin(x) end 1-element Vector{Any}: CodeInfo( 1 ─ %1 = invoke Main.sin(x::Float64)::Float64 └── return %1 ) => Float64 julia> code_typed((Bool,Any,Any)) do c, x, y z = c ? x : y z end 1-element Vector{Any}: CodeInfo( 1 ─ goto #3 if not c 2 ─ goto #4 3 ─ nothing::Nothing 4 ┄ %4 = φ (#2 => x, #3 => y)::Any └── return %4 ) => Any ```
Configuration menu - View commit details
-
Copy full SHA for 9bee745 - Browse repository at this point
Copy the full SHA 9bee745View commit details -
Make argument mismatch in opaque closure a MethodError (#41206)
This at least shows the argument types. In the future we may want to add some logic to the errorshow code to improve this even further, but good enough for now.
Configuration menu - View commit details
-
Copy full SHA for 0848394 - Browse repository at this point
Copy the full SHA 0848394View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b1637b - Browse repository at this point
Copy the full SHA 6b1637bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe216ae - Browse repository at this point
Copy the full SHA fe216aeView commit details -
Backport: Fix stack pointer retrieval in jl_backtrace_from_here (#42585…
…) (#43241) * Fix stack pointer retrieval in jl_backtrace_from_here (#42585) Co-authored-by: Jameson Nash <[email protected]> (cherry picked from commit 455236e) * Avoid using call-site `@noinline`
Configuration menu - View commit details
-
Copy full SHA for 7f29663 - Browse repository at this point
Copy the full SHA 7f29663View commit details