| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
v0.6.4.1 includes several important correctness fixes not present
in v0.6.2.1.
Fixes #19206.
|
| |
|
|
| |
Cherry-picked from: 2754419673eabea772f27e9ad9275ef6acaddae3
|
| |
|
|
| |
Closes #19161.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The `Applicative` instance is the most important one (for
array/vector/sequence indexing purposes), but it deserves
all the usual ones.
T12545 alloc increases 1.0%; Ben Gamari suspects this is just from
having more instances around.
Metric Increase:
T12545
(cherry picked from commit 372a92d831151977944df488ba2770768edc45d9)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously lookupSymbol_PEi386 would call lookupSymbol while
holding linker_mutex. Fix this by rather
calling `lookupDependentSymbol`. This is safe
because lookupSymbol_PEi386 unconditionally holds linker_mutex.
Happily, this un-breaks `T12771`, `T13082_good`, and `T14611`, which
were previously marked as broken due to #18718.
Closes #19155.
(cherry picked from commit a7105e53921e715d4d70c7c45ddc79bdc6eebffc)
|
| |
|
|
| |
(cherry picked from commit 61ce4261bb4c21ca5c41fcfc2107a81726cf22c1)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The refactoring in ed57c3a9eb9286faa222f98e484a9ef3432b2025 failed to
initialize this field, resulting in no exports being registered. A very
silly bug and yet somehow none of our tests caught it.
See #18548.
Fixes #19149.
(cherry picked from commit 4cd2674fbf1adb1e1d951dcb65e78eda03732484)
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit 93c88c266eacd80a7f2a1754778167390c287b18.
This change did not accomplish its stated purpose, because
(assuming `openFileBlocking` is called with `bracket`),
`throwOnMinus1Retry` would just retry the interrupted
`c_safe_open` call without first delivering pending
exceptions using `allowInterrupt`.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The fix for 18919 was somewhat incomplete: while the MVars were
correctly added to the mut_list via dirty_MVAR(), their info table
remained "clean".
While this is mostly harmless in non-debug builds, it trips an
assertion in the debug build, and may result in the MVar being
needlessly being added to the mut_list multiple times.
Resolves: #19145
|
| |
|
|
| |
(cherry picked from commit 65b702f131a0629a4ff8440754bd1a17f9860e54)
|
| |
|
|
|
|
|
|
| |
Previously we would push large objects and compact regions to the mark
queue during the deadlock detect GC, resulting in failure to detect
deadlocks.
(cherry picked from commit a2731d49d95f7397a6a267a322ed75b0c3a5c246)
|
| |
|
|
|
|
| |
Pull the cold non-moving allocation path out of alloc_for_copy.
(cherry picked from commit a13bd3f147d63968bc50df6f43154bf2a05809df)
|
| |
|
|
|
|
|
|
| |
Previously the deadlock-detection promotion logic in alloc_for_copy was
just plain wrong: it failed to fire when gct->evac_gen_no !=
oldest_gen->gen_no. The fix is simple: move the
(cherry picked from commit cde7499476f66f1369bd55cc046e4bfdb5d4a2a6)
|
| |
|
|
|
|
|
| |
When performing a deadlock-detection GC we must ensure that all objects
end up in the non-moving generation. Assert this in scavenge.
(cherry picked from commit a5b2fded602ee8110dc75de2ec9910c36980ca24)
|
| |
|
|
|
|
|
| |
Previously an incorrect semicolon meant that we would fail to call
busy_wait_nop when spinning.
(cherry picked from commit 19823708258224266e75b0236719313b9022aba4)
|
| | |
|
| |
|
|
| |
Missing dollar sign.
|
| |
|
|
| |
(cherry picked from commit 9ff26b5a384e1b9b3f865f71b818a4f960dc356a)
|
| |
|
|
| |
Fix an earlier rebase mistake.
|
| |
|
|
| |
Use unsafeWithForeignPtr when possible.
|
| | |
|
| |
|
|
| |
(cherry picked from commit de1b380a17ceccb095a5c772846cd5c0215242ac)
|
| |
|
|
| |
(cherry picked from commit 5813cdffc6ae5fbd23af9d6f8526373e46f5623c)
|
| |
|
|
| |
(cherry picked from commit 33a6b81e41775798ddf65680f10a6dcd4c07b911)
|
| |
|
|
| |
(cherry picked from commit 10739183ea84364dc54b2ed0c4fc85871c95f3ba)
|
| |
|
|
|
|
| |
This will be needed shortly.
(cherry picked from commit ef42c578f2c4fa48d9e191592c8442653ee1ea9a)
|
| |
|
|
| |
(cherry picked from commit bc926291da3e3caa2c1d9240be6065848d16e8ce)
|
| |
|
|
|
|
| |
Teach it to use unsafeWithForeignPtr where appropriate.
(cherry picked from commit e0f6293e94c1686da1af55c749b7bf97f9a0410f)
|
| |
|
|
| |
(cherry picked from commit 1d3e18a1fd6075fd30dfc0445126dd7d98e4dd1d)
|
| |
|
|
| |
(cherry picked from commit 3d4585fd11f84c8fa5b33fa02469074b187b61cd)
|
| |
|
|
| |
(cherry picked from commit bc44a67f8201962de38eb3937bf713fdbb7f4605)
|
| |
|
|
| |
(cherry picked from commit bc178f49d65ceb8c930d00302b9d25a47ab48692)
|
| |
|
|
| |
(cherry picked from commit eb21e9ea8459fb7e5769397d8322963c9755f3b3)
|
| |
|
|
| |
(cherry picked from commit 50236ed2e628289f6b6954db7b1021c0b03bbb4f)
|
| |
|
|
| |
(cherry picked from commit 53fb345d4fb4c06f6f5450b206250eec24578d8b)
|
| |
|
|
| |
(cherry picked from commit e033dd0512443140dcca5b3c90b84022d8caf942)
|
| |
|
|
| |
(cherry picked from commit c647763954717d9853d08ff04eece7f1ddeae15c)
|
| |
|
|
| |
(cherry picked from commit 4a437bc19d2026845948356a932b2cac2417eb12)
|
| |
|
|
|
|
|
| |
Fixes #18994
Co-Author: Benjamin Maurer <maurer.benjamin@gmail.com>
(cherry picked from commit 3e3555cc9c2a9f5246895f151259fd2a81621f38)
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Since MR !554 (#15454) GHCi automatically enabled the flag `-fobject-code` on
any module using the UnboxedTuples or UnboxedSum extensions.
MR !1553 (#16876) allowed to inhibit the automatic compiling to object-code
of these modules by setting the `fbyte-code` flag. However, it assigned 2
different semantics to this flag and introduced the regression described in
issue #18955.
This MR fixes this regression by unsetting the internal flag
`Opt_ByteCodeIfUnboxed` before it's copied to DynFlags local to the module.
|
| |
|
|
|
|
|
| |
This otherwise fails on newer Clangs, which warn
more aggressively on undeclared symbols.
(cherry picked from commit 3d7db1488c4bd7764e8b1fe3cfde4c5a548cde16)
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Strangely I find that on Alpine (and apparently only on Alpine) the
latex makeindex command expects to be given a filename, lest it reads
from stdin.
(cherry picked from commit 389a668343c0d4f5fa095112ff98d0da6998e99d)
|
| |
|
|
|
|
|
|
| |
Previously we would allocate a linked list cell for each foreign export.
Now we can avoid this by taking advantage of the fact that they are
already broken into groups.
(cherry picked from commit 40dc91069d15bfc1d81f1722b39e06cac8fdddd1)
|
| |
|
|
|
|
|
|
|
|
|
| |
This avoids calling `libc` in the initializers which are responsible for
registering foreign exports. We believe this should avoid the corruption
observed in #18548.
See Note [Tracking foreign exports] in rts/ForeignExports.c for an
overview of the new scheme.
(cherry picked from commit c492134912e5270180881b7345ee86dc32756bdd)
|
| |
|
|
|
|
|
|
|
|
| |
When threadPaused blackholes a thunk it calls `OVERWRITING_CLOSURE` to
zero the slop for the benefit of the sanity checker. Previously this was
done *before* pushing the thunk's free variables to the update
remembered set. Consequently we would pull zero'd pointers to the update
remembered set.
(cherry picked from commit 3e75b0dbaca5fbd8abc529d70c1df159f5bfbaa4)
|