[GHC] #7702: Memory Leak in CoreM (CoreWriter)

GHC cvs-ghc at haskell.org
Mon Apr 8 23:39:55 CEST 2013


#7702: Memory Leak in CoreM (CoreWriter)
-------------------------------------------+--------------------------------
  Reporter:  afarmer                       |          Owner:                  
      Type:  bug                           |         Status:  patch           
  Priority:  normal                        |      Milestone:                  
 Component:  Compiler                      |        Version:  7.6.2           
Resolution:                                |       Keywords:                  
        Os:  Unknown/Multiple              |   Architecture:  Unknown/Multiple
   Failure:  Compile-time performance bug  |     Difficulty:  Unknown         
  Testcase:                                |      Blockedby:                  
  Blocking:                                |        Related:                  
-------------------------------------------+--------------------------------

Comment(by afarmer):

 Sorry for the delay. Here is the patch with the seq inside the return, as
 recommended by ezyang. This is confirmed to fix the leak (in conjunction
 with the first patch you already merged) in our HERMIT use cases.

 I'm working on a minimal performance test for the testsuite... I'll post
 here when I have something.

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



More information about the ghc-tickets mailing list