Include closure header size in StgLamLift's estimations

Authored by sgraf on Feb 21 2019, 9:02 AM.

Description

Include closure header size in StgLamLift's estimations

While playing around with late lambda lifting, I realised that
StgLamLift.Analysis doesn't consider the removed closure header in its
allocation estimations.

That's because contrary to what I thought, the total word count returned
by mkVirtHeapOffsets doesn't include the size of the closure header.

We just add the header size manually now.

Details

Committed
Marge Bot <ben+marge-bot@smart-cactus.org>Feb 23 2019, 9:02 PM
Parents
rGHC1059e234b04a: gitlab-ci: Only build x86_64-deb8 and fedora27 for releases
Branches
Unknown
Tags
Unknown
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHCb85068f6843e: Include closure header size in StgLamLift's estimations (authored by sgraf).Feb 23 2019, 9:02 PM