diff options
author | Jason Evans <jasone@canonware.com> | 2017-01-16 19:09:24 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2017-01-17 23:16:37 (GMT) |
commit | 1ff09534b58957a6f23b1711d986f79f070f2b06 (patch) | |
tree | 7b68a14e113d4eef955bbc5fa61b020a105ca380 /Makefile.in | |
parent | de5e1aff2a96afb18383667954740509538daa86 (diff) | |
download | jemalloc-1ff09534b58957a6f23b1711d986f79f070f2b06.zip jemalloc-1ff09534b58957a6f23b1711d986f79f070f2b06.tar.gz jemalloc-1ff09534b58957a6f23b1711d986f79f070f2b06.tar.bz2 |
Fix prof_realloc() regression.
Mostly revert the prof_realloc() changes in
498856f44a30b31fe713a18eb2fc7c6ecf3a9f63 (Move slabs out of chunks.) so
that prof_free_sampled_object() is called when appropriate. Leave the
prof_tctx_[re]set() optimization in place, but add an assertion to
verify that all eight cases are correctly handled. Add a comment to
make clear the code ordering, so that the regression originally fixed by
ea8d97b8978a0c0423f0ed64332463a25b787c3d (Fix
prof_{malloc,free}_sample_object() call order in prof_realloc().) is not
repeated.
This resolves #499.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index edc50b4..1be7d19 100644 --- a/Makefile.in +++ b/Makefile.in @@ -179,6 +179,7 @@ TESTS_UNIT := \ $(srcroot)test/unit/prof_gdump.c \ $(srcroot)test/unit/prof_idump.c \ $(srcroot)test/unit/prof_reset.c \ + $(srcroot)test/unit/prof_tctx.c \ $(srcroot)test/unit/prof_thread_name.c \ $(srcroot)test/unit/ql.c \ $(srcroot)test/unit/qr.c \ |