diff options
author | jackpoz <giacomopoz@gmail.com> | 2014-03-12 20:53:34 +0100 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2014-03-28 22:34:39 +0100 |
commit | a3e56b06897b1768f52cc3ecbf7a9b836228fe19 (patch) | |
tree | dcc681418db3efccba5513c1ff0b82d1b2b6cebc /dep/jemalloc/src/stats.c | |
parent | f7659e5c1ac8e3fbc1ec17c69775877cb3482ac4 (diff) |
Core/Dependencies: Upgrade to jemalloc-3.5.1
Diffstat (limited to 'dep/jemalloc/src/stats.c')
-rw-r--r-- | dep/jemalloc/src/stats.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dep/jemalloc/src/stats.c b/dep/jemalloc/src/stats.c index 43f87af6700..bef2ab33cd4 100644 --- a/dep/jemalloc/src/stats.c +++ b/dep/jemalloc/src/stats.c @@ -345,25 +345,25 @@ stats_print(void (*write_cb)(void *, const char *), void *cbopaque, malloc_cprintf(write_cb, cbopaque, "Assertions %s\n", bv ? "enabled" : "disabled"); -#define OPT_WRITE_BOOL(n) \ +#define OPT_WRITE_BOOL(n) \ if ((err = je_mallctl("opt."#n, &bv, &bsz, NULL, 0)) \ == 0) { \ malloc_cprintf(write_cb, cbopaque, \ " opt."#n": %s\n", bv ? "true" : "false"); \ } -#define OPT_WRITE_SIZE_T(n) \ +#define OPT_WRITE_SIZE_T(n) \ if ((err = je_mallctl("opt."#n, &sv, &ssz, NULL, 0)) \ == 0) { \ malloc_cprintf(write_cb, cbopaque, \ " opt."#n": %zu\n", sv); \ } -#define OPT_WRITE_SSIZE_T(n) \ +#define OPT_WRITE_SSIZE_T(n) \ if ((err = je_mallctl("opt."#n, &ssv, &sssz, NULL, 0)) \ == 0) { \ malloc_cprintf(write_cb, cbopaque, \ " opt."#n": %zd\n", ssv); \ } -#define OPT_WRITE_CHAR_P(n) \ +#define OPT_WRITE_CHAR_P(n) \ if ((err = je_mallctl("opt."#n, &cpv, &cpsz, NULL, 0)) \ == 0) { \ malloc_cprintf(write_cb, cbopaque, \ |