Set/clear CHUNK_MAP_ZEROED in arena_chunk_purge().

Properly set/clear CHUNK_MAP_ZEROED for all purged pages, according to
whether the pages are (potentially) file-backed or anonymous.  This was
merely a performance pessimization for the anonymous mapping case, but
was a calloc()-related bug for the swap_enabled case.
1 file changed
tree: b52b456ae742867e533e461d1a08183b9384953b
  1. jemalloc/
  2. .gitignore