gecko-dev/xpcom/threads
Andreas Farre 5ae81e4455 Bug 1313989 - Remove MutexAutoUnlock in nsThread::GetIdleEvent. r=froydnj,mattwoodrow
Rewrite VsyncRefreshDriverTimer::GetTimerRate to always use the cached
value of the vsync rate in VsyncChild to avoid processing events on
the main thread.

Since VsyncChild::GetTimerRate is called in VsyncRefreshDriverTimer's
constructor, that cached value is bound to be set soon. This should
make the period of time we need to guess in
VsyncRefreshDriverTimer::GetTimerRate very short.

MozReview-Commit-ID: 1bnHNXAP8jY

--HG--
extra : rebase_source : 5a731962d417c4b3352970b2adb92b5d31de021c
2016-11-10 10:01:51 +01:00
..
AbstractThread.cpp Bug 1288618 - Part 6: Avoid unnecessarily allocating a TailDispatcher for XPCOMThreadWrapper. r=bholley 2016-09-21 21:24:43 +12:00
AbstractThread.h Bug 1288618 - Part 6: Avoid unnecessarily allocating a TailDispatcher for XPCOMThreadWrapper. r=bholley 2016-09-21 21:24:43 +12:00
BackgroundHangMonitor.cpp Bug 1312080 - Repeated calls to BackgroundHangMonitor::NotifyWait shouldn't unnecessarily wake the BackgroundHangThread. r=billm 2016-10-21 14:56:32 -04:00
BackgroundHangMonitor.h Bug 1310880 - Allow a BackgroundHangMonitor to have its own private BackgroundHangThread. r=jchen 2016-10-19 14:32:43 -04:00
HangAnnotations.cpp
HangAnnotations.h
HangMonitor.cpp Bug 1302914 - Use GetThreadContext after calling SuspendThread to ensure threads are really suspended. r=froydnj 2016-09-29 20:05:36 +02:00
HangMonitor.h
LazyIdleThread.cpp Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
LazyIdleThread.h
LeakRefPtr.h
MainThreadIdlePeriod.cpp Bug 1314314 - Restrict when idle callbacks are fired. r=bkelly 2016-11-03 18:47:23 +01:00
MainThreadIdlePeriod.h Bug 1314314 - Restrict when idle callbacks are fired. r=bkelly 2016-11-03 18:47:23 +01:00
moz.build Bug 1300659 P1 Add the ThrottledEventQueue class. r=froydnj 2016-11-07 12:30:17 -08:00
MozPromise.h Bug 1300476 - Prevent passing references through InvokeAsync - r=froydnj 2016-10-27 15:13:37 +11:00
nsEnvironment.cpp
nsEnvironment.h
nsEventQueue.cpp bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
nsEventQueue.h bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
nsICancelableRunnable.h Bug 1273190, part 3 - Fix some modelines in xpcom/. r=froydnj 2016-05-24 14:45:44 -07:00
nsIEnvironment.idl
nsIEventTarget.idl Bug 1300118 P0 Rename NS_DISPATCH_TAIL to NS_DISPATCH_AT_END to avoid confusion with AbstractThread::TailDispatch. r=bholley 2016-09-13 20:12:15 -07:00
nsIIdlePeriod.idl Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
nsIIncrementalRunnable.h Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
nsIProcess.idl
nsIRunnable.idl bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
nsISupportsPriority.idl
nsIThread.idl Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
nsIThreadInternal.idl
nsIThreadManager.idl
nsIThreadPool.idl
nsITimer.idl
nsMemoryPressure.cpp Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
nsMemoryPressure.h
nsProcess.h
nsProcessCommon.cpp Bug 1310116 - Allow waitpid but warn on creating processes in content. r=jld 2016-10-25 20:43:42 +02:00
nsThread.cpp Bug 1313989 - Remove MutexAutoUnlock in nsThread::GetIdleEvent. r=froydnj,mattwoodrow 2016-11-10 10:01:51 +01:00
nsThread.h bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
nsThreadManager.cpp Bug 1198381 - Extend nsIThread with idleDispatch, r=froydnj,smaug 2016-08-24 16:18:06 +02:00
nsThreadManager.h Bug 1299389 - Replace some raw pointers in nsThreadManager. r=froydnj. 2016-06-10 16:04:49 +10:00
nsThreadPool.cpp bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
nsThreadPool.h bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
nsThreadSyncDispatch.h Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
nsTimerImpl.cpp Bug 1307350: Compensate for repeating timers that have not been appropriately cancelled. r=froydnj 2016-10-04 10:23:39 -05:00
nsTimerImpl.h Bug 1157323 - Part 6: Some comment improvements. r=froydnj 2016-08-05 13:46:07 -05:00
SharedThreadPool.cpp Bug 1273190, part 3 - Fix some modelines in xpcom/. r=froydnj 2016-05-24 14:45:44 -07:00
SharedThreadPool.h Bug 1300118 P0 Rename NS_DISPATCH_TAIL to NS_DISPATCH_AT_END to avoid confusion with AbstractThread::TailDispatch. r=bholley 2016-09-13 20:12:15 -07:00
StateMirroring.h Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
StateWatching.h Bug 1313469 - Part 2: Convert TestCOMArray to a gtest. r=froydnj 2016-11-04 16:21:59 -07:00
SyncRunnable.h Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
TaskDispatcher.h Bug 1313469 - Part 2: Convert TestCOMArray to a gtest. r=froydnj 2016-11-04 16:21:59 -07:00
TaskQueue.cpp Bug 1225731 - Early bailout from TaskQueue::DispatchLocked(). r=froydnj 2016-11-10 15:45:45 +08:00
TaskQueue.h Bug 1316529. Part 2 - remove TaskQueue::DispatchMode. r=froydnj 2016-11-10 15:34:35 +08:00
ThreadStackHelper.cpp Bug 1312597 - Increase ThreadStackHelper's initial max buffer size to avoid (chrome script) placeholder in BHR pseudostacks. r=jchen 2016-10-25 14:28:23 -04:00
ThreadStackHelper.h
ThrottledEventQueue.cpp bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm 2016-11-08 14:05:45 +02:00
ThrottledEventQueue.h Bug 1300659 P1 Add the ThrottledEventQueue class. r=froydnj 2016-11-07 12:30:17 -08:00
TimerThread.cpp Bug 1310925: Acquire a reference before unlocking, just in case. r=froydnj 2016-10-18 09:42:13 -05:00
TimerThread.h Bug 1307350: Compensate for repeating timers that have not been appropriately cancelled. r=froydnj 2016-10-04 10:23:39 -05:00