[GHC] #16065: Stack squeezing during context switches makes for non-determinism in allocations

GHC ghc-devs at haskell.org
Wed Dec 19 12:37:03 UTC 2018


#16065: Stack squeezing during context switches makes for non-determinism in
allocations
-------------------------------------+-------------------------------------
        Reporter:  sgraf             |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:  ⊥
       Component:  Runtime System    |              Version:  8.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #4450, #8861      |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 To eliminate determinism, `-V0` by itself is preferable. Stack squeezing
 by itself is perfectly deterministic, the non-determinism arises when it
 is done at non-deterministic times, which is a result of time-based
 context switches.

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


More information about the ghc-tickets mailing list