Put latest_heap_size in shared heap to fix a bug introduced in D7282948 ("Run shared...
commit708e68a23af72607768a81c88d4b1b5592539993
authorKasper Kopec <kasper@fb.com>
Wed, 21 Mar 2018 00:45:42 +0000 (20 17:45 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 21 Mar 2018 00:49:02 +0000 (20 17:49 -0700)
tree76b9cc5bb77820d740f9401c41dae2351907d05d
parent9fb7e83bc56785fa27604394dc5b5762ae55d789
Put latest_heap_size in shared heap to fix a bug introduced in D7282948 ("Run shared memory collector in a worker process")

Summary:
This variable was not shared memory, so workers seen it as 0 and ended up
always running the collection.

Reviewed By: jamesjwu

Differential Revision: D7340028

fbshipit-source-id: 0030a804bae618933ced6ff3352bc2ae5a09d182
hphp/hack/src/heap/hh_shared.c