gecko-dev/xpcom/threads
Gerald Squelart 95f77c2409 Bug 1576819 - Use PROFILER_ADD_MARKER{,_WITH_PAYLOAD} everywhere - r=gregtatum
All calls to `profiler_add_marker()` (outside of the profilers code) are
now replaced by either:
- `PROFILER_ADD_MARKER(name, categoryPair)`
- `PROFILER_ADD_MARKER_WITH_PAYLOAD(name, categoryPair, TypeOfMarkerPayload,
                                    (payload, ..., arguments))`

This makes all calls consistent, and they won't need to prefix the category pair
with `JS::ProfilingCategoryPair::`.

Also it will make it easier to add (and later remove) internal-profiling
instrumentation (bug 1576550), and to replace heap-allocated payloads with
stack-allocated ones (bug 1576555).

Differential Revision: https://phabricator.services.mozilla.com/D43588

--HG--
extra : moz-landing-system : lando
2019-09-04 07:56:51 +00:00
..
AbstractEventQueue.h
AbstractThread.cpp
AbstractThread.h
BlockingResourceBase.cpp Bug 1053379 - Simplify CodeAddressService so non-DMD users can rely on defaults. r=njn 2019-08-06 21:58:12 +00:00
BlockingResourceBase.h
components.conf
CondVar.h
CPUUsageWatcher.cpp
CPUUsageWatcher.h
DataMutex.h
DeadlockDetector.h
EventQueue.cpp
EventQueue.h
IdleTaskRunner.cpp
IdleTaskRunner.h
InputEventStatistics.cpp
InputEventStatistics.h
LazyIdleThread.cpp
LazyIdleThread.h
LeakRefPtr.h
MainThreadIdlePeriod.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
MainThreadIdlePeriod.h
MainThreadQueue.h
MainThreadUtils.h
Monitor.h Bug 1570982 - remove CPP_THROW_NEW; r=glandium 2019-08-14 01:32:41 +00:00
moz.build
MozPromise.h Bug 1571092 - Mark various MozPromise-returning methods MOZ_MUST_USE. r=jld 2019-08-05 20:10:58 +00:00
Mutex.h Bug 1570982 - remove CPP_THROW_NEW; r=glandium 2019-08-14 01:32:41 +00:00
nsEnvironment.cpp
nsEnvironment.h
nsICancelableRunnable.h
nsIEnvironment.idl
nsIEventTarget.idl
nsIIdlePeriod.idl
nsIIdleRunnable.h
nsINamed.idl
nsIProcess.idl
nsIRunnable.idl
nsISerialEventTarget.idl
nsISupportsPriority.idl
nsIThread.idl
nsIThreadInternal.idl
nsIThreadManager.idl
nsIThreadPool.idl
nsITimer.idl
nsMemoryPressure.cpp
nsMemoryPressure.h
nsProcess.h
nsProcessCommon.cpp
nsProxyRelease.cpp
nsProxyRelease.h
nsThread.cpp Bug 1576819 - Use PROFILER_ADD_MARKER{,_WITH_PAYLOAD} everywhere - r=gregtatum 2019-09-04 07:56:51 +00:00
nsThread.h
nsThreadManager.cpp
nsThreadManager.h
nsThreadPool.cpp Bug 1573160 - shutdown newly-spawned threads if we're shutting down; r=mccr8 2019-08-15 17:29:26 +00:00
nsThreadPool.h
nsThreadSyncDispatch.h
nsThreadUtils.cpp
nsThreadUtils.h
nsTimerImpl.cpp
nsTimerImpl.h
PerformanceCounter.cpp
PerformanceCounter.h
PrioritizedEventQueue.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
PrioritizedEventQueue.h
Queue.h
RecursiveMutex.cpp
RecursiveMutex.h Bug 1570982 - remove CPP_THROW_NEW; r=glandium 2019-08-14 01:32:41 +00:00
ReentrantMonitor.h Bug 1570982 - remove CPP_THROW_NEW; r=glandium 2019-08-14 01:32:41 +00:00
RWLock.cpp
RWLock.h
SchedulerGroup.cpp
SchedulerGroup.h
SharedThreadPool.cpp
SharedThreadPool.h
StateMirroring.h
StateWatching.h
SynchronizedEventQueue.cpp
SynchronizedEventQueue.h
SyncRunnable.h
SystemGroup.cpp
SystemGroup.h
TaskCategory.h
TaskDispatcher.h
TaskQueue.cpp
TaskQueue.h
ThreadBound.h
ThreadDelay.cpp
ThreadDelay.h
ThreadEventQueue.cpp
ThreadEventQueue.h
ThreadEventTarget.cpp
ThreadEventTarget.h
ThreadLocalVariables.cpp
ThrottledEventQueue.cpp
ThrottledEventQueue.h
TimerThread.cpp Bug 1570982 - remove CPP_THROW_NEW; r=glandium 2019-08-14 01:32:41 +00:00
TimerThread.h