diff options
author | Job Bautista <jobbautista9@aol.com> | 2023-04-01 10:42:03 +0800 |
---|---|---|
committer | Job Bautista <jobbautista9@aol.com> | 2023-04-01 10:42:03 +0800 |
commit | 4a052de45410eedb75d2256abbe57c51c3b6a2ad (patch) | |
tree | cc7fbfb842da458e069fdd9e8cb303eedce17765 /memory/mozjemalloc | |
parent | c36eae9bf518346504d42b7a8e99b34e866a3c94 (diff) | |
download | uxp-4a052de45410eedb75d2256abbe57c51c3b6a2ad.tar.gz |
Issue #2184 - Increase mozjemalloc page cache size from 1 MiB to 16 MiB.
We don't need the reduced memory overhead as we are not using e10s. This
should speed up JS by a point according to Speedometer 2.1.
Diffstat (limited to 'memory/mozjemalloc')
-rw-r--r-- | memory/mozjemalloc/jemalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memory/mozjemalloc/jemalloc.c b/memory/mozjemalloc/jemalloc.c index 5b8a6c3264..3942282f02 100644 --- a/memory/mozjemalloc/jemalloc.c +++ b/memory/mozjemalloc/jemalloc.c @@ -411,7 +411,7 @@ void *_mmap(void *addr, size_t length, int prot, int flags, */ #define CHUNK_2POW_DEFAULT 20 /* Maximum number of dirty pages per arena. */ -#define DIRTY_MAX_DEFAULT (1U << 8) +#define DIRTY_MAX_DEFAULT (1U << 12) /* * Maximum size of L1 cache line. This is used to avoid cache line aliasing, |