summaryrefslogtreecommitdiff
path: root/rts/Adjustor.c
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-03-02 18:13:52 -0500
committerBen Gamari <ben@smart-cactus.org>2020-03-04 12:52:33 -0500
commitb17fc30370da8b2a94dd242e906dc9bed32555fa (patch)
tree02fcac30f8e9397ac8e7515e51a19aa740414e7c /rts/Adjustor.c
parent2a2f51d79f145e015cc089d97cf71c19dd27bee4 (diff)
downloadhaskell-wip/gc/fix-sparks.tar.gz
nonmoving: Fix collection of sparkswip/gc/fix-sparks
Previously sparks living in the non-moving heap would be promptly GC'd by the minor collector since pruneSparkQueue uses the BF_EVACUATED flag, which non-moving heap blocks do not have set. Fix this by implementing proper support in pruneSparkQueue for determining reachability in the non-moving heap. The story is told in Note [Spark management in the nonmoving heap].
Diffstat (limited to 'rts/Adjustor.c')
0 files changed, 0 insertions, 0 deletions