gecko-dev/xpcom/threads
Nicholas Nethercote 0be77baa96 Bug 1370329 (part 1) - Clean up the profiler's RAII classes. r=mstange.
This patch does the following renamings, which increase consistency.

- GeckoProfilerInitRAII -> AutoProfilerInit
- GeckoProfilerThread{Sleep,Wake}RAII -> AutoProfilerThread{Sleep,Wake}
- GeckoProfilerTracingRAII -> AutoProfilerTracing
- AutoProfilerRegister -> AutoProfilerRegisterThread
- ProfilerStackFrameRAII -> AutoProfilerLabel
- nsJSUtils::mProfilerRAII -> nsJSUtils::mAutoProfilerLabel

Plus a few other minor ones (e.g. local variables).

The patch also add MOZ_GUARD_OBJECT macros to all the profiler RAII classes
that lack them, and does some minor whitespace reformatting.

--HG--
extra : rebase_source : 47e298fdd6f6b4af70e3357ec0b7b0580c0d0f50
2017-06-07 12:33:19 +10:00
..
AbstractThread.cpp Bug 1313200 - Init AbstractThread properly and early. r=froydnj 2017-04-19 13:24:09 +08:00
AbstractThread.h Bug 1313200 - Init AbstractThread properly and early. r=froydnj 2017-04-19 13:24:09 +08:00
BackgroundHangMonitor.cpp Bug 1363883 - Share memory maps between BHR native stacks, dr=bsmedberg, r=froydnj 2017-05-23 13:41:52 -04:00
BackgroundHangMonitor.h
BlockingResourceBase.cpp Bug 1370329 (part 1) - Clean up the profiler's RAII classes. r=mstange. 2017-06-07 12:33:19 +10:00
BlockingResourceBase.h
CondVar.h Bug 1370329 (part 1) - Clean up the profiler's RAII classes. r=mstange. 2017-06-07 12:33:19 +10:00
DeadlockDetector.h
HangAnnotations.cpp
HangAnnotations.h
HangMonitor.cpp Bug 1370198 Back out the patch for bug 1369419 because the patch couldn't fix bug 1361132 and causes new crash bugs r=jimm 2017-06-05 21:52:16 +09:00
HangMonitor.h
LazyIdleThread.cpp Bug 1365102 - Convert NS_GetCurrentThread uses in xpcom/ (r=froydnj) 2017-06-12 20:21:43 -07:00
LazyIdleThread.h Bug 1365102 - Convert NS_GetCurrentThread uses in xpcom/ (r=froydnj) 2017-06-12 20:21:43 -07:00
LeakRefPtr.h
MainThreadIdlePeriod.cpp Bug 1311425 - Add pref for how far into the timer queue, r=smaug,f=froydnj 2017-05-24 21:14:29 -04:00
MainThreadIdlePeriod.h Bug 1311425 - Add pref for how far into the timer queue, r=smaug,f=froydnj 2017-05-24 21:14:29 -04:00
MainThreadUtils.h
Monitor.h
moz.build Bug 1361164 - Add nsISerialEventTarget (r=froydnj) 2017-06-12 20:20:08 -07:00
MozPromise.h Bug 1371880 - Use Variant with indexed access in MozPromise::ResolveOrRejectValue - r=jwwang 2017-06-12 11:19:58 +12:00
Mutex.h Bug 1312087 - part 1 - move mozilla::{Mutex,CondVar} to use mozglue locking primitives; r=erahm 2017-03-21 10:20:36 -05:00
nsEnvironment.cpp Bug 1334278 - change mozilla::Smprintf to return a UniquePtr; r=froydnj 2017-03-03 08:17:27 -07:00
nsEnvironment.h
nsEventQueue.cpp Bug 1331804 - Name each runnable from the ThrottledEventQueue queue (r=bkelly) 2017-01-24 16:34:37 -08:00
nsEventQueue.h Bug 1331804 - Name each runnable from the ThrottledEventQueue queue (r=bkelly) 2017-01-24 16:34:37 -08:00
nsICancelableRunnable.h
nsIEnvironment.idl
nsIEventTarget.idl Bug 1361164 - Add infallible IsOnCurrentThread to nsIEventTarget (r=froydnj) 2017-06-12 20:20:08 -07:00
nsIIdlePeriod.idl
nsIIdleRunnable.h Bug 1358476, add support for timeout when doing idle dispatch, p=farre,smaug, r=nfroyd 2017-05-24 17:34:50 -04:00
nsINamed.idl Bug 1331804 - Measure runnable times keyed by name for telemetry (r=ehsan,bsmedberg) 2017-01-24 16:34:37 -08:00
nsIProcess.idl Bug 1366711 - Make it possible to hide applications launched with nsIProcess; r=bsmedberg 2017-05-22 10:23:00 +02:00
nsIRunnable.idl
nsISerialEventTarget.idl Bug 1361164 - Add nsISerialEventTarget (r=froydnj) 2017-06-12 20:20:08 -07:00
nsISupportsPriority.idl
nsIThread.idl Bug 1361164 - Add Get{Current,Main}ThreadEventTarget getters to replace NS_Get{Current,Main}Thread (r=froydnj) 2017-06-12 20:20:08 -07:00
nsIThreadInternal.idl Bug 1361164 - Add infallible IsOnCurrentThread to nsIEventTarget (r=froydnj) 2017-06-12 20:20:08 -07:00
nsIThreadManager.idl Bug 1355161 - provide a scriptable equivalent of NS_DispatchToMainThread, r=froydnj. 2017-04-14 18:27:32 +02:00
nsIThreadPool.idl Bug 1361164 - Add infallible IsOnCurrentThread to nsIEventTarget (r=froydnj) 2017-06-12 20:20:08 -07:00
nsITimer.idl Bug 1363829 P15 Expose nsITimer::GetAllowedEarlyFiringMicroseconds(). r=froydnj 2017-05-31 17:13:20 -07:00
nsMemoryPressure.cpp
nsMemoryPressure.h
nsProcess.h Bug 1366711 - Make it possible to hide applications launched with nsIProcess; r=bsmedberg 2017-05-22 10:23:00 +02:00
nsProcessCommon.cpp Bug 1366711 - Make it possible to hide applications launched with nsIProcess; r=bsmedberg 2017-05-22 10:23:00 +02:00
nsProxyRelease.cpp
nsProxyRelease.h Bug 1363318 - Part 2: Label FetchBody. r=baku 2017-05-16 18:12:24 +08:00
nsThread.cpp Bug 1361164 - Add Get{Current,Main}ThreadEventTarget getters to replace NS_Get{Current,Main}Thread (r=froydnj) 2017-06-12 20:20:08 -07:00
nsThread.h Bug 1292600 - Add telemetry to measure how idle budgets are used. r=froydnj, data-r=bsmedberg 2017-06-07 16:14:42 +02:00
nsThreadManager.cpp Bug 1313200 - Init AbstractThread properly and early. r=froydnj 2017-04-19 13:24:09 +08:00
nsThreadManager.h
nsThreadPool.cpp Bug 1361164 - Add infallible IsOnCurrentThread to nsIEventTarget (r=froydnj) 2017-06-12 20:20:08 -07:00
nsThreadPool.h Bug 1366869 - Make DISPATCH_NORMAL be the default flags argument for nsIEventTarget::Dispatch (r=froydnj) 2017-05-23 12:05:43 -07:00
nsThreadSyncDispatch.h Bug 1363560 - Name more runnables (r=mccr8) 2017-05-09 21:53:25 -07:00
nsThreadUtils.cpp Bug 1365102 - Convert NS_GetCurrentThread uses in xpcom/ (r=froydnj) 2017-06-12 20:21:43 -07:00
nsThreadUtils.h Bug 1371127 - Use GetCurrentVirtualThread() in MediaManager (r=jesup) 2017-06-12 20:21:43 -07:00
nsTimerImpl.cpp Bug 1365102 - Convert NS_GetCurrentThread uses in xpcom/ (r=froydnj) 2017-06-12 20:21:43 -07:00
nsTimerImpl.h Bug 1363829 P12 Expose nsITimer::InitHighResolutionWithCallback() method. r=froydnj 2017-05-31 17:13:19 -07:00
ReentrantMonitor.h Bug 1370329 (part 1) - Clean up the profiler's RAII classes. r=mstange. 2017-06-07 12:33:19 +10:00
RWLock.cpp Bug 1367619 - Use RWLock when accessing font prefs service off main thread; r=heycam 2017-05-25 15:04:13 -07:00
RWLock.h Bug 1367619 - Use RWLock when accessing font prefs service off main thread; r=heycam 2017-05-25 15:04:13 -07:00
SchedulerGroup.cpp Bug 1361164 - Add nsISerialEventTarget (r=froydnj) 2017-06-12 20:20:08 -07:00
SchedulerGroup.h Bug 1363474 - Add a method to ask whether it's safe to run code related to a given SchedulerGroup (r=froydnj) 2017-05-19 14:31:52 -07:00
SharedThreadPool.cpp Bug 1359490 - add an event loop spinning abstraction function; r=gerald 2017-05-15 09:34:19 -04:00
SharedThreadPool.h Bug 1361164 - Add infallible IsOnCurrentThread to nsIEventTarget (r=froydnj) 2017-06-12 20:20:08 -07:00
StateMirroring.h
StateWatching.h
SyncRunnable.h
SystemGroup.cpp Bug 1363877 - Label IPC shmem messages as SystemGroup (r=dvander) 2017-05-19 16:38:12 -07:00
SystemGroup.h Bug 1363877 - Label IPC shmem messages as SystemGroup (r=dvander) 2017-05-19 16:38:12 -07:00
TaskCategory.h Bug 1337575 - Use SystemGroup for GC/CC (r=mccr8) 2017-02-13 17:02:59 -08:00
TaskDispatcher.h Bug 1353610 - Add null checks. r=bobbyholley 2017-03-31 17:01:35 +08:00
TaskQueue.cpp Bug 1365102 - Convert NS_GetCurrentThread uses in xpcom/ (r=froydnj) 2017-06-12 20:21:43 -07:00
TaskQueue.h Bug 1365102 - Convert NS_GetCurrentThread uses in xpcom/ (r=froydnj) 2017-06-12 20:21:43 -07:00
ThreadStackHelper.cpp Bug 1369644 - Remove use of |volatile| from ProfileEntry. r=mstange,shu,jseward,froydnj. 2017-06-02 17:16:56 +10:00
ThreadStackHelper.h Bug 1369644 - Remove use of |volatile| from ProfileEntry. r=mstange,shu,jseward,froydnj. 2017-06-02 17:16:56 +10:00
ThrottledEventQueue.cpp Bug 1361164 - Add nsISerialEventTarget (r=froydnj) 2017-06-12 20:20:08 -07:00
ThrottledEventQueue.h Bug 1366869 - Make DISPATCH_NORMAL be the default flags argument for nsIEventTarget::Dispatch (r=froydnj) 2017-05-23 12:05:43 -07:00
TimerThread.cpp Bug 1371438, investigate why assertion fails on Windows, r=bkelly 2017-06-10 03:21:29 +03:00
TimerThread.h Bug 1365102 - Convert NS_GetCurrentThread uses in xpcom/ (r=froydnj) 2017-06-12 20:21:43 -07:00