зеркало из https://github.com/mozilla/gecko-dev.git
4ae1509807
Replace-malloc libraries, such as DMD, don't really need to care about the details of implementing all the variants of aligned memory allocation functions. Currently, by defining MOZ_REPLACE_ONLY_MEMALIGN before including replace_malloc.h, they get predefined functions. Instead of making that an opt-in at build time, we make the replace-malloc initialization just fill the replace-malloc malloc_table_t with implementations that rely on the replace_memalign the library provides. --HG-- extra : rebase_source : 0842a67d9bc27a9a86c33d14d98b9c25f39982fb |
||
---|---|---|
.. | ||
jemalloc_config.cpp | ||
malloc_decls.h | ||
moz.build | ||
mozmemory.h | ||
mozmemory_wrap.c | ||
mozmemory_wrap.h | ||
replace_malloc.c | ||
replace_malloc.h | ||
replace_malloc_bridge.h | ||
zone.c |