1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

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.
This commit is contained in:
Job Bautista
2023-04-01 10:42:03 +08:00
committed by roytam1
parent 607df67960
commit d8cd769cf0
+1 -1
View File
@@ -401,7 +401,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,