Bug 1231337 - part 3, add javascript.options.shared_memory to about:config. r=jmuizelaar
authorLars T Hansen <lhansen@mozilla.com>
Mon, 28 Dec 2015 17:01:05 +0100
changeset 279773 52655e7005b6b224522cdd61c3e47094d0745871
parent 279772 4356bac66a3e5017a38e885028fff7620db84311
child 279774 6346790559d1a5de9bd0632a6b009bd2f691e290
push id70198
push userlhansen@mozilla.com
push dateWed, 13 Jan 2016 11:54:17 +0000
treeherdermozilla-inbound@6346790559d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmuizelaar
bugs1231337
milestone46.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1231337 - part 3, add javascript.options.shared_memory to about:config. r=jmuizelaar
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1163,16 +1163,22 @@ pref("javascript.options.mem.gc_dynamic_
 pref("javascript.options.mem.gc_dynamic_mark_slice", true);
 pref("javascript.options.mem.gc_allocation_threshold_mb", 30);
 pref("javascript.options.mem.gc_decommit_threshold_mb", 32);
 pref("javascript.options.mem.gc_min_empty_chunk_count", 1);
 pref("javascript.options.mem.gc_max_empty_chunk_count", 30);
 
 pref("javascript.options.showInConsole", false);
 
+#ifdef NIGHTLY_BUILD
+pref("javascript.options.shared_memory", true);
+#else
+pref("javascript.options.shared_memory", false);
+#endif
+
 // advanced prefs
 pref("advanced.mailftp",                    false);
 pref("image.animation_mode",                "normal");
 
 // Same-origin policy for file URIs, "false" is traditional
 pref("security.fileuri.strict_origin_policy", true);
 
 // If there is ever a security firedrill that requires