[commit: ghc] ghc-8.0: GHCi: Fix load/reload space leaks (#4029) (6ae616f)
git at git.haskell.org
git at git.haskell.org
Mon Mar 7 22:46:05 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/6ae616f5be1db6da8bc0c5e36736a76cfea46844/ghc
>---------------------------------------------------------------
commit 6ae616f5be1db6da8bc0c5e36736a76cfea46844
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
(cherry picked from commit 6ca9b15f77e58931953edb7c872b803cb261fce9)
>---------------------------------------------------------------
6ae616f5be1db6da8bc0c5e36736a76cfea46844
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 6ae616f5be1db6da8bc0c5e36736a76cfea46844
More information about the ghc-commits
mailing list