mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 779560 - Revert worker stack limit in ASan builds to default state. r=bent
This commit is contained in:
parent
43f711b620
commit
4ec51c1fec
@ -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