diff options
author | Jason Evans <jasone@canonware.com> | 2012-04-02 22:18:24 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2012-04-02 22:18:24 (GMT) |
commit | f0047372673da7f213f733465dab0d8825eb1c9f (patch) | |
tree | 67fa9306c2e905569b0a171623f2510fe2fbc74d /Makefile.in | |
parent | 96d4120ac08db3f2d566e8e5c3bc134a24aa0afc (diff) | |
download | jemalloc-f0047372673da7f213f733465dab0d8825eb1c9f.zip jemalloc-f0047372673da7f213f733465dab0d8825eb1c9f.tar.gz jemalloc-f0047372673da7f213f733465dab0d8825eb1c9f.tar.bz2 |
Revert "Avoid NULL check in free() and malloc_usable_size()."
This reverts commit 96d4120ac08db3f2d566e8e5c3bc134a24aa0afc.
ivsalloc() depends on chunks_rtree being initialized. This can be
worked around via a NULL pointer check. However,
thread_allocated_tsd_get() also depends on initialization having
occurred, and there is no way to guard its call in free() that is
cheaper than checking whether ptr is NULL.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index d8b671a..821c063 100644 --- a/Makefile.in +++ b/Makefile.in @@ -65,7 +65,7 @@ DOCS_HTML := $(DOCS_XML:@objroot@%.xml=@srcroot@%.html) DOCS_MAN3 := $(DOCS_XML:@objroot@%.xml=@srcroot@%.3) DOCS := $(DOCS_HTML) $(DOCS_MAN3) CTESTS := @srcroot@test/aligned_alloc.c @srcroot@test/allocated.c \ - @srcroot@test/bitmap.c @srcroot@test/mremap.c @srcroot@test/null.c \ + @srcroot@test/bitmap.c @srcroot@test/mremap.c \ @srcroot@test/posix_memalign.c @srcroot@test/thread_arena.c \ @srcroot@test/thread_tcache_enabled.c ifeq (@enable_experimental@, 1) |