[GHC] #917: -O introduces space leak

GHC cvs-ghc at haskell.org
Wed Sep 26 02:15:19 CEST 2012


#917: -O introduces space leak
----------------------------------------+-----------------------------------
    Reporter:  claus.reinke@…           |       Owner:                  
        Type:  bug                      |      Status:  new             
    Priority:  lowest                   |   Milestone:  _|_             
   Component:  Compiler                 |     Version:  6.5             
    Keywords:                           |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple         |     Failure:  None/Unknown    
  Difficulty:  Unknown                  |    Testcase:                  
   Blockedby:                           |    Blocking:                  
     Related:                           |  
----------------------------------------+-----------------------------------

Comment(by ezyang):

 While doing this automatically seems quite hard, would some generalized
 form of ``revertCAFs`` help folks out? The generalization would be on two
 axes: one is that it would apply to any closure on the heap, not just
 CAFs; and two is that you would be able to trigger the reversion from user
 code (some other thunk to force, which you can either throw away or poke
 with a ``seq``).

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



More information about the Glasgow-haskell-bugs mailing list