summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2020-03-10 16:44:03 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-11 08:20:27 -0400
commit3aa9b35fcc417ab39d8da633482fe64dc9f898b1 (patch)
tree95014bf686a263a34349092f3c7b1e5a82de0570 /compiler/ghc.cabal.in
parentc61b9b02925acf248cde1ec0f67730c1a6f6c6e5 (diff)
downloadhaskell-3aa9b35fcc417ab39d8da633482fe64dc9f898b1.tar.gz
Zero any slop after compaction in compacting GC
In copying GC, with the relevant debug flags enabled, we release the old blocks after a GC, and the block allocator zeroes the space before releasing a block. This effectively zeros the old heap. In compacting GC we reuse the blocks and previously we didn't zero the unused space in a compacting generation after compaction. With this patch we zero the slop between the free pointer and the end of the block when we're done with compaction and when switching to a new block (because the current block doesn't have enough space for the next object we're shifting).
Diffstat (limited to 'compiler/ghc.cabal.in')
0 files changed, 0 insertions, 0 deletions