forked from mirrors/gecko-dev
Bug 1785162 - Always stall on OOM on Windows in Nightly r=gsvelto
It's suspected that this may induce performance regressions. Do it anyway, just to find out how bad it is. (But only on Nightly, for now.) For simplicity's sake, this does not include any additional telemetry; the decision of whether and what any additional telemetry is needed will be deferred until we have some feedback from what we've already got. Differential Revision: https://phabricator.services.mozilla.com/D155301
This commit is contained in:
parent
2586cc9ed6
commit
709d56796c
1 changed files with 3 additions and 0 deletions
|
|
@ -1389,6 +1389,9 @@ static inline bool ShouldStallAndRetry() {
|
|||
// on Windows mostly skips this in favor of directly calling ::VirtualAlloc(),
|
||||
// though, so it's probably not going to matter whether we stall here or not.)
|
||||
return true;
|
||||
# elif defined(NIGHTLY_BUILD)
|
||||
// On Nightly, always stall, for experiment's sake (bug 1785162).
|
||||
return true;
|
||||
# else
|
||||
// In the main process, always stall.
|
||||
if (GetGeckoProcessType() == GeckoProcessType::GeckoProcessType_Default) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue