avoid jitting when dumping serialized profile data
Summary:
When retranslateAll is scheduled but not complete, no more profile/live translations are created.
However, we are setting s_retranslateAllComplete before serializing profile data, which makes it possible to have live translations being created while we write out profile data.
This can lead to race conditions when accessing the profile data.
Reviewed By: ottoni
Differential Revision:
D13502787
fbshipit-source-id:
8b32022e187ba6e0ea2a744d51bd6b7b9d88aab7