Bug 979069 - Disable BackgroundHangMonitor for debug builds. r=froydnj
authorJim Chen <nchen@mozilla.com>
Thu, 13 Mar 2014 12:17:42 -0400
changeset 173428 1fe2943ce1e3087eaccb5ce234fc240072ad0f31
parent 173427 93aefdb374e7ce22d2ba91656096a95d2de655b9
child 173429 e522b5f583eebf07c5ed560856250150f208b4f3
push id26403
push userryanvm@gmail.com
push dateThu, 13 Mar 2014 19:32:04 +0000
treeherdermozilla-central@fe40387eba1a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs979069
milestone30.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 979069 - Disable BackgroundHangMonitor for debug builds. r=froydnj
xpcom/threads/BackgroundHangMonitor.h
--- a/xpcom/threads/BackgroundHangMonitor.h
+++ b/xpcom/threads/BackgroundHangMonitor.h
@@ -12,17 +12,19 @@
 #include <stdint.h>
 
 namespace mozilla {
 
 namespace Telemetry {
 class ThreadHangStats;
 };
 
-#ifndef RELEASE_BUILD
+// Disabled for Beta/Release builds because of bug 965392.
+// Disabled for debug builds because of bug 979069.
+#if !defined(RELEASE_BUILD) && !defined(DEBUG)
 // Undefine to disable background hang monitor
 #define MOZ_ENABLE_BACKGROUND_HANG_MONITOR
 #endif
 
 class BackgroundHangThread;
 
 /**
  * The background hang monitor is responsible for detecting and reporting