
#13164: idle time full GCs (idle cpu usage) -------------------------------------+------------------------------------- Reporter: lspitzner | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 8.0.1 Resolution: | Keywords: idle GC Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonmar): The main purpose of the idle GC is not really to collect garbage, it's for deadlock detection. The program may have deadlocked even if it has only allocated a tiny amount since the previous GC, and we have no way of telling that. On the other hand, if you want the idle GC for collecting garbage, and you don't mind about not having prompt deadlock detection, then yes having those heuristics would be a good idea. I'm just not sure how often this is the case. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13164#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler