mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 779560 - Revert worker stack limit in ASan builds to default state. r=bent
This commit is contained in:
parent
0c6a82207f
commit
acbb899d26
@ -53,14 +53,8 @@ using mozilla::Preferences;
|
||||
// consistency.
|
||||
#define WORKER_STACK_SIZE 256 * sizeof(size_t) * 1024
|
||||
|
||||
// The stack limit the JS engine will check.
|
||||
#ifdef MOZ_ASAN
|
||||
// For ASan, we need more stack space, so we use all that is available
|
||||
#define WORKER_CONTEXT_NATIVE_STACK_LIMIT WORKER_STACK_SIZE
|
||||
#else
|
||||
// Half the size of the actual C stack, to be safe.
|
||||
#define WORKER_CONTEXT_NATIVE_STACK_LIMIT 128 * sizeof(size_t) * 1024
|
||||
#endif
|
||||
|
||||
// The maximum number of threads to use for workers, overridable via pref.
|
||||
#define MAX_WORKERS_PER_DOMAIN 10
|
||||
|
Loading…
Reference in New Issue
Block a user