[GHC] #13080: Memory leak caused by nested monadic loops
GHC
ghc-devs at haskell.org
Fri Jan 13 14:07:51 UTC 2017
#13080: Memory leak caused by nested monadic loops
-------------------------------------+-------------------------------------
Reporter: Feuerbach | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 8.2.1
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Runtime | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
> So, it seems to me we need a new kind of Core lambda, or a flag on
lambda, that means (a) don't float out of this, (b) don't beta reduce
this.
We already have (a), namely one-shot lambdas. I don't understand why (b)
could possibly be good.
Perhaps someone can give a from-scratch articulation of the problem and
possible solutions, informed by this thread?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13080#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list