[commit: ghc] master: Fix GHCi space leaks (#15111) (f27e4f6)

git at git.haskell.org git at git.haskell.org
Thu May 17 14:18:50 UTC 2018


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

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

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

commit f27e4f624fe1270e8027ff0a14f03514f5be31b7
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Tue May 1 16:52:05 2018 +0100

    Fix GHCi space leaks (#15111)
    
    Summary:
    There were a number of leaks causing previously loaded modules to be
    retained after a new `:load`.  This fixes enough leaks to get the
    tests to pass from D4658.
    
    Test Plan: See new tests in D4658
    
    Reviewers: niteria, bgamari, simonpj, erikd
    
    Subscribers: thomie, carter
    
    GHC Trac Issues: #15111
    
    Differential Revision: https://phabricator.haskell.org/D4659


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

f27e4f624fe1270e8027ff0a14f03514f5be31b7
 compiler/iface/LoadIface.hs         | 52 ++++++++++++++++++++++++++++++++++++-
 compiler/main/HscTypes.hs           |  3 ++-
 compiler/typecheck/TcRnDriver.hs    |  7 +++--
 compiler/typecheck/TcRnTypes.hs     | 12 ++++++---
 testsuite/tests/perf/compiler/all.T |  5 +++-
 testsuite/tests/perf/haddock/all.T  |  9 ++++---
 6 files changed, 76 insertions(+), 12 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 f27e4f624fe1270e8027ff0a14f03514f5be31b7


More information about the ghc-commits mailing list