summaryrefslogtreecommitdiffstats
path: root/include/jemalloc
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-02-26 20:48:43 (GMT)
committerJason Evans <jasone@canonware.com>2017-02-27 19:17:47 (GMT)
commit079b8bee37ddd35e25c0cf7ac9241520290fa66c (patch)
tree866be127997d88ba2192dad5a65236dde38f18b8 /include/jemalloc
parentd727596bcbd3f2d6b2af1e21cf19210ac236f8df (diff)
downloadjemalloc-079b8bee37ddd35e25c0cf7ac9241520290fa66c.zip
jemalloc-079b8bee37ddd35e25c0cf7ac9241520290fa66c.tar.gz
jemalloc-079b8bee37ddd35e25c0cf7ac9241520290fa66c.tar.bz2
Tidy up extent quantization.
Remove obsolete unit test scaffolding for extent quantization. Remove redundant assertions. Add an assertion to extents_first_best_fit_locked() that should help prevent aligned allocation regressions.
Diffstat (limited to 'include/jemalloc')
-rw-r--r--include/jemalloc/internal/extent_externs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/jemalloc/internal/extent_externs.h b/include/jemalloc/internal/extent_externs.h
index d971ec3..f5efed0 100644
--- a/include/jemalloc/internal/extent_externs.h
+++ b/include/jemalloc/internal/extent_externs.h
@@ -11,10 +11,6 @@ extent_hooks_t *extent_hooks_get(arena_t *arena);
extent_hooks_t *extent_hooks_set(arena_t *arena, extent_hooks_t *extent_hooks);
#ifdef JEMALLOC_JET
-typedef size_t (extent_size_quantize_t)(size_t);
-extern extent_size_quantize_t *extent_size_quantize_floor;
-extern extent_size_quantize_t *extent_size_quantize_ceil;
-#else
size_t extent_size_quantize_floor(size_t size);
size_t extent_size_quantize_ceil(size_t size);
#endif