Files
jemalloc/src
Jason Evans de6fbdb72c Fix chunk_alloc_mmap() bugs.
Simplify chunk_alloc_mmap() to no longer attempt map extension.  The
extra complexity isn't warranted, because although in the success case
it saves one system call as compared to immediately falling back to
chunk_alloc_mmap_slow(), it also makes the failure case even more
expensive.  This simplification removes two bugs:

- For Windows platforms, pages_unmap() wasn't being called for unaligned
  mappings prior to falling back to chunk_alloc_mmap_slow().  This
  caused permanent virtual memory leaks.
- For non-Windows platforms, alignment greater than chunksize caused
  pages_map() to be called with size 0 when attempting map extension.
  This always resulted in an mmap() error, and subsequent fallback to
  chunk_alloc_mmap_slow().
2012-05-09 13:05:04 -07:00
..
2012-04-10 14:51:39 -07:00
2012-05-09 13:05:04 -07:00
2012-05-09 13:05:04 -07:00
2012-04-11 18:13:45 -07:00
2012-04-30 16:42:30 -07:00
2012-04-30 16:50:55 -07:00
2012-05-01 11:32:11 -07:00
2012-04-23 22:07:30 -07:00
2012-05-02 16:33:19 -07:00
2012-05-02 00:30:36 -07:00