Require jemalloc 5, build and statically link if system version too old (#8621)nightly-2019.12.06
commitb08079f671dd5d875a0b02ac1f158dfc98b030e7
authorFred Emmott <[email protected]>
Fri, 6 Dec 2019 01:57:08 +0000 (5 17:57 -0800)
committerFacebook Github Bot <[email protected]>
Fri, 6 Dec 2019 01:59:18 +0000 (5 17:59 -0800)
tree824643279678e2827d0f97dba65c1acbb405c27a
parentedc3cf19714164aedcc13e2f23a2a3cd9c58cb42
Require jemalloc 5, build and statically link if system version too old (#8621)

Summary:
HHVM uses 2mb-aligned 2mb slabs; on jemalloc < 5, these get a 4mb.

Older versions of HHVM detect the 4mb allocation and use it, but do not use it
correctly.
Pull Request resolved: https://github.com/facebook/hhvm/pull/8621

Reviewed By: binliu19

Differential Revision: D18833359

fbshipit-source-id: 2d2b6b28ab90596d1a88c86e788f43f15409d67d
CMake/HPHPFindLibs.cmake
CMake/HPHPSetup.cmake
CMake/Options.cmake
third-party/CMakeLists.txt
third-party/folly/CMakeLists.txt
third-party/jemalloc/CMakeLists.txt [new file with mode: 0644]