summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-07-19 01:24:28 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-02 19:03:24 +0100
commit8a1dc97a5aaf1f245b8bbf72de0e9458d15eeb81 (patch)
tree7793437a25822339e20a82ed16f7f66cc54e1eaf /modules/libpref/init
parent216bd0a9580417e846aa357e3bc2a6dcfd5b1409 (diff)
downloadUXP-8a1dc97a5aaf1f245b8bbf72de0e9458d15eeb81.tar
UXP-8a1dc97a5aaf1f245b8bbf72de0e9458d15eeb81.tar.gz
UXP-8a1dc97a5aaf1f245b8bbf72de0e9458d15eeb81.tar.lz
UXP-8a1dc97a5aaf1f245b8bbf72de0e9458d15eeb81.tar.xz
UXP-8a1dc97a5aaf1f245b8bbf72de0e9458d15eeb81.zip
Implement configuration pref for Generational Garbage Collection.
Pref: javascript.options.mem.gc_generational This resolves #20
Diffstat (limited to 'modules/libpref/init')
-rw-r--r--modules/libpref/init/all.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 72eb8524e..67c632e71 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1258,6 +1258,7 @@ pref("javascript.options.mem.max", -1);
pref("javascript.options.mem.gc_per_zone", true);
pref("javascript.options.mem.gc_incremental", true);
pref("javascript.options.mem.gc_incremental_slice_ms", 10);
+pref("javascript.options.mem.gc_generational", true);
pref("javascript.options.mem.gc_compacting", true);
pref("javascript.options.mem.log", false);
pref("javascript.options.mem.notify", false);