[commit: ghc] master: GHCi: Fix load/reload space leaks (#4029) (6ca9b15)

git at git.haskell.org git at git.haskell.org
Sat Mar 5 20:15:27 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/6ca9b15f77e58931953edb7c872b803cb261fce9/ghc

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

commit 6ca9b15f77e58931953edb7c872b803cb261fce9
Author: Jason Eisenberg <jasoneisenberg at gmail.com>
Date:   Sat Mar 5 20:00:38 2016 +0100

    GHCi: Fix load/reload space leaks (#4029)
    
    This patch addresses GHCi load/reload space leaks which could be
    fixed without adversely affecting performance.
    
    Test Plan: make test "TEST=T4029"
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: mpickering, thomie
    
    Differential Revision: https://phabricator.haskell.org/D1950
    
    GHC Trac Issues: #4029


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

6ca9b15f77e58931953edb7c872b803cb261fce9
 compiler/main/GhcMake.hs                         |  19 +-
 compiler/main/InteractiveEval.hs                 |   4 +-
 compiler/main/Packages.hs                        |  12 +-
 ghc/GHCi/UI.hs                                   |   6 +-
 testsuite/tests/perf/space_leaks/T4029.script    | 335 +++++++++++++++++++++++
 testsuite/tests/perf/space_leaks/T4029a.hs       |   3 +
 testsuite/tests/perf/space_leaks/T4029b.hs       |  23 ++
 testsuite/tests/perf/space_leaks/all.T           |  11 +
 testsuite/tests/rename/should_fail/T11071.stderr |   8 +-
 9 files changed, 402 insertions(+), 19 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 6ca9b15f77e58931953edb7c872b803cb261fce9


More information about the ghc-commits mailing list