Disable timer-based context switches
authorSebastian Graf <sebastian.graf@kit.edu>
Sun, 30 Dec 2018 18:17:59 +0000 (19:17 +0100)
committerSebastian Graf <sgraf1337@gmail.com>
Tue, 1 Jan 2019 17:48:54 +0000 (18:48 +0100)
commite2d614e40e8b049ac0bcf3c6ccc6f0009864511e
tree500b4415b5745777365774be2f4a64e905e67a8b
parentc985746f0bfe32cb08b9dcd057ada2e90fe77f4d
Disable timer-based context switches

Summary:
In the past, we repeatedly had problems with non-deterministic allocations due to stack squeezing during context switches (#4450, #8611).
This patch adds `+RTS -V0 -RTS` as extra `RUNTEST_OPTS` for every single-threaded benchmark.

Is this the right place to add the flags? Should we also do this for all the other benchmarks?

Reviewers: simonmar, osa1, nomeata, O26 nofib

GHC Trac Issues: #8611

Differential Revision: https://phabricator.haskell.org/D5470
mk/opts.mk