Bug 1157415 - Tweak XPConnect stack size for 32bit Windows. (r=bholley)

This commit is contained in:
Shu-yu Guo 2015-04-23 14:57:44 -07:00
parent 053207d01e
commit 88cbc35bcf

View File

@ -3390,7 +3390,7 @@ XPCJSRuntime::XPCJSRuntime(nsXPConnect* aXPConnect)
// Windows PGO stack frames have unfortunately gotten pretty large lately. :-(
const size_t kStackQuota = 900 * 1024;
const size_t kTrustedScriptBuffer = (sizeof(size_t) == 8) ? 140 * 1024
: 80 * 1024;
: 100 * 1024;
// The following two configurations are linux-only. Given the numbers above,
// we use 50k and 100k trusted buffers on 32-bit and 64-bit respectively.
#elif defined(DEBUG)