[GHC] #13080: Memory leak caused by nested monadic loops

GHC ghc-devs at haskell.org
Wed Jan 11 21:52:20 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 Feuerbach):

 I thought that the state hack doesn't change the arity of functions, just
 marks them single-entry.

 Also, I don't think ghc needs the state hack to figure out the correct
 arity (in the non-polymorphic case), since it can see through the
 newtypes.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13080#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list