diff options
author | Douglas Wilson <douglas.wilson@gmail.com> | 2022-06-21 09:28:10 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-07-01 08:16:32 -0400 |
commit | eb0431489144effd6931c248801af3fe65227368 (patch) | |
tree | 4c8b93e9e9c7f2210c2259a642189b98cd95feb3 /docs | |
parent | d072217016ceae7c557f638e91a365fa5ab7779c (diff) | |
download | haskell-eb0431489144effd6931c248801af3fe65227368.tar.gz |
rts: gc stats: account properly for copied bytes in sequential collections
We were not updating the [copied,any_work,scav_find_work, max_n_todo_overflow]
counters during sequential collections. As well, we were double counting for
parallel collections.
To fix this we add an `else` clause to the `if (is_par_gc())`.
The par_* counters do not need to be updated in the sequential case
because they must be 0.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/9.6.1-notes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/users_guide/9.6.1-notes.rst b/docs/users_guide/9.6.1-notes.rst index 04ea0e3bd2..d1eb93aef9 100644 --- a/docs/users_guide/9.6.1-notes.rst +++ b/docs/users_guide/9.6.1-notes.rst @@ -66,6 +66,12 @@ Compiler - The :extension:`TypeInType` is now marked as deprecated. Its meaning has been included in :extension:`PolyKinds` and :extension:`DataKinds`. +Runtime System +~~~~~~~~~~~~~~ + +- Summary statistics, i.e. the output of :rts-flag:`-s [⟨file⟩]`, now correctly + accounts for bytes copied during sequential collections. + ``base`` library ~~~~~~~~~~~~~~~~ |