Skip to content
  1. Sep 21, 2015
  2. Sep 20, 2015
  3. Sep 18, 2015
  4. Sep 17, 2015
    • Jason Evans's avatar
      Expand check_integration_prof testing. · 4d0e162d
      Jason Evans authored
      Run integration tests with MALLOC_CONF="prof:true,prof_active:false" in
      addition to MALLOC_CONF="prof:true".
      4d0e162d
    • Jason Evans's avatar
      Fix prof_alloc_rollback(). · 3ca0cf6a
      Jason Evans authored
      Fix prof_alloc_rollback() to read tdata from thread-specific data rather
      than dereferencing a potentially invalid tctx.
      3ca0cf6a
    • Jason Evans's avatar
      Simplify imallocx_prof_sample(). · 3263be6e
      Jason Evans authored
      Simplify imallocx_prof_sample() to always operate on usize rather than
      sometimes using size.  This avoids redundant usize computations and
      more closely fits the style adopted by i[rx]allocx_prof_sample() to fix
      sampling bugs.
      3263be6e
    • Jason Evans's avatar
      Fix irallocx_prof_sample(). · 4be9c79f
      Jason Evans authored
      Fix irallocx_prof_sample() to always allocate large regions, even when
      alignment is non-zero.
      4be9c79f
    • Jason Evans's avatar
      Fix ixallocx_prof_sample(). · 38e2c8fa
      Jason Evans authored
      Fix ixallocx_prof_sample() to never modify nor create sampled small
      allocations.  xallocx() is in general incapable of moving small
      allocations, so this fix removes buggy code without loss of generality.
      38e2c8fa
  5. Sep 16, 2015
  6. Sep 15, 2015
  7. Sep 12, 2015
  8. Sep 10, 2015
    • Jason Evans's avatar
      Fix "prof.reset" mallctl-related corruption. · a00b1073
      Jason Evans authored
      Fix heap profiling to distinguish among otherwise identical sample sites
      with interposed resets (triggered via the "prof.reset" mallctl).  This
      bug could cause data structure corruption that would most likely result
      in a segfault.
      a00b1073
  9. Sep 04, 2015
  10. Sep 02, 2015
    • Jason Evans's avatar
      Optimize arena_prof_tctx_set(). · 594c759f
      Jason Evans authored
      Optimize arena_prof_tctx_set() to avoid reading run metadata when
      deciding whether it's actually necessary to write.
      594c759f
    • Jason Evans's avatar
      Fix TLS configuration. · c0f43b65
      Jason Evans authored
      Fix TLS configuration such that it is enabled by default for platforms
      on which it works correctly.  This regression was introduced by
      ac5db020 (Make --enable-tls and
      --enable-lazy-lock take precedence over configure.ac-hardcoded
      defaults).
      c0f43b65
  11. Aug 28, 2015
    • Mike Hommey's avatar
      Don't purge junk filled chunks when shrinking huge allocations · 4a2a3c9a
      Mike Hommey authored
      When junk filling is enabled, shrinking an allocation fills the bytes
      that were previously allocated but now aren't. Purging the chunk before
      doing that is just a waste of time.
      
      This resolves #260.
      4a2a3c9a
    • Mike Hommey's avatar
      Fix chunk purge hook calls for in-place huge shrinking reallocation. · 6d8075f1
      Mike Hommey authored
      Fix chunk purge hook calls for in-place huge shrinking reallocation to
      specify the old chunk size rather than the new chunk size.  This bug
      caused no correctness issues for the default chunk purge function, but
      was visible to custom functions set via the "arena.<i>.chunk_hooks"
      mallctl.
      
      This resolves #264.
      6d8075f1
    • Jason Evans's avatar
      Fix arenas_cache_cleanup() and arena_get_hard(). · 30949da6
      Jason Evans authored
      Fix arenas_cache_cleanup() and arena_get_hard() to handle
      allocation/deallocation within the application's thread-specific data
      cleanup functions even after arenas_cache is torn down.
      
      This is a more general fix that complements
      45e9f66c (Fix arenas_cache_cleanup().).
      30949da6
  12. Aug 26, 2015