[GHC] #7818: Cost of STACK object should be attributed to CCCS at time of thread creation
GHC
cvs-ghc at haskell.org
Tue Apr 23 00:40:45 CEST 2013
#7818: Cost of STACK object should be attributed to CCCS at time of thread
creation
---------------------------------+------------------------------------------
Reporter: ezyang | Owner: ezyang
Type: task | Status: new
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 ezyang@…):
commit 5724ea01c943bbc78b6c8b6bfa01a5d026d42f5a
{{{
Author: Edward Z. Yang <ezyang at mit.edu>
Date: Sun Apr 7 16:31:44 2013 -0700
More accurate cost attribution for stacks. Fixes #7818.
Previously, stacks were always attributed to CCCS_SYSTEM. Now, we
attribute them to the CCS when the stack was allocated. If a stack
grows, new stack chunks inherit the CCS of the old stack.
Signed-off-by: Edward Z. Yang <ezyang at mit.edu>
rts/Threads.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7818#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list