[GHC] #1038: selector thunks not working? space leak in standard example

GHC trac at galois.com
Fri Jan 26 16:16:16 EST 2007


#1038: selector thunks not working? space leak in standard example
--------------------------------+-------------------------------------------
 Reporter:  tullsen at galois.com  |          Owner:         
     Type:  bug                 |         Status:  new    
 Priority:  normal              |      Milestone:  6.8    
Component:  Runtime System      |        Version:  6.6    
 Severity:  normal              |     Resolution:         
 Keywords:                      |     Difficulty:  Unknown
 Testcase:                      |   Architecture:  x86    
       Os:  Multiple            |  
--------------------------------+-------------------------------------------
Changes (by igloo):

  * milestone:  => 6.8

Comment:

 I thought we already had a bug report about this, but I can't find it now.

 As I recall, GHC does implement an optimisation designed to fix this leak,
 but it only looks down the thunk/selector chain to a bounded depth before
 bailing out, and thunks/selectors are created too fast. We have an idea of
 how it could be fixed, but haven't implemented it yet.

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


More information about the Glasgow-haskell-bugs mailing list