Bug 1241507 - Enable BHR reporting on 100% of the Beta population. r=rvitillo, a=sylvestre
authorVladan Djeric <vdjeric@mozilla.com>
Thu, 21 Jan 2016 10:37:33 -0500
changeset 310915 b9bbb79d26520cc4bb632b34703fa025a42365ae
parent 310914 0ce166f4fec610dd1b3a99f348f19811c571b51b
child 310916 0c2a3818f913f57e015ff9248cf7dc5c154ea2eb
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrvitillo, sylvestre
bugs1241507
milestone45.0a2
Bug 1241507 - Enable BHR reporting on 100% of the Beta population. r=rvitillo, a=sylvestre
xpcom/threads/BackgroundHangMonitor.cpp
--- a/xpcom/threads/BackgroundHangMonitor.cpp
+++ b/xpcom/threads/BackgroundHangMonitor.cpp
@@ -24,17 +24,19 @@
 #include "nsIObserverService.h"
 #include "nsIObserver.h"
 #include "mozilla/Services.h"
 #include "nsXULAppAPI.h"
 
 #include <algorithm>
 
 // Activate BHR only for one every BHR_BETA_MOD users.
-#define BHR_BETA_MOD 2;
+// This is now 100% of Beta population for the Beta 45/46 e10s A/B trials
+// It can be scaled back again in the future
+#define BHR_BETA_MOD 1;
 
 // Maximum depth of the call stack in the reported thread hangs. This value represents
 // the 99.9th percentile of the thread hangs stack depths reported by Telemetry.
 static const size_t kMaxThreadHangStackDepth = 30;
 
 // An utility comparator function used by std::unique to collapse "(* script)" entries in
 // a vector representing a call stack.
 bool StackScriptEntriesCollapser(const char* aStackEntry, const char *aAnotherStackEntry)