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

GHC cvs-ghc at haskell.org
Fri Mar 8 01:22:22 CET 2013


#7702: Memory Leak in CoreM (CoreWriter)
-------------------------------------------+--------------------------------
  Reporter:  afarmer                       |          Owner:                  
      Type:  bug                           |         Status:  new             
  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:                  
-------------------------------------------+--------------------------------
Changes (by afarmer):

  * status:  closed => new
  * resolution:  fixed =>


Comment:

 Turns out that the thunk leak in after.pdf (and before-second-patch.pdf)
 was also due to CoreM. Attached is another patch to fix this. Running the
 same test as before, you can see that the thunk leak disappears in after-
 second-patch.pdf.

 I also tested with _only_ the second patch, and the leak is still present,
 so both are necessary.

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



More information about the ghc-tickets mailing list