Skip to content

Commit

Permalink
Revert jemalloc experimental_tcache_gc deployment in HHVM
Browse files Browse the repository at this point in the history
Reviewed By: ricklavoie, jtwarren, interwq

Differential Revision: D63040452

fbshipit-source-id: 4acae0d62d54cbaea5db0f2ee37a5387bd452919
  • Loading branch information
jano authored and facebook-github-bot committed Sep 19, 2024
1 parent e447500 commit 573e5a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hphp/util/alloc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,12 @@ SwappableReadonlyArena* get_swappable_readonly_arena() {

extern "C" {
const char* malloc_conf = "narenas:1,lg_tcache_max:16"
#if (JEMALLOC_VERSION_MAJOR == 5 && JEMALLOC_VERSION_MINOR >= 3) || \
(JEMALLOC_VERSION_MAJOR > 5) // requires jemalloc >= 5.3
#if (JEMALLOC_VERSION_NREV >= 211)
",experimental_tcache_gc:false"
#endif
#endif
#if (JEMALLOC_VERSION_MAJOR == 5 && JEMALLOC_VERSION_MINOR >= 1) || \
(JEMALLOC_VERSION_MAJOR > 5) // requires jemalloc >= 5.1
",metadata_thp:disabled"
Expand Down

0 comments on commit 573e5a8

Please sign in to comment.