[GHC] #14445: GC timing stats (e.g. mutator_elapsed_ns) decrease over time

GHC ghc-devs at haskell.org
Wed Nov 15 20:05:28 UTC 2017


#14445: GC timing stats (e.g. mutator_elapsed_ns) decrease over time
-------------------------------------+-------------------------------------
        Reporter:  harendra          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Debugging         |  Unknown/Multiple
  information is incorrect           |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #14257, #14006,   |  Differential Rev(s):
  #11645                             |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"d9f0c24dd01b2f2a9a5ccc2fc45e93064d4ba0c1/ghc"
 d9f0c24d/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d9f0c24dd01b2f2a9a5ccc2fc45e93064d4ba0c1"
 rts: Fix gc timing

 We were accumulating the gc times of the previous gc.
 `stats.gc.{cpu,elappsed}_ns` were being accumulated into
 `stats.gc_{cpu,elapsed}_ns` before they were set.

 There is also a change in that heap profiling will no longer cause gc
 events to
 be emitted.

 Reviewers: bgamari, erikd, simonmar

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #14257, #14445

 Differential Revision: https://phabricator.haskell.org/D4184
 }}}

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


More information about the ghc-tickets mailing list