Bug 1494021 - Disable task dispatching/running chaos mode in ASan Nightly. r=froydnj
authorChristian Holler <choller@mozilla.com>
Mon, 01 Oct 2018 11:12:41 +0000
changeset 494686 b6da34ab32a60dcdd1858a49d50fe51a049460eb
parent 494685 29e74e1fa224acfc5985c07eca25542a6a79895c
child 494687 f40763a941419a5de6cad43a27665d0943577e92
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1494021
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1494021 - Disable task dispatching/running chaos mode in ASan Nightly. r=froydnj Differential Revision: https://phabricator.services.mozilla.com/D7267
toolkit/xre/nsAppRunner.cpp
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -3191,19 +3191,17 @@ XREMain::XRE_mainInit(bool* aExitFlag)
 
 #ifdef MOZ_ASAN_REPORTER
   // In ASan Reporter builds, we enable certain chaos features by default unless
   // the user explicitly requests a particular set of features.
   if (!PR_GetEnv("MOZ_CHAOSMODE")) {
     ChaosMode::SetChaosFeature(static_cast<ChaosFeature>(
                                ChaosFeature::ThreadScheduling
                                | ChaosFeature::NetworkScheduling
-                               | ChaosFeature::TimerScheduling
-                               | ChaosFeature::TaskDispatching
-                               | ChaosFeature::TaskRunning));
+                               | ChaosFeature::TimerScheduling));
   }
 #endif
 
   if (ChaosMode::isActive(ChaosFeature::Any)) {
     printf_stderr("*** You are running in chaos test mode. See ChaosMode.h. ***\n");
   }
 
   if (CheckArg("headless") || CheckArgExists("screenshot")) {