Use treadmill to unmap RDS
commit3afaaed340034d9bdddeca2c4381141488cb518b
authorEdwin Smith <smith@fb.com>
Tue, 20 Dec 2016 15:19:25 +0000 (20 07:19 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 20 Dec 2016 15:25:54 +0000 (20 07:25 -0800)
tree01a31b80666ac521a66f262ade2aa4d5f9e8ec76
parentfabf71a556e014174b0001a0376d04a9913c09b0
Use treadmill to unmap RDS

Summary:
JIT accesses other thread's RDS sections to get profile data,
which causes bursts of crashes during shutdown. Fix by using
the treadmill to unmap RDS.

Reviewed By: markw65

Differential Revision: D4346514

fbshipit-source-id: 5649179b4af33d106c37b219188711daf0d1e721
hphp/runtime/base/rds.cpp