mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
2423f4ad0b
This structure is more optimal if it is somewhat aligned with the system's cache line length (which we assume is 64 bytes but that's not always true). This reduces the number of cache lines required to access one record on average. On 32-bit systems we can manage 32-bytes, on 64-bit systems we can manage 48 bytes. We do this by: * Make mRunSize the number of pages in a run rather than bytes, so that it can be stored in a single byte and save some space in bin headers. * Make mNumRuns a uint32_t on all platforms. Differential Revision: https://phabricator.services.mozilla.com/D140036 |
||
---|---|---|
.. | ||
fallback.cpp | ||
Makefile.in | ||
malloc_decls.h | ||
moz.build | ||
mozjemalloc_types.h | ||
mozjemalloc.cpp | ||
mozjemalloc.h | ||
mozmemory_wrap.cpp | ||
mozmemory_wrap.h | ||
mozmemory.h | ||
Mutex.cpp | ||
Mutex.h | ||
rb.h | ||
replace_malloc_bridge.h | ||
replace_malloc.h | ||
Utils.h | ||
zone.c |