diff options
author | Jason Evans <jasone@canonware.com> | 2012-04-02 21:50:03 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2012-04-02 21:50:03 (GMT) |
commit | 96d4120ac08db3f2d566e8e5c3bc134a24aa0afc (patch) | |
tree | 45d1a7ec5c0a467cd647c248691b703e37e88a36 /Makefile.in | |
parent | 80b25932ca52e9506d4e2b8ee0fa58aa5ae3306d (diff) | |
download | jemalloc-96d4120ac08db3f2d566e8e5c3bc134a24aa0afc.zip jemalloc-96d4120ac08db3f2d566e8e5c3bc134a24aa0afc.tar.gz jemalloc-96d4120ac08db3f2d566e8e5c3bc134a24aa0afc.tar.bz2 |
Avoid NULL check in free() and malloc_usable_size().
Generalize isalloc() to handle NULL pointers in such a way that the NULL
checking overhead is only paid when introspecting huge allocations (or
NULL). This allows free() and malloc_usable_size() to no longer check
for NULL.
Submitted by Igor Bukanov and Mike Hommey.
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 821c063..d8b671a 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/bitmap.c @srcroot@test/mremap.c @srcroot@test/null.c \ @srcroot@test/posix_memalign.c @srcroot@test/thread_arena.c \ @srcroot@test/thread_tcache_enabled.c ifeq (@enable_experimental@, 1) |