diff options
| author | Jason Evans <jasone@canonware.com> | 2015-09-14 23:44:37 -0700 |
|---|---|---|
| committer | Jason Evans <jasone@canonware.com> | 2015-09-14 23:57:52 -0700 |
| commit | ea8d97b8978a0c0423f0ed64332463a25b787c3d (patch) | |
| tree | 5cdc94849fabee68f3ee003981406d24462b60c7 /ChangeLog | |
| parent | 23f6e103c871b4db5b315caf1a8d5c46d9675691 (diff) | |
| download | platform_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-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |
