mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 22:32:51 +00:00
Bug 1258257 - Reduce mozjemalloc page cache size from 4 MiB to 1 MiB. r=glandium.
This reduces memory usage by up to 3 MiB per process. MozReview-Commit-ID: Gfs9PIJM4br --HG-- extra : rebase_source : 69ac5acf7f7f0c802a047f5bf72838e5c4d1f123
This commit is contained in:
parent
81936f844d
commit
5752d3b3e6
@ -536,7 +536,7 @@ static const bool isthreaded = true;
|
||||
*/
|
||||
#define CHUNK_2POW_DEFAULT 20
|
||||
/* Maximum number of dirty pages per arena. */
|
||||
#define DIRTY_MAX_DEFAULT (1U << 10)
|
||||
#define DIRTY_MAX_DEFAULT (1U << 8)
|
||||
|
||||
/*
|
||||
* Maximum size of L1 cache line. This is used to avoid cache line aliasing,
|
||||
|
Loading…
x
Reference in New Issue
Block a user