Eagerly blackhole AP_STACKs
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 3 Jul 2017 23:10:07 +0000 (19:10 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 3 Jul 2017 23:42:22 +0000 (19:42 -0400)
commitfd7a7a6363d8dde1813bc23cb4ef00ebb70a49c0
treeeab8f5e155dbe389bfc43d577dee38970474dded
parent0836bfbd480b00a690937060fc98df5e26453078
Eagerly blackhole AP_STACKs

This fixes #13615. See the rather lengthy Note [AP_STACKs must be
eagerly blackholed] for details.

Reviewers: simonmar, austin, erikd, dfeuer

Subscribers: duog, dfeuer, hsyl20, rwbarton, thomie

GHC Trac Issues: #13615

Differential Revision: https://phabricator.haskell.org/D3695
rts/Apply.cmm
rts/RaiseAsync.c
rts/ThreadPaused.c