]> git.saurik.com Git - redis.git/blobdiff - deps/jemalloc/src/stats.c
Marginally cleaner lookupKeyByPattern() implementation.
[redis.git] / deps / jemalloc / src / stats.c
index cbbbb5ba6dcd22edc2e49a01c22fb72b06a9b6d4..dc172e425c0f7aee19ac024c9090e92ae4957153 100644 (file)
@@ -748,7 +748,7 @@ stats_print(void (*write_cb)(void *, const char *), void *cbopaque,
                                                ninitialized++;
                                }
 
                                                ninitialized++;
                                }
 
-                               if (ninitialized > 1) {
+                               if (ninitialized > 1 || unmerged == false) {
                                        /* Print merged arena stats. */
                                        malloc_cprintf(write_cb, cbopaque,
                                            "\nMerged arenas stats:\n");
                                        /* Print merged arena stats. */
                                        malloc_cprintf(write_cb, cbopaque,
                                            "\nMerged arenas stats:\n");