Bug 990353 - Flip on source discarding for b2g. r=bent
authorBobby Holley <bobbyholley@gmail.com>
Tue, 22 Apr 2014 14:08:28 -0700
changeset 179664 744e3fa4bb8a42bc0f948440fbf4c069882269c0
parent 179663 c630ff2cdf9c39d64e510b9c15778b749eceb857
child 179665 8ff30e42330e27cb7d2a12eb8f829b71182f6393
push id26635
push usercbook@mozilla.com
push dateWed, 23 Apr 2014 12:51:44 +0000
treeherdermozilla-central@b747c35ac54b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbent
bugs990353
milestone31.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 990353 - Flip on source discarding for b2g. r=bent
b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -600,18 +600,17 @@ pref("dom.forms.color", false);
 
 // Turns on gralloc-based direct texturing for Gonk
 pref("gfx.gralloc.enabled", false);
 
 // This preference instructs the JS engine to discard the
 // source of any privileged JS after compilation. This saves
 // memory, but makes things like Function.prototype.toSource()
 // fail.
-// XXXbholley - we flip this to true in the last patch.
-pref("javascript.options.discardSystemSource", false);
+pref("javascript.options.discardSystemSource", true);
 
 // XXXX REMOVE FOR PRODUCTION. Turns on GC and CC logging
 pref("javascript.options.mem.log", false);
 
 // Increase mark slice time from 10ms to 30ms
 pref("javascript.options.mem.gc_incremental_slice_ms", 30);
 
 // Increase time to get more high frequency GC on benchmarks from 1000ms to 1500ms