Call hphp_thread_init earlier
commitec0cf8416335d43f2d2b70dd4558d3d0f60fa3e9
authorMichael O'Farrell <michaelofarrell@fb.com>
Wed, 12 Dec 2018 20:47:04 +0000 (12 12:47 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 12 Dec 2018 20:50:46 +0000 (12 12:50 -0800)
tree0a9860a811ccaf703adfb576d8f52e3f051e0789
parente622035b0fd2cce0d4a31a1bb348645e26082cc1
Call hphp_thread_init earlier

Summary: hphp_thread_init should be called as the first thing done in a worker thread.  Otherwise some state may not be configured properly.

Reviewed By: binliu19, ottoni

Differential Revision: D13432178

fbshipit-source-id: 14a598e8ecc79752cbe22802b22d9cde4580df78
hphp/runtime/vm/jit/prof-data-serialize.cpp