aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-12-21 16:17:45 -0800
committerQi Wang <interwq@gmail.com>2018-01-05 14:27:58 -0800
commitba5992fe9ac1708c812ec65bff3270bba17f1e1b (patch)
tree4977c59116dad66c697efae1ee3ea37ed240e544 /include
parent41790f4fa475434ea84b8509b9a68e63d9a86f95 (diff)
downloadplatform_external_jemalloc_new-ba5992fe9ac1708c812ec65bff3270bba17f1e1b.tar.gz
platform_external_jemalloc_new-ba5992fe9ac1708c812ec65bff3270bba17f1e1b.tar.bz2
platform_external_jemalloc_new-ba5992fe9ac1708c812ec65bff3270bba17f1e1b.zip
Improve the fit for aligned allocation.
We compute the max size required to satisfy an alignment. However this can be quite pessimistic, especially with frequent reuse (and combined with state-based fragmentation). This commit adds one more fit step specific to aligned allocations, searching in all potential fit size classes.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions