[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 24 commits: rts/Messages: Refactor
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Fri Dec 16 13:42:23 UTC 2022
Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC
Commits:
092e308f by Ben Gamari at 2022-12-16T08:42:08-05:00
rts/Messages: Refactor
This doesn't change behavior but makes the code a bit easier to follow.
- - - - -
ecf02713 by Ben Gamari at 2022-12-16T08:42:08-05:00
rts/ThreadPaused: Ordering fixes
- - - - -
710df0c0 by Ben Gamari at 2022-12-16T08:42:08-05:00
eventlog: Silence spurious data race
- - - - -
46361775 by Ben Gamari at 2022-12-16T08:42:08-05:00
Introduce SET_INFO_RELEASE for Cmm
- - - - -
be3ead16 by Ben Gamari at 2022-12-16T08:42:08-05:00
rts: Use fences instead of explicit barriers
- - - - -
53ba0b3d by Ben Gamari at 2022-12-16T08:42:08-05:00
rts/stm: Fix memory ordering in readTVarIO#
See #22421.
- - - - -
842c83ec by Ben Gamari at 2022-12-16T08:42:09-05:00
Improve heap memory barrier Note
Also introduce MUT_FIELD marker in Closures.h to document mutable
fields.
- - - - -
608ecaf7 by Ben Gamari at 2022-12-16T08:42:09-05:00
rts: Introduce getNumCapabilities
And ensure accesses to n_capabilities are atomic (although with relaxed
ordering). This is necessary as RTS API callers may concurrently call
into the RTS without holding a capability.
- - - - -
092ab9e3 by Ben Gamari at 2022-12-16T08:42:09-05:00
ghc: Fix data race in dump file handling
Previously the dump filename cache would use a non-atomic update which
could potentially result in lost dump contents. Note that this is still
a bit racy since the first writer may lag behind a later appending
writer.
- - - - -
1d99e977 by Ben Gamari at 2022-12-16T08:42:09-05:00
rts: Always use atomics for context_switch and interrupt
Since these are modified by the timer handler.
- - - - -
19f69af1 by Ben Gamari at 2022-12-16T08:42:09-05:00
rts/Timer: Always use atomic operations
As noted in #22447, the existence of the pthread-based ITimer
implementation means that we cannot assume that the program is
single-threaded.
- - - - -
fcdae670 by Ben Gamari at 2022-12-16T08:42:09-05:00
rts: Encapsulate recent_activity access
This makes it easier to ensure that it is accessed using the necessary
atomic operations.
- - - - -
1d44cee3 by Ben Gamari at 2022-12-16T08:42:09-05:00
rts: Encapsulate access to capabilities array
- - - - -
81fac3c5 by Ben Gamari at 2022-12-16T08:42:09-05:00
rts: Encapsulate sched_state
- - - - -
5a25c902 by Ben Gamari at 2022-12-16T08:42:09-05:00
PrimOps: Fix benign MutVar race
Relaxed ordering is fine here since the later CAS implies a release.
- - - - -
42fa37e6 by Ben Gamari at 2022-12-16T08:42:09-05:00
rts: Style fix
- - - - -
6a2143d1 by Ben Gamari at 2022-12-16T08:42:09-05:00
compiler: Use release store in eager blackholing
- - - - -
45dbdc32 by Ben Gamari at 2022-12-16T08:42:09-05:00
rts: Fix ordering of makeStableName
- - - - -
be9da15a by Ben Gamari at 2022-12-16T08:42:09-05:00
rts: Use ordered accesses instead of explicit barriers
- - - - -
40db0def by Ben Gamari at 2022-12-16T08:42:09-05:00
rts: Statically allocate capabilities
This is a rather simplistic way of solving #17289.
- - - - -
97bfcf23 by Ben Gamari at 2022-12-16T08:42:09-05:00
rts: Ensure that all accesses to pending_sync are atomic
- - - - -
40b5656b by Ben Gamari at 2022-12-16T08:42:09-05:00
rts: Note race with wakeBlockingQueue
- - - - -
eaee0aa5 by Bodigrim at 2022-12-16T08:42:13-05:00
Bump submodule directory to 1.3.8.0 and hpc to HEAD
- - - - -
82e5cc09 by Bodigrim at 2022-12-16T08:42:13-05:00
Accept allocations increase on Windows
This is because of `filepath-1.4.100.0` and AFPP, causing increasing round-trips
between lists and ByteArray. See #22625 for discussion.
Metric Increase:
MultiComponentModules
MultiComponentModulesRecomp
MultiLayerModules
MultiLayerModulesRecomp
T10421
T10547
T12150
T12227
T12234
T12425
T13035
T13253
T13253-spj
T13701
T13719
T15703
T16875
T18140
T18282
T18304
T18698a
T18698b
T18923
T20049
T21839c
T21839r
T5837
T6048
T9198
T9961
TcPlugin_RewritePerf
hard_hole_fits
- - - - -
30 changed files:
- compiler/GHC/StgToCmm/Bind.hs
- compiler/GHC/Utils/Logger.hs
- libraries/directory
- libraries/hpc
- rts/Apply.cmm
- rts/Capability.c
- rts/Capability.h
- rts/HeapStackCheck.cmm
- rts/IOManager.c
- rts/Messages.c
- rts/Messages.h
- rts/PrimOps.cmm
- rts/Printer.c
- rts/ProfHeap.c
- rts/ProfilerReport.c
- rts/ProfilerReportJson.c
- rts/Profiling.c
- rts/Proftimer.c
- rts/RetainerProfile.c
- rts/RtsAPI.c
- rts/RtsStartup.c
- rts/SMPClosureOps.h
- rts/STM.c
- rts/Schedule.c
- rts/Schedule.h
- rts/Stats.c
- rts/StgMiscClosures.cmm
- rts/Task.c
- rts/ThreadPaused.c
- rts/Threads.c
The diff was not included because it is too large.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/4532ce9979159c8347b58bf7b8924900f3dfbfd2...82e5cc090b86ea106709fac6ff307cca8121a705
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/4532ce9979159c8347b58bf7b8924900f3dfbfd2...82e5cc090b86ea106709fac6ff307cca8121a705
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/20221216/3f509970/attachment-0001.html>
More information about the ghc-commits
mailing list