test removal path hh_shared
commit26911304d13fcb0c3b1ee7b1d00bd9483458c0bc
authorGreg Nisbet <gregorynisbet@fb.com>
Wed, 16 May 2018 21:16:55 +0000 (16 14:16 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 16 May 2018 21:19:01 +0000 (16 14:19 -0700)
treed9ac407c805aeca5a48783e0c8aedce12f85d2f5
parent75cb2562c20aad938975844946e883bba9444815
test removal path hh_shared

Summary:
add counter for total number of items removed from hashtbl in current process.

This counter is used to facilitate testing ... and is literally the number of times
that hh_remove is called.

Reviewed By: dabek

Differential Revision: D7944070

fbshipit-source-id: 2e638e513cc2b61ab5564277d4f53fd786e3c9de
hphp/hack/src/heap/hh_shared.c
hphp/hack/src/heap/sharedMem.ml
hphp/hack/test/unit/heap/test_removed.ml [new file with mode: 0644]