
#8862: forkProcess does not play well with heap or time profiling ------------------------------------------------+-------------------------- Reporter: bennofs | Owner: Type: bug | simonmar Priority: normal | Status: new Component: Runtime System | Milestone: Resolution: | Version: 7.6.3 Operating System: Unknown/Multiple | Keywords: Type of failure: Incorrect result at runtime | Architecture: Test Case: | Unknown/Multiple Blocking: | Difficulty: | Unknown | Blocked By: | Related Tickets: ------------------------------------------------+-------------------------- Comment (by bennofs): I'm not using the threaded runtime. I think this is more difficult than just closing the .hp file. Wouldn't it make sense that the current cost centre stack is discarded in the child process, such that it behaves just like if the `IO` action passed to `forkProcess` was `main` ? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8862#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler