diff options
Diffstat (limited to 'memory')
-rw-r--r-- | memory/mozjemalloc/jemalloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/memory/mozjemalloc/jemalloc.c b/memory/mozjemalloc/jemalloc.c index d8c9a4c6e8..10bf77993d 100644 --- a/memory/mozjemalloc/jemalloc.c +++ b/memory/mozjemalloc/jemalloc.c @@ -5944,6 +5944,7 @@ malloc_usable_size_impl(MALLOC_USABLE_SIZE_CONST_PTR void *ptr) return (isalloc_validate(ptr)); } +#ifdef MALLOC_STATS MOZ_JEMALLOC_API void jemalloc_stats_impl(jemalloc_stats_t *stats) { @@ -6086,7 +6087,7 @@ jemalloc_stats_impl(jemalloc_stats_t *stats) assert(stats->mapped >= stats->allocated + stats->waste + stats->page_cache + stats->bookkeeping); } - +#endif // MALLOC_STATS #ifdef MALLOC_DOUBLE_PURGE /* Explicitly remove all of this chunk's MADV_FREE'd pages from memory. */ |