diff options
author | Qi Wang <interwq@gwu.edu> | 2017-12-22 00:17:45 (GMT) |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2018-01-05 22:27:58 (GMT) |
commit | ba5992fe9ac1708c812ec65bff3270bba17f1e1b (patch) | |
tree | 4977c59116dad66c697efae1ee3ea37ed240e544 /src/ph.c | |
parent | 41790f4fa475434ea84b8509b9a68e63d9a86f95 (diff) | |
download | jemalloc-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