aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid T. Goldblatt <davidtgoldblatt@gmail.com>2017-10-01 18:02:39 -0700
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-12-18 16:29:10 -0800
commita8dd8876fb483f402833fa05f0fb46fe7c5416e1 (patch)
treebd6dfde1ad99f87157e07e56c721ae3911ab4dbb /include
parent4bf4a1c4ea418ba490d35d23aee0f535e96ddd23 (diff)
downloadplatform_external_jemalloc_new-a8dd8876fb483f402833fa05f0fb46fe7c5416e1.tar.gz
platform_external_jemalloc_new-a8dd8876fb483f402833fa05f0fb46fe7c5416e1.tar.bz2
platform_external_jemalloc_new-a8dd8876fb483f402833fa05f0fb46fe7c5416e1.zip
Move bin initialization from arena module to bin module.
Diffstat (limited to 'include')
-rw-r--r--include/jemalloc/internal/bin.h3
-rw-r--r--include/jemalloc/internal/witness.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/include/jemalloc/internal/bin.h b/include/jemalloc/internal/bin.h
index 09717b14..d7927221 100644
--- a/include/jemalloc/internal/bin.h
+++ b/include/jemalloc/internal/bin.h
@@ -78,4 +78,7 @@ struct bin_s {
malloc_bin_stats_t stats;
};
+/* Returns true on error. */
+bool bin_init(bin_t *bin);
+
#endif /* JEMALLOC_INTERNAL_BIN_H */
diff --git a/include/jemalloc/internal/witness.h b/include/jemalloc/internal/witness.h
index 33be6661..7ace8ae4 100644
--- a/include/jemalloc/internal/witness.h
+++ b/include/jemalloc/internal/witness.h
@@ -51,7 +51,7 @@
#define WITNESS_RANK_ARENA_LARGE 19U
#define WITNESS_RANK_LEAF 0xffffffffU
-#define WITNESS_RANK_ARENA_BIN WITNESS_RANK_LEAF
+#define WITNESS_RANK_BIN WITNESS_RANK_LEAF
#define WITNESS_RANK_ARENA_STATS WITNESS_RANK_LEAF
#define WITNESS_RANK_DSS WITNESS_RANK_LEAF
#define WITNESS_RANK_PROF_ACTIVE WITNESS_RANK_LEAF