<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<h3>
Ben Gamari pushed to branch wip/gc/compact-nfdata
at <a href="https://gitlab.haskell.org/ghc/ghc">Glasgow Haskell Compiler / GHC</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/b03ec7ea2e4d622c32d4e9493a9494de0ce93431">b03ec7ea</a></strong>
<div>
<span>by Ömer Sinan Ağacan</span>
<i>at 2019-06-19T00:52:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rts: Non-concurrent mark and sweep
This implements the core heap structure and a serial mark/sweep
collector which can be used to manage the oldest-generation heap.
This is the first step towards a concurrent mark-and-sweep collector
aimed at low-latency applications.
The full design of the collector implemented here is described in detail
in a technical note
B. Gamari. "A Concurrent Garbage Collector For the Glasgow Haskell
Compiler" (2018)
The basic heap structure used in this design is heavily inspired by
K. Ueno & A. Ohori. "A fully concurrent garbage collector for
functional programs on multicore processors." /ACM SIGPLAN Notices/
Vol. 51. No. 9 (presented by ICFP 2016)
This design is intended to allow both marking and sweeping
concurrent to execution of a multi-core mutator. Unlike the Ueno design,
which requires no global synchronization pauses, the collector
introduced here requires a stop-the-world pause at the beginning and end
of the mark phase.
To avoid heap fragmentation, the allocator consists of a number of
fixed-size /sub-allocators/. Each of these sub-allocators allocators into
its own set of /segments/, themselves allocated from the block
allocator. Each segment is broken into a set of fixed-size allocation
blocks (which back allocations) in addition to a bitmap (used to track
the liveness of blocks) and some additional metadata (used also used
to track liveness).
This heap structure enables collection via mark-and-sweep, which can be
performed concurrently via a snapshot-at-the-beginning scheme (although
concurrent collection is not implemented in this patch).
The mark queue is a fairly straightforward chunked-array structure.
The representation is a bit more verbose than a typical mark queue to
accomodate a combination of two features:
* a mark FIFO, which improves the locality of marking, reducing one of
the major overheads seen in mark/sweep allocators (see [1] for
details)
* the selector optimization and indirection shortcutting, which
requires that we track where we found each reference to an object
in case we need to update the reference at a later point (e.g. when
we find that it is an indirection). See Note [Origin references in
the nonmoving collector] (in `NonMovingMark.h`) for details.
Beyond this the mark/sweep is fairly run-of-the-mill.
[1] R. Garner, S.M. Blackburn, D. Frampton. "Effective Prefetch for
Mark-Sweep Garbage Collection." ISMM 2007.
Co-Authored-By: Ben Gamari <ben@well-typed.com>
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/9cd98caaacd33094142a03a87b64c43884e837d5">9cd98caa</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:52:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Add nonmoving WAY
This simply runs the compile_and_run tests with `-xn`, enabling the
nonmoving oldest generation.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/d475002bb8668d811995bcaff594824c3e2db56f">d475002b</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:53:58Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rts: Implement concurrent collection in the nonmoving collector
This extends the non-moving collector to allow concurrent collection.
The full design of the collector implemented here is described in detail
in a technical note
B. Gamari. "A Concurrent Garbage Collector For the Glasgow Haskell
Compiler" (2018)
This extension involves the introduction of a capability-local
remembered set, known as the /update remembered set/, which tracks
objects which may no longer be visible to the collector due to mutation.
To maintain this remembered set we introduce a write barrier on
mutations which is enabled while a concurrent mark is underway.
The update remembered set representation is similar to that of the
nonmoving mark queue, being a chunked array of `MarkEntry`s. Each
`Capability` maintains a single accumulator chunk, which it flushed
when it (a) is filled, or (b) when the nonmoving collector enters its
post-mark synchronization phase.
While the write barrier touches a significant amount of code it is
conceptually straightforward: the mutator must ensure that the referee
of any pointer it overwrites is added to the update remembered set.
However, there are a few details:
* In the case of objects with a dirty flag (e.g. `MVar`s) we can
exploit the fact that only the *first* mutation requires a write
barrier.
* Weak references, as usual, complicate things. In particular, we must
ensure that the referee of a weak object is marked if dereferenced by
the mutator. For this we (unfortunately) must introduce a read
barrier, as described in Note [Concurrent read barrier on deRefWeak#]
(in `NonMovingMark.c`).
* Stable names are also a bit tricky as described in Note [Sweeping
stable names in the concurrent collector] (`NonMovingSweep.c`).
We take quite some pains to ensure that the high thread count often seen
in parallel Haskell applications doesn't affect pause times. To this end
we allow thread stacks to be marked either by the thread itself (when it
is executed or stack-underflows) or the concurrent mark thread (if the
thread owning the stack is never scheduled). There is a non-trivial
handshake to ensure that this happens without racing which is described
in Note [StgStack dirtiness flags and concurrent marking].
Co-Authored-by: Ömer Sinan Ağacan <omer@well-typed.com>
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/fd17b200e0be0f117056a78200efb575ca15858a">fd17b200</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:53:58Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Nonmoving: Disable memory inventory with concurrent collection
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/13a27dcde3141b49b826c9619f057b8eb6c746cc">13a27dcd</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rts: Tracing support for nonmoving collection events
This introduces a few events to mark key points in the nonmoving
garbage collection cycle. These include:
* `EVENT_CONC_MARK_BEGIN`, denoting the beginning of a round of
marking. This may happen more than once in a single major collection
since we the major collector iterates until it hits a fixed point.
* `EVENT_CONC_MARK_END`, denoting the end of a round of marking.
* `EVENT_CONC_SYNC_BEGIN`, denoting the beginning of the post-mark
synchronization phase
* `EVENT_CONC_UPD_REM_SET_FLUSH`, indicating that a capability has
flushed its update remembered set.
* `EVENT_CONC_SYNC_END`, denoting that all mutators have flushed their
update remembered sets.
* `EVENT_CONC_SWEEP_BEGIN`, denoting the beginning of the sweep portion
of the major collection.
* `EVENT_CONC_SWEEP_END`, denoting the end of the sweep portion of the
major collection.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/69794713585cffcd5b4ea2a96c0ecd9c706e3f96">69794713</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rts: Introduce non-moving heap census
This introduces a simple census of the non-moving heap (not to be
confused with the heap census used by the heap profiler). This
collects basic heap usage information (number of allocated and free
blocks) which is useful when characterising fragmentation of the
nonmoving heap.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/6124d57d5fee9d524fbf5fd21ca0cb5a046711ff">6124d57d</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rts/Eventlog: More descriptive error message
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/c46d5d8713322224625cf379f88f73eabc174bb9">c46d5d87</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Allow census without live word count
Otherwise the census is unsafe when mutators are running due to
concurrent mutation.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/4d802665d8ce365818470476bbb324df10cb5be7">4d802665</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonmovingCensus: Emit samples to eventlog
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/5121e50da09b84ab0c26be67819e3c876787bcd1">5121e50d</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rts: Add GetMyThreadCPUTime helper
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/4c49e6da81b761605497c127d2636626a7fd8860">4c49e6da</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rts/Stats: Track time usage of nonmoving collector
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/dfd014a465c25ef56d65098c6990855cf9a0ba06">dfd014a4</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Nonmoving: Allow aging and refactor static objects logic
This commit does two things:
* Allow aging of objects during the preparatory minor GC
* Refactor handling of static objects to avoid the use of a hashtable
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/ebff426cd2ad0fa861a3a4bc8107985b73c53c80">ebff426c</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Disable aging when doing deadlock detection GC
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/3dad57926b288df67126919b645d3a7e8fc435f4">3dad5792</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">More comments for aging
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/d85d4b3d10bdbd57c1d026c345141ebf6bd9135d">d85d4b3d</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:46Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Add nonmoving_thr way
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/c2b47db397ea00cbd0e3f9e351956e1ecc7ac848">c2b47db3</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:46Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Add nonmoving_thr_ghc way
This uses the nonmoving collector when compiling the testcases.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/3eafa1c661a10b88a8d5133bf1ec3081c0b8e808">3eafa1c6</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:46Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Don't run T15892 in nonmoving ways
The nonmoving GC doesn't support `+RTS -G1`, which this test insists on.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/3d5ddefdf3a52f28ee86b4b1a62d93435df410d5">3d5ddefd</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:46Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Nonmoving collector doesn't support -G1
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/c44ee256735f2a06b195a7c40bfd2bedb4e97002">c44ee256</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:46Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Ensure that threaded tests are run in nonmoving_thr
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/d8b1efa3b929bfb18c73dd55ee5eaaca4f74231c">d8b1efa3</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:46Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: bug1010 requires -c, which isn't supported by nonmoving
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/dae8089bede21b7e069d941dcf9659bb9afec69b">dae8089b</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:46Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Skip T15892 in nonmoving_thr_ghc
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/74f26f430a4a93db94d727ca00ef4f59673fde74">74f26f43</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:46Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ghc-heap: Skip heap_all test with debugged RTS
The debugged RTS initializes the heap with 0xaa, which breaks the
(admittedly rather fragile) assumption that uninitialized fields are set
to 0x00:
```
Wrong exit code for heap_all(nonmoving)(expected 0 , actual 1 )
Stderr ( heap_all ):
heap_all: user error (assertClosuresEq: Closures do not match
Expected: FunClosure {info = StgInfoTable {entry = Nothing, ptrs = 0, nptrs = 1, tipe = FUN_0_1, srtlen = 0, code = Nothing}, ptrArgs = [], dataArgs = [0]}
Actual: FunClosure {info = StgInfoTable {entry = Nothing, ptrs = 0, nptrs = 1, tipe = FUN_0_1, srtlen = 1032832, code = Nothing}, ptrArgs = [], dataArgs = [12297829382473034410]}
CallStack (from HasCallStack):
assertClosuresEq, called at heap_all.hs:230:9 in main:Main
)
```
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/9174528727cbd209543d7d37bb2585444d6dac7e">91745287</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:55:46Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Skip ghc_heap_all test in nonmoving ways
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/3af63ac7c7cbbea3876556bc8161b52d29358cbb">3af63ac7</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Eliminate integer division in nonmovingBlockCount
Perf showed that the this single div was capturing up to 10% of samples
in nonmovingMark. However, the overwhelming majority of cases is looking
at small block sizes. These cases we can easily compute explicitly,
allowing the compiler to turn the division into a significantly more
efficient division-by-constant.
While the increase in source code looks scary, this all optimises down
to very nice looking assembler. At this point the only remaining
hotspots in nonmovingBlockCount are due to memory access.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/aadf70d06903a78dec30bd1a16789ffa73e4517b">aadf70d0</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Allocate mark queues in larger block groups
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/57ed32110ee07b3cef8723d6a5f2973930defdb5">57ed3211</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMovingMark: Optimize representation of mark queue
This shortens MarkQueueEntry by 30% (one word)
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/05c6855887af637335713448f0d4110d942a54f5">05c68558</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Optimize bitmap search during allocation
Use memchr instead of a open-coded loop. This is nearly twice as fast in
a synthetic benchmark.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/35ea3341ee6b09ff4af62e0ed4464f6e42ddf8fd">35ea3341</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rts: Add prefetch macros
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/92e76eba63230df2cb51fa96ea664107392f3b0e">92e76eba</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Prefetch when clearing bitmaps
Ensure that the bitmap of the segmentt that we will clear next is in
cache by the time we reach it.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/f65d3e7765f3711b28152dc7186e444432d4e02f">f65d3e77</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Inline nonmovingClearAllBitmaps
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/b117a9e4126f92b5bac3ea84506d05356609a300">b117a9e4</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Fuse sweep preparation into mark prep
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/73a58b2c6f4a35bd3676bdfadfa793d482067758">73a58b2c</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Pre-fetch during mark
This improved overall runtime on nofib's constraints test by nearly 10%.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/4f7323a182277194c40a5cfd7aaeee155b9c4601">4f7323a1</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Prefetch segment header
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/d0e4ca99cdeaf9e8db495ee1bdc893deb1d7998c">d0e4ca99</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Optimise allocator cache behavior
Previously we would look at the segment header to determine the block
size despite the fact that we already had the block size at hand.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/b06d973180acd09c06f9b6e69519a7d87164f619">b06d9731</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMovingMark: Eliminate redundant check_in_nonmoving_heaps
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/24b3946d3077a20a9d498e27d5e921e8d1d8da18">24b3946d</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:02Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Don't do major GC if one is already running
Previously we would perform a preparatory moving collection, resulting
in many things being added to the mark queue. When we finished with this
we would realize in nonmovingCollect that there was already a collection
running, in which case we would simply not run the nonmoving collector.
However, it was very easy to end up in a "treadmilling" situation: all
subsequent GC following the first failed major GC would be scheduled as
major GCs. Consequently we would continuously feed the concurrent
collector with more mark queue entries and it would never finish.
This patch aborts the major collection far earlier, meaning that we
avoid adding nonmoving objects to the mark queue and allowing the
concurrent collector to finish.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/b6e439b4e32d0ba78cf94a3701b11d5c66bec477">b6e439b4</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:02Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Nonmoving: Ensure write barrier vanishes in non-threaded RTS
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/af0c36adc890fa2901846b10f28bb53fa7712691">af0c36ad</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:56:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Merge branches 'wip/gc/optimize' and 'wip/gc/test' into wip/gc/everything
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/6888f2d466f956ebb10d08d609d47f6247a46456">6888f2d4</a></strong>
<div>
<span>by Ömer Sinan Ağacan</span>
<i>at 2019-06-19T00:57:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Implement indirection shortcutting
This allows indirection chains residing in the non-moving heap to be
shorted-out.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/c21b0171e674fc08797cdb008bcec02e484096e5">c21b0171</a></strong>
<div>
<span>by Ömer Sinan Ağacan</span>
<i>at 2019-06-19T00:57:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Implement selector optimisation
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/8e8d1a67553dad071e368496d7a02ac7fedf8283">8e8d1a67</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:57:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Introduce nonmovingSegmentLogBlockSize acccessor
This will allow us to easily move the block size elsewhere.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/65078973839fdd3398bfb8fba96cfebbdb1d00c5">65078973</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:57:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Move block size to block descriptor
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/718cb5477361b34f1f3d1a8319b1353b6d9b48c8">718cb547</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:57:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Move next_free_snap to block descriptor
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/a7eac2a33bc1da771590108dd8582d1abd029a94">a7eac2a3</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:57:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: Add summarizing Note
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/e5986a8d1c66b5a6228efd132dbd348a40664d8b">e5986a8d</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:57:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">NonMoving: More comments
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/ce8771e2abac479a36505967c304f5fc125a5063">ce8771e2</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-19T00:57:44Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Merge branches 'wip/gc/segment-header-to-bdescr' and 'wip/gc/docs' into wip/gc/everything2
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/7246251a1a60d58b98f91b1549d81389a3c0a35b">7246251a</a></strong>
<div>
<span>by Ömer Sinan Ağacan</span>
<i>at 2019-06-19T00:57:55Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rts: COMPACT_NFDATA support for the nonmoving collector
This largely follows the model used for large objects, with appropriate
adjustments made to account for references in the sharing deduplication
hashtable.
</pre>
</li>
</ul>
<h4>30 changed files:</h4>
<ul>
<li class="file-stats">
<a href="#db6936871693fa68c3fdcbd692eb7dcffc3a9372">
compiler/cmm/CLabel.hs
</a>
</li>
<li class="file-stats">
<a href="#c10b1b0056f54b8b89286ac4a327928f83cf8ab6">
compiler/codeGen/StgCmmBind.hs
</a>
</li>
<li class="file-stats">
<a href="#731b07c16b2f4bb31dd7defa4ceef54e74473cc7">
compiler/codeGen/StgCmmPrim.hs
</a>
</li>
<li class="file-stats">
<a href="#5f05b3e433aad7b0e6e5aa2aae206d359bb54f4c">
compiler/codeGen/StgCmmUtils.hs
</a>
</li>
<li class="file-stats">
<a href="#6011cad13b19136953f8ee72df01a66623c5c1b0">
includes/Cmm.h
</a>
</li>
<li class="file-stats">
<a href="#40f83a2cddcbc1f8190b0551eb572ccf4ea88cc9">
includes/Rts.h
</a>
</li>
<li class="file-stats">
<a href="#f7bfc5e15e7497f29b41f6df46865c151a07955d">
includes/RtsAPI.h
</a>
</li>
<li class="file-stats">
<a href="#debe527847514360ea5e75538c7630ba2dfebba6">
includes/rts/EventLogFormat.h
</a>
</li>
<li class="file-stats">
<a href="#241971342cd0c394b24e67a781cf7e3d2f01aa72">
includes/rts/Flags.h
</a>
</li>
<li class="file-stats">
<a href="#3b4c67d255fe638e594c28d4a73d04aee85a04f0">
<span class="new-file">
+
includes/rts/NonMoving.h
</span>
</a>
</li>
<li class="file-stats">
<a href="#0dcc7b3b05fd9aac5ea350885b06f0718bcf70c2">
includes/rts/storage/Block.h
</a>
</li>
<li class="file-stats">
<a href="#aa19e824b3a8c24a7bf37f8352997022b14a5a0c">
includes/rts/storage/ClosureMacros.h
</a>
</li>
<li class="file-stats">
<a href="#94ca41c5afbb3d932bd6f37ee16458322988fb69">
includes/rts/storage/GC.h
</a>
</li>
<li class="file-stats">
<a href="#2f870b7c76a5e24010e464cc1a1f860c0f9e0dab">
includes/rts/storage/TSO.h
</a>
</li>
<li class="file-stats">
<a href="#89ed911ca15ec0db941eb82e8d7df8453f4ab713">
includes/stg/MiscClosures.h
</a>
</li>
<li class="file-stats">
<a href="#c184941110ec11e4f595256c2354bed617511571">
libraries/base/GHC/RTS/Flags.hsc
</a>
</li>
<li class="file-stats">
<a href="#023c46971c621e339912811040e9c049ece01475">
libraries/base/GHC/Stats.hsc
</a>
</li>
<li class="file-stats">
<a href="#e7e177c17e4bf37dc865a39cde7a0ec9e1a33362">
libraries/ghc-heap/tests/all.T
</a>
</li>
<li class="file-stats">
<a href="#c6ca7d2b8bb94ab0a0ee349206e12a4a65925cec">
rts/Apply.cmm
</a>
</li>
<li class="file-stats">
<a href="#33249795fee267712d5c3a7ecfa9f2edea260401">
rts/Capability.c
</a>
</li>
<li class="file-stats">
<a href="#62ec5569a8af1e443ae952b393d15b9dd1cea199">
rts/Capability.h
</a>
</li>
<li class="file-stats">
<a href="#deed6a3bec2843fc56bafbd3ae930f535197b3a6">
rts/Exception.cmm
</a>
</li>
<li class="file-stats">
<a href="#ab886ab520e51dbacc9947d1586d5257a6037f77">
rts/GetTime.h
</a>
</li>
<li class="file-stats">
<a href="#63bb2dcb45bf7982130b0b95ecf366bf1a617e82">
rts/Messages.c
</a>
</li>
<li class="file-stats">
<a href="#6db965f97cbab901f493506a385bcf1283009921">
rts/PrimOps.cmm
</a>
</li>
<li class="file-stats">
<a href="#515f190a948b1d6c490c96f75a3f909580e927b0">
rts/RaiseAsync.c
</a>
</li>
<li class="file-stats">
<a href="#640fc6f2f536ba83f1694f9a7ef3d43e2d0428d3">
rts/RtsFlags.c
</a>
</li>
<li class="file-stats">
<a href="#9ed11d0519762dae04656481b089dbb5b05acf98">
rts/RtsStartup.c
</a>
</li>
<li class="file-stats">
<a href="#16c842a51a135c8ef2c7c7f94336544868348a3c">
rts/RtsSymbols.c
</a>
</li>
<li class="file-stats">
<a href="#e137645f8a9be9fa32cc764e19cea2b492e33d9c">
rts/STM.c
</a>
</li>
</ul>
<h5>The diff was not included because it is too large.</h5>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
<a href="https://gitlab.haskell.org/ghc/ghc/compare/01ea74e8ae0e2c06a67cc51504fb871a54873a09...7246251a1a60d58b98f91b1549d81389a3c0a35b">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.haskell.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
</p>
</div>
</body>
</html>