[GHC] #7763: Resource limits for Haskell

GHC ghc-devs at haskell.org
Sat Jun 15 16:12:31 CEST 2013


#7763: Resource limits for Haskell
---------------------------------+------------------------------------------
    Reporter:  ezyang            |       Owner:  simonmar        
        Type:  feature request   |      Status:  patch           
    Priority:  normal            |   Milestone:  7.8.1           
   Component:  Profiling         |     Version:  7.7             
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by igloo):

 Generally, this looks OK to me, although I've only skimmed the actual
 patches.

 If I understand correctly, this would also allow users to programmatically
 create cost centres used in heap profiles too? But for that, rather than
 {{{
 newCC :: IO CostCentre
 }}}
 we'd presumably want
 {{{
 newCC :: String -> IO CostCentre
 }}}

 There are also a couple of scary looking comments:
 {{{
 // XXX Synchronization???
 // XXX wrong!
 }}}

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



More information about the ghc-tickets mailing list