Wait in a loop for jemalloc threads to stop
commit64834993b347f3d6b1973817a702a8a4ec86b055
authorArnab De <arnabde@fb.com>
Mon, 20 Sep 2021 14:43:20 +0000 (20 07:43 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Mon, 20 Sep 2021 15:23:49 +0000 (20 08:23 -0700)
tree52023e89e25140d3d1237a2beb2ba5557f3ab7b6
parent540fbb8b6e4fd26ef4198a85c3aa395b890f5fe0
Wait in a loop for jemalloc threads to stop

Summary: Currently server tests are flaky because jemalloc background threads may take some time to stop.

Reviewed By: binliu19

Differential Revision: D30995020

fbshipit-source-id: 1f39faf26a350a0c1fd088faf7e08892211b1ff4
hphp/runtime/base/program-functions.cpp