Skip to content

4.0.2

Compare
Choose a tag to compare
@jasone jasone released this 21 Sep 18:58
· 2361 commits to dev since this release

This bugfix release addresses a few bugs specific to heap profiling.

Bug fixes:

  • 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.
  • Fix irallocx_prof_sample() to always allocate large regions, even when alignment is non-zero.
  • Fix prof_alloc_rollback() to read tdata from thread-specific data rather than dereferencing a potentially invalid tctx.