- Sep 21, 2015
-
-
Jason Evans authored
-
Jason Evans authored
-
Craig Rodrigues authored
-
- Sep 20, 2015
-
-
Jason Evans authored
-
- Sep 18, 2015
-
-
Jason Evans authored
-
- Sep 17, 2015
-
-
Jason Evans authored
Run integration tests with MALLOC_CONF="prof:true,prof_active:false" in addition to MALLOC_CONF="prof:true".
-
Jason Evans authored
Fix prof_alloc_rollback() to read tdata from thread-specific data rather than dereferencing a potentially invalid tctx.
-
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.
-
Jason Evans authored
Fix irallocx_prof_sample() to always allocate large regions, even when alignment is non-zero.
-
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.
-
- Sep 16, 2015
-
-
Jason Evans authored
-
Jason Evans authored
-
Jason Evans authored
Systems that do not support chunk split/merge cannot shrink/grow huge allocations in place.
-
- Sep 15, 2015
-
-
Jason Evans authored
This resolves #257.
-
Jason Evans authored
-
Jason Evans authored
-
Dmitry-Me authored
This resolves #274.
-
Jason Evans authored
Don't assume Bourne shell is in /bin/sh when running size_classes.sh . Consider __sparcv9 a synonym for __sparc64__ when defining LG_QUANTUM. This resolves #275.
-
Jason Evans authored
-
Jason Evans authored
This change was intended as part of 8f57e3f1 (Remove check_stress from check target's dependencies.).
-
Jason Evans authored
Add arena_prof_tctx_reset() and use it instead of arena_prof_tctx_set() when resetting the tctx pointer during reallocation, which happens whenever an originally sampled reallocated object is not sampled during reallocation. This regression was introduced by 594c759f (Optimize arena_prof_tctx_set().)
-
Jason Evans authored
Fix prof_realloc() to call prof_free_sampled_object() after calling prof_malloc_sample_object(). Prior to this fix, if tctx and old_tctx were the same, the tctx could have been prematurely destroyed.
-
Jason Evans authored
Fix ixallocx_prof() to pass usize_max and zero to ixallocx_prof_sample() in the correct order.
-
Jason Evans authored
-
Jason Evans authored
-
Jason Evans authored
Make one call to prof_active_get_unlocked() per allocation event, and use the result throughout the relevant functions that handle an allocation event. Also add a missing check in prof_realloc(). These fixes protect allocation events against concurrent prof_active changes.
-
Jason Evans authored
-
Jason Evans authored
-
Jason Evans authored
Fix ixallocx_prof() to clamp the extra parameter if size+extra would overflow HUGE_MAXCLASS.
-
- Sep 12, 2015
-
-
Jason Evans authored
Prior to this change the debug build/test command needed to look like: make all tests && make check_unit && make check_integration && \ make check_integration_prof This is now simply: make check Rename the check_stress target to stress.
-
Jason Evans authored
arena_maxclass is no longer an appropriate name, because arenas also manage huge allocations.
-
Jason Evans authored
Fix xallocx() bugs related to the 'extra' parameter when specified as non-zero.
-
- Sep 10, 2015
-
-
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.
-
- Sep 04, 2015
-
-
Dmitry-Me authored
-
Mike Hommey authored
This resolves #269.
-
Jason Evans authored
This didn't cause bad code generation in the one case spot-checked (gcc 4.8.1), but had the potential to to so. This bug was introduced by 594c759f (Optimize arena_prof_tctx_set().).
-
- Sep 02, 2015
-
-
Jason Evans authored
Optimize arena_prof_tctx_set() to avoid reading run metadata when deciding whether it's actually necessary to write.
-
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).
-
- Aug 28, 2015
-
-
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.
-
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.
-