summaryrefslogtreecommitdiffstats
path: root/test/aligned_alloc.exp
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2010-10-16 23:10:40 (GMT)
committerJason Evans <jasone@canonware.com>2010-10-16 23:19:10 (GMT)
commit397e5111b5efd49f61f73c1bad0375c7885a6128 (patch)
tree173e712b4c407bb5a87ea7c08c34789c4214762c /test/aligned_alloc.exp
parent004ed142a66529ecf4a55e8f4fa42ff2e535f586 (diff)
downloadjemalloc-397e5111b5efd49f61f73c1bad0375c7885a6128.zip
jemalloc-397e5111b5efd49f61f73c1bad0375c7885a6128.tar.gz
jemalloc-397e5111b5efd49f61f73c1bad0375c7885a6128.tar.bz2
Preserve CHUNK_MAP_UNZEROED for small runs.
Preserve CHUNK_MAP_UNZEROED when allocating small runs, because it is possible that untouched pages will be returned to the tree of clean runs, where the CHUNK_MAP_UNZEROED flag matters. Prior to the conversion from CHUNK_MAP_ZEROED, this was already a bug, but in the worst case extra zeroing occurred. After the conversion, this bug made it possible to incorrectly treat pages as pre-zeroed.
Diffstat (limited to 'test/aligned_alloc.exp')
0 files changed, 0 insertions, 0 deletions