[GHC] #9476: Implement late lambda-lifting

GHC ghc-devs at haskell.org
Tue Dec 4 13:28:08 UTC 2018


#9476: Implement late lambda-lifting
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  sgraf
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  7.8.2
      Resolution:  fixed             |             Keywords:  LateLamLift
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #8763 #13286      |  Differential Rev(s):  Phab:D5224
       Wiki Page:  LateLamLift       |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I'm sorry I'm so slow, but I still don't understand the details of
 comment:68.

 But no matter!

 * I think we need a way to get accurate residency profiles, which in turn
 mean doing frequent, major garbage collections.  Then we can present
 meaningful results, rather than fumble around in the dark.

 * To do this, either we need to add a RTS flag or... doesn't it happen
 anyway when we have a very small nursery?  Each time the nursery runs out,
 we GC, and with -G1 that's a major GC.  What am I missing?

 Then I believe you are saying "Ignoring closure growth has no effect on
 residency".  Is that right?

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


More information about the ghc-tickets mailing list