mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-03 20:40:08 -05:00
This commit adds support for systems where the jemalloc library is not
available as a package, here's the quick summary:
* On Linux - the jemalloc is usually available as a package, if
configured --without-jemalloc, the shim would be used around
malloc(), free(), realloc() and malloc_usable_size()
* On macOS - the jemalloc is available from homebrew or macports, if
configured --without-jemalloc, the shim would be used around
malloc(), free(), realloc() and malloc_size()
* On FreeBSD - the jemalloc is *the* system allocator, we just need
to check for <malloc_np.h> header to get access to non-standard API
* On NetBSD - the jemalloc is *the* system allocator, we just need to
check for <jemalloc/jemalloc.h> header to get access to non-standard
API
* On a system hostile to users and developers (read OpenBSD) - the
jemalloc API is emulated by using ((size_t *)ptr)[-1] field to hold
the size information. The OpenBSD developers care only for
themselves, so why should we care about speed on OpenBSD?
|
||
|---|---|---|
| .. | ||
| ax_cc_for_build.m4 | ||
| ax_check_compile_flag.m4 | ||
| ax_check_link_flag.m4 | ||
| ax_check_openssl.m4 | ||
| ax_check_preproc_flag.m4 | ||
| ax_gcc_func_attribute.m4 | ||
| ax_jemalloc.m4 | ||
| ax_lib_lmdb.m4 | ||
| ax_perl_module.m4 | ||
| ax_posix_shell.m4 | ||
| ax_pthread.m4 | ||
| ax_python_module.m4 | ||
| ax_restore_flags.m4 | ||
| ax_save_flags.m4 | ||
| ax_tls.m4 | ||
| compat.m4 | ||