[GHC] #16012: set/getAllocationCounter is broken in GHCi

GHC ghc-devs at haskell.org
Sat Dec 8 10:30:42 UTC 2018


#16012: set/getAllocationCounter is broken in GHCi
-------------------------------------+-------------------------------------
           Reporter:  AndreasK       |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.6.3
          Component:  Compiler       |           Version:  8.6.2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 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
 }}}

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


More information about the ghc-tickets mailing list