Convert g_variables to ThreadLocalProxy<T>
commitd1cd0c0dec4e74978224027fe26d80fdd67e9a8b
authorEdwin Smith <smith@fb.com>
Mon, 11 Sep 2017 17:30:01 +0000 (11 10:30 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Mon, 11 Sep 2017 17:40:09 +0000 (11 10:40 -0700)
tree7c0daab5dff02b980905ee509a1ca6c4a5905d70
parent18be6aa447dd005578c8bc77ce34828a2491a505
Convert g_variables to ThreadLocalProxy<T>

Summary:
GlobalsArray is a heap object, so g_variables is part of the
root set.

Reviewed By: paulbiss

Differential Revision: D5729619

fbshipit-source-id: 547bf2bf98ab4efa21a3dc888dba20f037f675c0
hphp/runtime/vm/globals-array.cpp