summaryrefslogtreecommitdiffstats
path: root/test/integration/aligned_alloc.c
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2011-02-01 03:58:22 (GMT)
committerJason Evans <je@fb.com>2011-02-01 03:58:22 (GMT)
commit31bfb3e7b0c48009c64a1375f6b8e5e7c5a29cdc (patch)
tree321413b07299517e47cdc88a48a7dbd7223b6a52 /test/integration/aligned_alloc.c
parentf256680f878cf3d4f9eb377ff345a90ef4845e75 (diff)
downloadjemalloc-31bfb3e7b0c48009c64a1375f6b8e5e7c5a29cdc.zip
jemalloc-31bfb3e7b0c48009c64a1375f6b8e5e7c5a29cdc.tar.gz
jemalloc-31bfb3e7b0c48009c64a1375f6b8e5e7c5a29cdc.tar.bz2
Fix an alignment-related bug in huge_ralloc().
Fix huge_ralloc() to call huge_palloc() only if alignment requires it. This bug caused under-sized allocation for aligned huge reallocation (via rallocm()) if the requested alignment was less than the chunk size (4 MiB by default).
Diffstat (limited to 'test/integration/aligned_alloc.c')
0 files changed, 0 insertions, 0 deletions