Skip to content

gcd and fizzled reversed in event SparkCounters

There is a bug in RTS when emitting the spark counters event: the order of gcd and fizzled is reversed. The precise line is probably this:

rts/eventlog/EventLog.c-    postWord64(eb,counters.gcd);

but I think the spark counters type should be changed to match that of ghc-events and similary the order in which +RTS -s prints them.

Trac metadata
Trac field Value
Version 7.4.1-rc1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information