Update headers to match .in changes.
jemalloc_internal.h.in and jemalloc_internal_defs.h.in have been
updated. This change updates the corresponding files to include the
new changes.
Bug: 21326736
(cherry picked from commit cb4217087d4d5b1271f8316515f5e71f087b3162)
Change-Id: I9290e16cc4689b63999e616acae1290eb8d25001
diff --git a/include/jemalloc/internal/jemalloc_internal.h b/include/jemalloc/internal/jemalloc_internal.h
index d907869..9706682 100644
--- a/include/jemalloc/internal/jemalloc_internal.h
+++ b/include/jemalloc/internal/jemalloc_internal.h
@@ -126,6 +126,13 @@
false
#endif
;
+static const bool config_cache_oblivious =
+#ifdef JEMALLOC_CACHE_OBLIVIOUS
+ true
+#else
+ false
+#endif
+ ;
#ifdef JEMALLOC_C11ATOMICS
#include <stdatomic.h>
@@ -941,7 +948,7 @@
extent_node_t *node;
/* Return 0 if ptr is not within a chunk managed by jemalloc. */
- node = chunk_lookup(CHUNK_ADDR2BASE(ptr));
+ node = chunk_lookup(ptr, false);
if (node == NULL)
return (0);
/* Only arena chunks should be looked up via interior pointers. */
diff --git a/include/jemalloc/internal/jemalloc_internal_defs.h b/include/jemalloc/internal/jemalloc_internal_defs.h
index 21ddbe2..eda4532 100644
--- a/include/jemalloc/internal/jemalloc_internal_defs.h
+++ b/include/jemalloc/internal/jemalloc_internal_defs.h
@@ -199,6 +199,12 @@
/* #undef JEMALLOC_IVSALLOC */
/*
+ * If defined, explicitly attempt to more uniformly distribute large allocation
+ * pointer alignments across all cache indices.
+ */
+/* #undef JEMALLOC_CACHE_OBLIVIOUS */
+
+/*
* Darwin (OS X) uses zones to work around Mach-O symbol override shortcomings.
*/
/* #undef JEMALLOC_ZONE */