rts/RetainerProfile: Adding missing closure types to isRetainer
authorBen Gamari <bgamari.foss@gmail.com>
Tue, 19 Sep 2017 13:51:01 +0000 (09:51 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 19 Sep 2017 17:37:46 +0000 (13:37 -0400)
commit6252292d4f4061f6e55c7f92a399160147c4ca74
treea351164d82573652b5c803f8ed74a982857bfce2
parent1db0f4a48e9db5e85782e32f074cc83bbc145cb7
rts/RetainerProfile: Adding missing closure types to isRetainer

orzo in `#ghc` reported seeing a crash due to the retainer profiler encountering
a BLOCKING_QUEUE closure, which isRetainer didn't know about. I performed an
audit to make sure that all of the valid closure types were listed; they
weren't. This is my guess of how they should appear.

Test Plan: Validate

Reviewers: simonmar, austin, erikd

Reviewed By: simonmar

Subscribers: rwbarton, thomie

GHC Trac Issues: #14235

Differential Revision: https://phabricator.haskell.org/D3967
includes/rts/storage/ClosureTypes.h
rts/RetainerProfile.c