Skip to content

set/getAllocationCounter is broken in GHCi

It doesn't seem obvious why it shouldn't work in GHCi, hence the report.

Prelude System.Mem> getAllocationCounter
9223372036854757447
Prelude System.Mem> setAllocationCounter 0
()
Prelude System.Mem> getAllocationCounter
9223372036854758855
Trac metadata
Trac field Value
Version 8.6.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
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