gecko-dev/xpcom/threads
Tarek Ziadé 90bafd1f42 Bug 1452580 - remove RELEASE_OR_BETA defines for PerformanceCounter usage - r=baku,erahm,farre
PerformanceCounters are currently disabled in two ways:

- a preference that's off by default "dom.performance.enable_scheduler_timing"
- calls made only for nightly using #ifndef RELEASE_OR_BETA

In order to simplify the code, let's remove the #ifndef and rely only on the pref.
That will also allows us to use the feature in every version going forward.

The performance will not be impacted since the current code is already using
the (cached) pref value to determine if the counters are used.

MozReview-Commit-ID: 47t2M1O13aH

--HG--
extra : rebase_source : e129e1829f1dc37c019e50e156474c4876d6d6cb
2018-04-24 22:03:06 +02:00
..
AbstractEventQueue.h Bug 1434856 - move runnable prioritization checks outside of event queue locks; r=erahm 2018-02-02 13:55:05 -05:00
AbstractThread.cpp Bug 1447744 - don't implement nsINamed for mozilla::Runnable when it's unused; r=erahm 2018-03-23 14:53:55 -04:00
AbstractThread.h
BlockingResourceBase.cpp Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
BlockingResourceBase.h
CPUUsageWatcher.cpp
CPUUsageWatcher.h Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
CondVar.h Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
CooperativeThreadPool.cpp
CooperativeThreadPool.h
DeadlockDetector.h Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj 2018-03-13 14:51:33 +01:00
EventQueue.cpp Bug 1410096 - Move labeled queues to SchedulerGroup. r=smaug 2017-12-15 21:17:31 +01:00
EventQueue.h Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj 2018-02-05 22:46:57 -08:00
HangAnnotations.cpp
HangAnnotations.h
HangMonitor.cpp Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
HangMonitor.h
IdleTaskRunner.cpp
IdleTaskRunner.h
InputEventStatistics.cpp
InputEventStatistics.h
LabeledEventQueue.cpp Bug 1397426 - Rename TabChild's notion of "active tabs" to "visible tabs" and move logic into renderLayers. r=billm 2017-11-03 11:27:29 -04:00
LabeledEventQueue.h Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj 2018-02-05 22:46:57 -08:00
LazyIdleThread.cpp
LazyIdleThread.h
LeakRefPtr.h
MainThreadIdlePeriod.cpp
MainThreadIdlePeriod.h
MainThreadQueue.h Bug 1410096 - Move labeled queues to SchedulerGroup. r=smaug 2017-12-15 21:17:31 +01:00
MainThreadUtils.h Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly 2018-02-05 19:55:07 +01:00
Monitor.h Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
MozPromise.h Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
Mutex.h
PerformanceCounter.cpp Bug 1437438 - Add a performance counter to track scheduler activity - r=farre,froydnj 2018-03-06 10:19:19 +01:00
PerformanceCounter.h Bug 1437438 - Add a performance counter to track scheduler activity - r=farre,froydnj 2018-03-06 10:19:19 +01:00
PrioritizedEventQueue.cpp Bug 1454052 - make MakeScopeExit a MOZ_MUST_USE function; r=gerald 2018-04-18 12:14:18 -04:00
PrioritizedEventQueue.h Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj 2018-02-05 22:46:57 -08:00
Queue.h Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
RWLock.cpp
RWLock.h
RecursiveMutex.cpp
RecursiveMutex.h
ReentrantMonitor.h
Scheduler.cpp Bug 1452982 part 9 - Remove/rename remaining ZoneGroup references. r=jonco 2018-04-14 09:03:47 +02:00
Scheduler.h
SchedulerGroup.cpp Bug 1448544 - remove AutoVsyncTelemetry; r=farre 2018-04-07 11:54:03 -04:00
SchedulerGroup.h Bug 1447744 - don't implement nsINamed for mozilla::Runnable when it's unused; r=erahm 2018-03-23 14:53:55 -04:00
SharedThreadPool.cpp Bug 1351655 - Log which SharedThreadPools are not yet destroyed on shutdown-threads. r=froydnj 2018-01-23 11:40:37 +01:00
SharedThreadPool.h Bug 1443932 - part 1 - add nsIThreadManager::kThreadPoolStackSize; r=erahm 2018-03-07 20:33:17 -05:00
StateMirroring.h
StateWatching.h
SyncRunnable.h
SynchronizedEventQueue.cpp
SynchronizedEventQueue.h
SystemGroup.cpp Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
SystemGroup.h
TaskCategory.h Bug 1447768 - part 2 - Dispatch counters in the parent process - r=baku 2018-04-04 13:36:25 +02:00
TaskDispatcher.h
TaskQueue.cpp
TaskQueue.h
ThreadEventQueue.cpp Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
ThreadEventQueue.h Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj 2018-02-05 22:46:57 -08:00
ThreadEventTarget.cpp
ThreadEventTarget.h
ThrottledEventQueue.cpp Bug 1452410 - Simplify ThrottledEventQueue's shutdown behavior. r=froydnj 2018-04-06 14:44:42 -07:00
ThrottledEventQueue.h Bug 1452410 - Simplify ThrottledEventQueue's shutdown behavior. r=froydnj 2018-04-06 14:44:42 -07:00
TimerThread.cpp Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
TimerThread.h
moz.build Bug 1437438 - Add a performance counter to track scheduler activity - r=farre,froydnj 2018-03-06 10:19:19 +01:00
nsEnvironment.cpp
nsEnvironment.h
nsICancelableRunnable.h
nsIEnvironment.idl
nsIEventTarget.idl
nsIIdlePeriod.idl
nsIIdleRunnable.h
nsILabelableRunnable.cpp
nsILabelableRunnable.h
nsINamed.idl
nsIProcess.idl
nsIRunnable.idl
nsISerialEventTarget.idl
nsISupportsPriority.idl
nsIThread.idl
nsIThreadInternal.idl
nsIThreadManager.idl Bug 1443932 - part 1 - add nsIThreadManager::kThreadPoolStackSize; r=erahm 2018-03-07 20:33:17 -05:00
nsIThreadPool.idl
nsITimer.idl
nsMemoryPressure.cpp
nsMemoryPressure.h
nsProcess.h
nsProcessCommon.cpp
nsProxyRelease.cpp
nsProxyRelease.h Bug 1447744 - don't implement nsINamed for mozilla::Runnable when it's unused; r=erahm 2018-03-23 14:53:55 -04:00
nsThread.cpp Bug 1452580 - remove RELEASE_OR_BETA defines for PerformanceCounter usage - r=baku,erahm,farre 2018-04-24 22:03:06 +02:00
nsThread.h Bug 1452580 - remove RELEASE_OR_BETA defines for PerformanceCounter usage - r=baku,erahm,farre 2018-04-24 22:03:06 +02:00
nsThreadManager.cpp Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly 2018-02-05 19:55:07 +01:00
nsThreadManager.h Bug 1431755 - Part 1: Add a variant of NS_GetCurrentThread that does not auto-create an nsIThread. r=froydnj 2018-01-19 09:41:22 -06:00
nsThreadPool.cpp Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
nsThreadPool.h
nsThreadSyncDispatch.h
nsThreadUtils.cpp Bug 1447744 - don't implement nsINamed for mozilla::Runnable when it's unused; r=erahm 2018-03-23 14:53:55 -04:00
nsThreadUtils.h Bug 1434710 - Replaced all instances of mozilla::IndexSequence, mozilla::MakeIndexSequence and mozilla::IndexSequenceFor with std::index_sequence, std::make_index_sequence and std::index_sequence_for and removed mfbt/IndexSequence.h. r=botond 2018-04-09 21:12:13 +10:00
nsTimerImpl.cpp Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
nsTimerImpl.h