Add the shm_max_evictable_bytes option
commit17948f36e269778afc834035e8aebc98e1d2b5d9
authorHenri Verroken <hverr@fb.com>
Tue, 23 Nov 2021 11:25:35 +0000 (23 03:25 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 23 Nov 2021 11:30:18 +0000 (23 03:30 -0800)
tree6525b5e1b952c3d961d896ec16af82ad5750cd7d
parent8f691d93522bc58036ff5fa2efcabdf9b72c31a7
Add the shm_max_evictable_bytes option

Summary: This diff makes the cache size configurable.

Differential Revision: D31171626

fbshipit-source-id: 857553c1ee04384d3819e5a9c577a0841dbed98d
15 files changed:
hphp/hack/src/heap/hh_shared.c
hphp/hack/src/heap/sharedMem.ml
hphp/hack/src/heap/sharedMem.mli
hphp/hack/src/server/serverConfig.ml
hphp/hack/src/server/serverLocalConfig.ml
hphp/hack/src/shmffi/shmffi/mod.rs
hphp/hack/src/shmrs/chashmap.rs
hphp/hack/test/ident/test_handoff.ml
hphp/hack/test/ident/test_workers.ml
hphp/hack/test/unit/heap/test_hashtbl.ml
hphp/hack/test/unit/heap/test_rawheap.ml
hphp/hack/test/unit/heap/test_removed.ml
hphp/hack/test/unit/heap/test_sharedmem.ml
hphp/hack/test/unit/naming/naming_table_tests.ml
hphp/hack/test/unit/server_tests.ml