summaryrefslogtreecommitdiffstats
path: root/src/ph.c
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-12-22 00:17:45 (GMT)
committerQi Wang <interwq@gmail.com>2018-01-05 22:27:58 (GMT)
commitba5992fe9ac1708c812ec65bff3270bba17f1e1b (patch)
tree4977c59116dad66c697efae1ee3ea37ed240e544 /src/ph.c
parent41790f4fa475434ea84b8509b9a68e63d9a86f95 (diff)
downloadjemalloc-ba5992fe9ac1708c812ec65bff3270bba17f1e1b.zip
jemalloc-ba5992fe9ac1708c812ec65bff3270bba17f1e1b.tar.gz
jemalloc-ba5992fe9ac1708c812ec65bff3270bba17f1e1b.tar.bz2
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 'src/ph.c')
0 files changed, 0 insertions, 0 deletions