[GHC] #5654: Profiling semantics bug
GHC
ghc-devs at haskell.org
Fri Jan 6 15:53:51 UTC 2017
#5654: Profiling semantics bug
-------------------------------------+-------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: closed
Priority: low | Milestone: 8.2.1
Component: Profiling | Version: 7.2.1
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
| profiling/should_run/scc004
Blocked By: | Blocking:
Related Tickets: #10007 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Simon Marlow <marlowsd@…>):
In [changeset:"3a18baff06abc193569b1b76358da26375b3c8d6/ghc" 3a18baf/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="3a18baff06abc193569b1b76358da26375b3c8d6"
More fixes for #5654
* In stg_ap_0_fast, if we're evaluating a thunk, the thunk might
evaluate to a function in which case we may have to adjust its CCS.
* The interpreter has its own implementation of stg_ap_0_fast, so we
have to do the same shenanigans with creating empty PAPs and copying
PAPs there.
* GHCi creates Cost Centres as children of CCS_MAIN, which enterFunCCS()
wrongly assumed to imply that they were CAFs. Now we use the is_caf
flag for this, which we have to correctly initialise when we create a
Cost Centre in GHCi.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/5654#comment:22>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list