[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 14 commits: rts/nonmoving: Add missing STM write barrier

Marge Bot gitlab at gitlab.haskell.org
Fri Sep 18 20:27:30 UTC 2020



 Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC


Commits:
0799b3de by Ben Gamari at 2020-09-18T15:55:50-04:00
rts/nonmoving: Add missing STM write barrier

When updating a TRec for a TVar already part of a transaction we
previously neglected to add the old value to the update remembered set.
I suspect this was the cause of #18587.

- - - - -
c4921349 by Ben Gamari at 2020-09-18T15:56:25-04:00
rts: Refactor foreign export tracking

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.

- - - - -
40dc9106 by Ben Gamari at 2020-09-18T15:56:25-04:00
rts: Refactor unloading of foreign export StablePtrs

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.

- - - - -
40b0fbbb by Simon Jakobi at 2020-09-18T16:27:12-04:00
Deprecate Data.Semigroup.Option

Libraries email: https://mail.haskell.org/pipermail/libraries/2018-April/028724.html

GHC issue: https://gitlab.haskell.org/ghc/ghc/issues/15028

Corresponding PRs for deepseq:
* https://github.com/haskell/deepseq/pull/55
* https://github.com/haskell/deepseq/pull/57

Bumps the deepseq submodule.

- - - - -
1f78b0fd by Hécate at 2020-09-18T16:27:15-04:00
Remove the list of loaded modules from the ghci prompt

- - - - -
b1cd6cdc by Sylvain Henry at 2020-09-18T16:27:19-04:00
Bump Stack resolver

- - - - -
bb2f6555 by John Ericson at 2020-09-18T16:27:21-04:00
Cinch -fno-warn-name-shadowing down to specific GHCi module

- - - - -
fb9d916e by Sylvain Henry at 2020-09-18T16:27:21-04:00
Add quick-validate Hadrian flavour (quick + -Werror)

- - - - -
8e9cf317 by Andreas Klebinger at 2020-09-18T16:27:21-04:00
Fix docs who misstated how the RTS treats size suffixes.

They are parsed as multiples of 1024. Not 1000. The docs
used to imply otherwise.

See decodeSize in rts/RtsFlags.c for the logic for this.

- - - - -
96ab06e7 by Andreas Klebinger at 2020-09-18T16:27:21-04:00
Fix a codeblock in ghci.rst

- - - - -
04140740 by Ben Gamari at 2020-09-18T16:27:21-04:00
users guide: Fix various documentation issues

- - - - -
a4fb1097 by Ben Gamari at 2020-09-18T16:27:21-04:00
hadrian: Fail on Sphinx syntax errors

Specifically the "Inline literal start-string without end-string"
warning, which typically means that the user neglected to separate
an inline code block from suffix text with a backslash.

- - - - -
46559e8e by David Feuer at 2020-09-18T16:27:23-04:00
Unpack the MVar in Compact

The `MVar` lock in `Compact` was unnecessarily lazy, creating an extra indirection and wasting two words. Make it strict.
- - - - -
11c0c333 by Ben Gamari at 2020-09-18T16:27:23-04:00
rts: Drop field initializer on thread_basic_info_data_t

This struct has a number of fields and we only care that the value is
initialized with zeros. This eliminates the warnings noted in #17905.

- - - - -


30 changed files:

- compiler/GHC/HsToCore/Foreign/Decl.hs
- docs/users_guide/9.0.1-notes.rst
- docs/users_guide/exts/explicit_forall.rst
- docs/users_guide/exts/instances.rst
- docs/users_guide/ghci.rst
- docs/users_guide/release-notes.rst
- docs/users_guide/runtime_control.rst
- ghc/GHCi/UI.hs
- ghc/GHCi/UI/Info.hs
- ghc/GHCi/UI/Monad.hs
- ghc/ghc-bin.cabal.in
- hadrian/hadrian.cabal
- hadrian/src/Base.hs
- hadrian/src/Rules/Documentation.hs
- hadrian/src/Settings.hs
- hadrian/src/Settings/Flavours/Quick.hs
- hadrian/stack.yaml
- includes/Rts.h
- + includes/rts/ForeignExports.h
- libraries/base/Data/Semigroup.hs
- libraries/base/changelog.md
- libraries/deepseq
- libraries/ghc-compact/GHC/Compact.hs
- + rts/ForeignExports.c
- + rts/ForeignExports.h
- rts/Linker.c
- rts/LinkerInternals.h
- rts/RtsStartup.c
- rts/RtsSymbols.c
- rts/STM.c


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/6fa917e05113518b24225c3ef85205be22c4b005...11c0c3338045c56eea668631db956a728168463e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/6fa917e05113518b24225c3ef85205be22c4b005...11c0c3338045c56eea668631db956a728168463e
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200918/71cfaabf/attachment.html>


More information about the ghc-commits mailing list