Move folly/MallctlHelper.h to folly/memory/ Summary: [Folly] Move `folly/MallctlHelper.h` to `folly/memory/`. Reviewed By: aary Differential Revision: D6087216 fbshipit-source-id: 4e0fa4aea976e2578127d3c340e0e9b559a224ca
Fix the build of MallctlHelperTest without JEMalloc Summary: `kDecayCmd` was guarded such that it wasn't being defined at all if JEMalloc wasn't available. Closes https://github.com/facebook/folly/issues/608 Reviewed By: interwq Differential Revision: D5193721 fbshipit-source-id: 1a2666de70e90eac1e9f2e130d0452b01b3239fa
Update MallctlHelperTest with jemalloc 5 APIs. Summary: Update decay time API to be jemalloc 4 & 5 compatible. Reviewed By: yfeldblum Differential Revision: D5188574 fbshipit-source-id: 8e3c26c8b6431efdd0ec7ff492a065bddb816b4b
2017 Summary: [Folly] 2017. Reviewed By: Orvid Differential Revision: D4378593 fbshipit-source-id: 4a448228bb1ddbe191b6e8562483867a399be846
Use the GTest portability headers Summary: Switch all of the uses of `<gtest/gtest.h>` to `<folly/portability/GTest.h>`. This is painful but necessary to get the tests to compile nicely under MSVC. Reviewed By: yfeldblum Differential Revision: D3837300 fbshipit-source-id: 7ae43a5d5ba94c8c24fa23a485f18546416e7191
Add helper functions for mallctl Summary: As more code is using mallctl, it's worth making these helper functions available everywhere. Reviewed By: yfeldblum Differential Revision: D3576190 fbshipit-source-id: 968e80e00f2ed93542e117c24861c21745b63f20