Bug 1223800 - Accept BHR reports from 50% of beta clients. Up from 1%. r=vladan a=lizzard
authorChris H-C <chutten@mozilla.com>
Fri, 13 Nov 2015 12:09:54 -0500
changeset 296726 aaa5100e2085
parent 296725 ffc3382d3829
child 296727 ec4b13420b71
push id5308
push uservdjeric@mozilla.com
push date2015-11-15 23:58 +0000
treeherdermozilla-beta@aaa5100e2085 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvladan, lizzard
bugs1223800
milestone43.0
Bug 1223800 - Accept BHR reports from 50% of beta clients. Up from 1%. r=vladan a=lizzard
xpcom/threads/BackgroundHangMonitor.cpp
--- a/xpcom/threads/BackgroundHangMonitor.cpp
+++ b/xpcom/threads/BackgroundHangMonitor.cpp
@@ -24,17 +24,17 @@
 #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 100;
+#define BHR_BETA_MOD 2;
 
 // 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)