mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1157415 - Tweak XPConnect stack size for 32bit Windows. (r=bholley)
This commit is contained in:
parent
053207d01e
commit
88cbc35bcf
@ -3390,7 +3390,7 @@ XPCJSRuntime::XPCJSRuntime(nsXPConnect* aXPConnect)
|
|||||||
// Windows PGO stack frames have unfortunately gotten pretty large lately. :-(
|
// Windows PGO stack frames have unfortunately gotten pretty large lately. :-(
|
||||||
const size_t kStackQuota = 900 * 1024;
|
const size_t kStackQuota = 900 * 1024;
|
||||||
const size_t kTrustedScriptBuffer = (sizeof(size_t) == 8) ? 140 * 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,
|
// 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.
|
// we use 50k and 100k trusted buffers on 32-bit and 64-bit respectively.
|
||||||
#elif defined(DEBUG)
|
#elif defined(DEBUG)
|
||||||
|
Loading…
Reference in New Issue
Block a user