aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2015-09-14 23:44:37 -0700
committerJason Evans <jasone@canonware.com>2015-09-14 23:57:52 -0700
commitea8d97b8978a0c0423f0ed64332463a25b787c3d (patch)
tree5cdc94849fabee68f3ee003981406d24462b60c7 /ChangeLog
parent23f6e103c871b4db5b315caf1a8d5c46d9675691 (diff)
downloadplatform_external_jemalloc_new-ea8d97b8978a0c0423f0ed64332463a25b787c3d.tar.gz
platform_external_jemalloc_new-ea8d97b8978a0c0423f0ed64332463a25b787c3d.tar.bz2
platform_external_jemalloc_new-ea8d97b8978a0c0423f0ed64332463a25b787c3d.zip
Fix prof_{malloc,free}_sample_object() call order in prof_realloc().
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 95a4ac52..269d0898 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -35,6 +35,9 @@ brevity. Much more detail can be found in the git revision history:
allocation events against concurrent prof_active changes.
- Fix ixallocx_prof() to pass usize_max and zero to ixallocx_prof_sample() in
the correct order.
+ - 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.
* 4.0.0 (August 17, 2015)