Bug 784400 - Bump heap size of IndexedDB JSRuntime to deal with heap size increase caused by self-hosting code. r=luke
authorTill Schneidereit <tschneidereit@gmail.com>
Thu, 11 Oct 2012 14:43:00 +0200
changeset 110281 dc34d5773895741ec71f1970fbb4b1236b162917
parent 110280 5f1d0cfe99ace6c6383bd98230ea2ee986471c51
child 110282 c9e4a0971222b391c811e36816333b9155ccc989
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersluke
bugs784400
milestone19.0a1
Bug 784400 - Bump heap size of IndexedDB JSRuntime to deal with heap size increase caused by self-hosting code. r=luke
dom/indexedDB/IDBObjectStore.cpp
--- a/dom/indexedDB/IDBObjectStore.cpp
+++ b/dom/indexedDB/IDBObjectStore.cpp
@@ -482,17 +482,17 @@ private:
 
 class ThreadLocalJSRuntime
 {
   JSRuntime* mRuntime;
   JSContext* mContext;
   JSObject* mGlobal;
 
   static JSClass sGlobalClass;
-  static const unsigned sRuntimeHeapSize = 256 * 1024;
+  static const unsigned sRuntimeHeapSize = 512 * 1024;
 
   ThreadLocalJSRuntime()
   : mRuntime(NULL), mContext(NULL), mGlobal(NULL)
   {
       MOZ_COUNT_CTOR(ThreadLocalJSRuntime);
   }
 
   nsresult Init()