[GHC] #16065: Stack squeezing during context switches makes for non-determinism in allocations
GHC
ghc-devs at haskell.org
Tue Dec 18 18:51:07 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):
Ah, I just realised what causes the allocation: if we *don't* do stack
squeezing, then the larger stack size means that we might overflow the
stack in the future, which will entail allocating for the new stack chunk.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16065#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list