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
using namespace folly;
-#ifdef FOLLY_HAVE_LIBJEMALLOC
#if JEMALLOC_VERSION_MAJOR > 4
static constexpr char const* kDecayCmd = "arena.0.dirty_decay_ms";
const char* malloc_conf = "dirty_decay_ms:10";
static constexpr char const* kDecayCmd = "arena.0.decay_time";
const char* malloc_conf = "purge:decay,decay_time:10";
#endif
-#endif
class MallctlHelperTest : public ::testing::Test {
protected: