[GHC] #5705: getGCStats only works with +RTS -s

GHC cvs-ghc at haskell.org
Thu Dec 15 19:51:58 CET 2011


#5705: getGCStats only works with +RTS -s
------------------------------+---------------------------------------------
 Reporter:  tibbe             |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  Runtime System  
  Version:  7.2.1             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------

Comment(by ezyang):

 Yes, this is because the information is collected from GC statistics (note
 that you actually probably want -T, because that results in no extra
 output.)

 I'm pretty sure this is WONTFIX, because GC statistics impose nontrivial
 overhead. Something that I've been meaning to do but haven't yet is have
 the function throw an exception if stats are not available.

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



More information about the Glasgow-haskell-bugs mailing list