diff options
| author | Warner Losh <imp@FreeBSD.org> | 2025-02-05 23:20:13 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2025-02-05 23:20:13 +0000 |
| commit | 48ec896efb0b78141df004eaa21288b84590c9da (patch) | |
| tree | 33799792fd95c266d472ab1ae51d50ab4f942eb3 /include/jemalloc/jemalloc_mangle_jet.h | |
| parent | d28d7fbede216494aa3942af042cc084fcd6098a (diff) | |
jemalloc: Import 5.3.0 54eaed1d8b56b1aa528be3bdd1877e59c56fa90cvendor/jemalloc/5.3.0vendor/jemalloc
Import jemalloc 5.3.0.
This import changes how manage the jemalloc vendor branch (which was
just started anyway). Starting with 5.3.0, we import a clean tree from
the upstream github, removing all the old files that are no longer
upstream, or that we've kept around for some reason. We do this because
we merge from this raw version of jemalloc into the FreeBSD
contrib/jemalloc, then we run autogen stuff, generate all the generated
.h files with gmake, then finally remove much of the generated files in
contrib/jemalloc using an update script.
Sponsored by: Netflix
Diffstat (limited to 'include/jemalloc/jemalloc_mangle_jet.h')
| -rw-r--r-- | include/jemalloc/jemalloc_mangle_jet.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/include/jemalloc/jemalloc_mangle_jet.h b/include/jemalloc/jemalloc_mangle_jet.h deleted file mode 100644 index e7a2472d8bc5..000000000000 --- a/include/jemalloc/jemalloc_mangle_jet.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * By default application code must explicitly refer to mangled symbol names, - * so that it is possible to use jemalloc in conjunction with another allocator - * in the same application. Define JEMALLOC_MANGLE in order to cause automatic - * name mangling that matches the API prefixing that happened as a result of - * --with-mangling and/or --with-jemalloc-prefix configuration settings. - */ -#ifdef JEMALLOC_MANGLE -# ifndef JEMALLOC_NO_DEMANGLE -# define JEMALLOC_NO_DEMANGLE -# endif -# define aligned_alloc jet_aligned_alloc -# define calloc jet_calloc -# define dallocx jet_dallocx -# define free jet_free -# define mallctl jet_mallctl -# define mallctlbymib jet_mallctlbymib -# define mallctlnametomib jet_mallctlnametomib -# define malloc jet_malloc -# define malloc_conf jet_malloc_conf -# define malloc_message jet_malloc_message -# define malloc_stats_print jet_malloc_stats_print -# define malloc_usable_size jet_malloc_usable_size -# define mallocx jet_mallocx -# define smallocx_ea6b3e973b477b8061e0076bb257dbd7f3faa756 jet_smallocx_ea6b3e973b477b8061e0076bb257dbd7f3faa756 -# define nallocx jet_nallocx -# define posix_memalign jet_posix_memalign -# define rallocx jet_rallocx -# define realloc jet_realloc -# define sallocx jet_sallocx -# define sdallocx jet_sdallocx -# define xallocx jet_xallocx -# define memalign jet_memalign -# define valloc jet_valloc -#endif - -/* - * The jet_* macros can be used as stable alternative names for the - * public jemalloc API if JEMALLOC_NO_DEMANGLE is defined. This is primarily - * meant for use in jemalloc itself, but it can be used by application code to - * provide isolation from the name mangling specified via --with-mangling - * and/or --with-jemalloc-prefix. - */ -#ifndef JEMALLOC_NO_DEMANGLE -# undef jet_aligned_alloc -# undef jet_calloc -# undef jet_dallocx -# undef jet_free -# undef jet_mallctl -# undef jet_mallctlbymib -# undef jet_mallctlnametomib -# undef jet_malloc -# undef jet_malloc_conf -# undef jet_malloc_message -# undef jet_malloc_stats_print -# undef jet_malloc_usable_size -# undef jet_mallocx -# undef jet_smallocx_ea6b3e973b477b8061e0076bb257dbd7f3faa756 -# undef jet_nallocx -# undef jet_posix_memalign -# undef jet_rallocx -# undef jet_realloc -# undef jet_sallocx -# undef jet_sdallocx -# undef jet_xallocx -# undef jet_memalign -# undef jet_valloc -#endif |
