summaryrefslogtreecommitdiff
path: root/compiler/Language/Haskell/Syntax/Module
diff options
context:
space:
mode:
authorDouglas Wilson <douglas.wilson@gmail.com>2022-06-21 09:28:10 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-07-01 08:16:32 -0400
commiteb0431489144effd6931c248801af3fe65227368 (patch)
tree4c8b93e9e9c7f2210c2259a642189b98cd95feb3 /compiler/Language/Haskell/Syntax/Module
parentd072217016ceae7c557f638e91a365fa5ab7779c (diff)
downloadhaskell-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 'compiler/Language/Haskell/Syntax/Module')
0 files changed, 0 insertions, 0 deletions