[commit: ghc] ghc-8.2: Fix space leaks in simplifier (#13426) (0d20cc1)

git at git.haskell.org git at git.haskell.org
Fri Mar 31 23:01:14 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.2
Link       : http://ghc.haskell.org/trac/ghc/changeset/0d20cc11c95de33b8a125555c16d2b0860030227/ghc

>---------------------------------------------------------------

commit 0d20cc11c95de33b8a125555c16d2b0860030227
Author: Reid Barton <rwbarton at gmail.com>
Date:   Fri Mar 31 11:37:38 2017 -0400

    Fix space leaks in simplifier (#13426)
    
    The Join points commit (8d5cf8bf) introduced a space leak
    somewhere in the simplifier. The extra strictness added in this commit
    fixes the leak. Unfortunately I don't really understand the details.
    
    Unfortunately, the extra strictness appears to result in more overall
    allocations in some cases, even while the peak heap size decreases in others.
    
    Test Plan: harbormaster
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D3399
    
    (cherry picked from commit e13419c5562ed0aa587516255d1dbb48a8165457)


>---------------------------------------------------------------

0d20cc11c95de33b8a125555c16d2b0860030227
 compiler/simplCore/Simplify.hs      |  5 ++++-
 testsuite/tests/perf/compiler/all.T | 37 ++++++++++++++++++++++---------------
 2 files changed, 26 insertions(+), 16 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 0d20cc11c95de33b8a125555c16d2b0860030227


More information about the ghc-commits mailing list