Bug 1250776 - increase JavaScript runtime heap size to 4 MB; r=bagder
authorLiang-Heng Chen <xeonchen@mozilla.com>
Fri, 29 Apr 2016 11:53:10 +0800
changeset 295717 128ec8347adf4d1b903a6caab962700d222595f2
parent 295716 c0e66d2e692aa0e3f7ebedb19747d1b43996ad08
child 295718 c0e34e377be4d27ba4a36a5d992dc533b7e018bf
push id76040
push usergachen@mozilla.com
push dateMon, 02 May 2016 12:09:53 +0000
treeherdermozilla-inbound@128ec8347adf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbagder
bugs1250776
milestone49.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 1250776 - increase JavaScript runtime heap size to 4 MB; r=bagder MozReview-Commit-ID: 9rx2wRSgNHw
netwerk/base/ProxyAutoConfig.cpp
--- a/netwerk/base/ProxyAutoConfig.cpp
+++ b/netwerk/base/ProxyAutoConfig.cpp
@@ -615,17 +615,17 @@ class JSRuntimeWrapper
   }
 
   bool IsOK()
   {
     return mOK;
   }
 
 private:
-  static const unsigned sRuntimeHeapSize = 2 << 20;
+  static const unsigned sRuntimeHeapSize = 4 << 20; // 4 MB
 
   JSRuntime *mRuntime;
   JSContext *mContext;
   JS::PersistentRooted<JSObject*> mGlobal;
   bool      mOK;
 
   static const JSClass sGlobalClass;