gecko-dev/xpcom/threads
JW Wang 4cff3416a0 Bug 1353618 - Optimize storage of MozPromise::mThenValues. r=gerald
1. Set the capacity to 1 when IsExclusive is true.
2. Set it to 3 because Try shows we never have more the 3 elements when IsExclusive is false.

MozReview-Commit-ID: dmIeE6ZTeh

--HG--
extra : rebase_source : fc6b173d3a389d11424238f76cbae1f496155ba5
extra : source : c6203c27b8020999ed39ff43ddf5173f5111ef6b
2017-03-31 18:41:29 +08:00
..
AbstractThread.cpp Bug 1345251 Make MozPromise usable on worker threads. r=gerald 2017-03-08 11:45:07 -05:00
AbstractThread.h Bug 1343337 - Remove IsDispatchReliable check from AbstractThread; r=bholley 2017-02-28 20:34:37 -08:00
BackgroundHangMonitor.cpp Backed out changeset aa882c81840b (bug 1346415) for frequently failing toolkit/components/telemetry/tests/unit/test_ThreadHangStats.js and likely also breaking Windows 8 x64 opt builds. r=backout 2017-03-29 17:56:14 +02:00
BackgroundHangMonitor.h Bug 1310880 - Allow a BackgroundHangMonitor to have its own private BackgroundHangThread. r=jchen 2016-10-19 14:32:43 -04:00
BlockingResourceBase.cpp Bug 1312087 - part 1 - move mozilla::{Mutex,CondVar} to use mozglue locking primitives; r=erahm 2017-03-21 10:20:36 -05:00
BlockingResourceBase.h Bug 1332631 part D - file moves from xpcom/glue to xpcom/threads, r=froydnj 2017-01-20 14:13:57 -05:00
CondVar.h Bug 1312087 - part 1 - move mozilla::{Mutex,CondVar} to use mozglue locking primitives; r=erahm 2017-03-21 10:20:36 -05:00
DeadlockDetector.h Bug 1332631 part D - file moves from xpcom/glue to xpcom/threads, r=froydnj 2017-01-20 14:13:57 -05:00
Dispatcher.cpp Bug 1340665 - Fix warnings on shutdown. r=billm 2017-03-10 17:55:35 -08:00
Dispatcher.h Bug 1340665 - Fix warnings on shutdown. r=billm 2017-03-10 17:55:35 -08:00
HangAnnotations.cpp
HangAnnotations.h
HangMonitor.cpp Bug 1348331 part 2. Switch Preferences::RegisterCallback/RegisterCallbackAndCall consumers that want prefix matches to the new RefisterPrefixCallback(AndCall) APIs. r=froydnj,padenot 2017-03-21 14:59:02 -04:00
HangMonitor.h
LazyIdleThread.cpp Bug 1323100 - Stop double-registering the LazyIdleThread with the profiler. r=froydnj 2016-12-21 23:07:26 +01: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
MainThreadUtils.h Bug 1332631 part D - file moves from xpcom/glue to xpcom/threads, r=froydnj 2017-01-20 14:13:57 -05:00
Monitor.h Bug 1332631 part D - file moves from xpcom/glue to xpcom/threads, r=froydnj 2017-01-20 14:13:57 -05:00
MozPromise.h Bug 1353618 - Optimize storage of MozPromise::mThenValues. r=gerald 2017-03-31 18:41:29 +08: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
ReentrantMonitor.h Bug 1339327 (part 5) - Rename some profiler functions related to sleeping. r=mstange. 2017-02-15 14:26:23 +11:00
SharedThreadPool.cpp Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05: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 1320785 - Remove obsolete 'ns' from 'StorensRefPtrPassByPtr' - r=froydnj 2017-01-09 07:55:19 +11: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
SystemGroup.cpp Bug 1340665 - Fix warnings on shutdown. r=billm 2017-03-10 17:55:35 -08:00
SystemGroup.h Bug 1337537 - Make a SystemGroup singleton (r=ehsan) 2017-02-13 17:02:52 -08:00
TaskCategory.h Bug 1337575 - Use SystemGroup for GC/CC (r=mccr8) 2017-02-13 17:02:59 -08:00
TaskDispatcher.h Bug 1318226. P1 - preserve the order of regular tasks. r=bholley 2017-03-08 17:11:27 +08: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 1312883 - Remove all thread context processing from ThreadStackHelper. r=jchen 2017-02-17 17:13:57 -05:00
ThreadStackHelper.h Bug 1312883 - Remove all thread context processing from ThreadStackHelper. r=jchen 2017-02-17 17:13:57 -05:00
ThrottledEventQueue.cpp Bug 1339289 - Give names to a lot of common runnables (r=ehsan) 2017-02-15 12:30:01 -08:00
ThrottledEventQueue.h Bug 1320753 - Make TabGroup event target be a ThrottledEventQueue for timers, workers (r=bkelly) 2016-12-23 11:48:13 -08:00
TimerThread.cpp Bug 1351732 - Part 2: Replace use of PLArena with ArenaAllocator in xpcom. r=froydnj 2017-03-30 16:46:58 -07:00
TimerThread.h Bug 1328643: Add some locking to prevent races caused by Cancel/Init from threads other than the target. r=froydnj 2017-01-11 13:59:19 -06:00
moz.build Bug 1337537 - Move Dispatcher.{cpp,h} to xpcom/threads (r=froydnj) 2017-02-13 17:02:48 -08:00
nsEnvironment.cpp Bug 1060419 - make nsEnvironment.cpp use Printf.h, r=froydnj 2016-12-09 10:53:59 -10: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 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
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
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 Bug 1323100 - Add nsThreadManager::NewNamedThread API. r=froydnj 2016-12-20 15:10:20 +01:00
nsIThreadPool.idl
nsITimer.idl Bug 1331804 - Anonymize nsITimer runnable names (r=njn) 2017-01-24 16:34:37 -08:00
nsMemoryPressure.cpp
nsMemoryPressure.h
nsProcess.h
nsProcessCommon.cpp Bug 1323100 - Register most of the remaining threadfunc threads with the profiler. r=froydnj 2017-01-05 16:34:26 +01:00
nsProxyRelease.cpp Bug 1332631 part D - file moves from xpcom/glue to xpcom/threads, r=froydnj 2017-01-20 14:13:57 -05:00
nsProxyRelease.h Bug 1333974, part 1 - Add new API for releasing on main thread using the system group. r=froydnj 2017-01-31 11:35:10 -08:00
nsThread.cpp Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron 2017-03-14 15:26:27 +13:00
nsThread.h Bug 1323100 - Add nsThreadManager::NewNamedThread API. r=froydnj 2016-12-20 15:10:20 +01:00
nsThreadManager.cpp Bug 1323100 - Add nsThreadManager::NewNamedThread API. r=froydnj 2016-12-20 15:10:20 +01:00
nsThreadManager.h Bug 1299389 - Replace some raw pointers in nsThreadManager. r=froydnj. 2016-06-10 16:04:49 +10:00
nsThreadPool.cpp Bug 1339289 - Give names to a lot of common runnables (r=ehsan) 2017-02-15 12:30:01 -08: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 1315560 - Make nsThreadSyncDispatch::IsPending properly respect the C++ memory model with respect to threads. r=froydnj 2016-11-07 15:24:11 -08:00
nsThreadUtils.cpp Bug 1331171 - Part 3: Remove xpcom checks for Windows Vista. r=froydnj 2017-01-12 01:13:55 -08:00
nsThreadUtils.h Bug 1351026 - Followup build bustage fix. rpending=froydnj CLOSED TREE 2017-03-27 14:34:46 -07:00
nsTimerImpl.cpp Bug 1339588 - Part 2: Help prevent nullptr crashes due to misuse of the timer API. r=froydnj 2017-02-14 16:27:33 -06:00
nsTimerImpl.h Bug 1338374 - Use alignas/alignof to define Variant's internal raw storage. r=froydnj 2017-01-30 15:56:05 -08:00