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

GHC ghc-devs at haskell.org
Wed Dec 19 08:59:00 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 sgraf):

 Replying to [comment:3 osa1]:
 > > because its effect is depending on when context switches are bound to
 happen
 >
 > Any ideas why -V0 doesn't fix this? It seems to have fixed the same
 problem in #4450.

 Yes, it fixes that, too
 (https://ghc.haskell.org/trac/ghc/ticket/8611#comment:11). But it isn't
 enabled by default (and nor should it).

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


More information about the ghc-tickets mailing list