Skip to content
  1. Apr 17, 2012
    • Jason Evans's avatar
      Add the --disable-munmap option. · 59ae2766
      Jason Evans authored
      Add the --disable-munmap option, remove the configure test that
      attempted to detect the VM allocation quirk known to exist on Linux
      x86[_64], and make --disable-munmap implicit on Linux.
      59ae2766
  2. Apr 16, 2012
  3. Apr 14, 2012
  4. Apr 13, 2012
    • Jason Evans's avatar
      Disable munmap() if it causes VM map holes. · 7ca0fdfb
      Jason Evans authored
      Add a configure test to determine whether common mmap()/munmap()
      patterns cause VM map holes, and only use munmap() to discard unused
      chunks if the problem does not exist.
      
      Unify the chunk caching for mmap and dss.
      
      Fix options processing to limit lg_chunk to be large enough that
      redzones will always fit.
      7ca0fdfb
    • Jason Evans's avatar
      Always disable redzone by default. · d6abcbb1
      Jason Evans authored
      Always disable redzone by default, even when --enable-debug is
      specified.  The memory overhead for redzones can be substantial, which
      makes this feature something that should only be opted into.
      d6abcbb1
    • Jason Evans's avatar
      Re-silence -MM compiler invocations. · c751b1c2
      Jason Evans authored
      c751b1c2
  5. Apr 12, 2012
  6. Apr 11, 2012
    • Jason Evans's avatar
      Implement Valgrind support, redzones, and quarantine. · 122449b0
      Jason Evans authored
      Implement Valgrind support, as well as the redzone and quarantine
      features, which help Valgrind detect memory errors.  Redzones are only
      implemented for small objects because the changes necessary to support
      redzones around large and huge objects are complicated by in-place
      reallocation, to the point that it isn't clear that the maintenance
      burden is worth the incremental improvement to Valgrind support.
      
      Merge arena_salloc() and arena_salloc_demote().
      
      Refactor i[v]salloc() to expose the 'demote' option.
      122449b0
    • Jason Evans's avatar
      Rename labels. · a1ee7838
      Jason Evans authored
      Rename labels from FOO to label_foo in order to avoid system macro
      definitions, in particular OUT and ERROR on mingw.
      
      Reported by Mike Hommey.
      a1ee7838
  7. Apr 10, 2012
  8. Apr 06, 2012
    • Jason Evans's avatar
      Always initialize tcache data structures. · 3701367e
      Jason Evans authored
      Always initialize tcache data structures if the tcache configuration
      option is enabled, regardless of opt_tcache.  This fixes
      "thread.tcache.enabled" mallctl manipulation in the case when opt_tcache
      is false.
      3701367e
    • Jason Evans's avatar
      Remove arena_malloc_prechosen(). · fad100bc
      Jason Evans authored
      Remove arena_malloc_prechosen(), now that arena_malloc() can be invoked
      in a way that is semantically equivalent.
      fad100bc
  9. Apr 05, 2012
  10. Apr 04, 2012
  11. Apr 03, 2012
  12. Apr 02, 2012
  13. Apr 03, 2012
    • Jason Evans's avatar
      Revert "Avoid NULL check in free() and malloc_usable_size()." · f0047372
      Jason Evans authored
      This reverts commit 96d4120a.
      
      ivsalloc() depends on chunks_rtree being initialized.  This can be
      worked around via a NULL pointer check.  However,
      thread_allocated_tsd_get() also depends on initialization having
      occurred, and there is no way to guard its call in free() that is
      cheaper than checking whether ptr is NULL.
      f0047372
  14. Apr 02, 2012
  15. Mar 30, 2012