gecko-dev/xpcom/threads
Nathan Froyd e7492f2d00 Bug 1443932 - part 1 - add nsIThreadManager::kThreadPoolStackSize; r=erahm
A lot of our thread pools use the default stack size for the platform
they're on, which can be rather large (8MB, usually, on Linux and OS X)
and is probably too much for the typical thread in the thread pool
regardless.  SharedThreadPool already has some logic for selecting a
reasonable stack size for worker threads; let's move that logic to
nsIThreadManager so that logic (and constant) can be shared more
broadly.  (That we already have a couple of instances of
SharedThreadPool usage solely for this constant suggests that it is a
concept that should be available in a more central location.)
2018-03-07 20:33:17 -05: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 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
AbstractThread.h Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
BlockingResourceBase.cpp Backed out 4 changesets (bug 1437167) for build bustages on nsUpdateDriver.cpp and WindowsMessageLoop.cpp on a CLOSED TREE. 2018-03-06 00:09:46 +02:00
BlockingResourceBase.h Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium 2017-12-06 16:52:51 -08:00
CPUUsageWatcher.cpp Bug 1382440 - Fix CPUUsageWatcher on OSX and Linux r=froydnj 2017-08-28 14:00:22 -07:00
CPUUsageWatcher.h Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj 2018-02-05 22:46:57 -08:00
CondVar.h Backed out 4 changesets (bug 1437167) for build bustages on nsUpdateDriver.cpp and WindowsMessageLoop.cpp on a CLOSED TREE. 2018-03-06 00:09:46 +02:00
CooperativeThreadPool.cpp Bug 1412191 - Fix CooperativeThreadPool thread count assertion (r=froydnj) 2017-11-11 21:04:20 -08:00
CooperativeThreadPool.h Bug 1402824 - Add missing includes in CooperativeThreadPool to fix non-unified build. r=billm 2017-09-25 10:37:31 +01:00
DeadlockDetector.h
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 Bug 1380081 - Part 11: Simplify the HangAnnotations abstraction, r=froydnj 2017-08-15 16:35:46 -04:00
HangAnnotations.h Bug 1380081 - Part 11: Simplify the HangAnnotations abstraction, r=froydnj 2017-08-15 16:35:46 -04:00
HangMonitor.cpp Backed out 4 changesets (bug 1437167) for build bustages on nsUpdateDriver.cpp and WindowsMessageLoop.cpp on a CLOSED TREE. 2018-03-06 00:09:46 +02:00
HangMonitor.h
IdleTaskRunner.cpp Bug 1404198: Part 2b - Switch to NS_NewTimer* in xpcom. r=njn 2017-10-15 23:11:22 -07:00
IdleTaskRunner.h Bug 1393581 - Name all IdleTaskRunner runnables, r=smaug 2017-08-25 11:24:27 -04:00
InputEventStatistics.cpp Bug 1402044 - don't inline InputEventStatistics::Get(); r=erahm 2017-10-23 12:15:16 -04:00
InputEventStatistics.h Bug 1402044 - don't inline InputEventStatistics::Get(); r=erahm 2017-10-23 12:15:16 -04:00
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 Bug 1404198: Part 2b - Switch to NS_NewTimer* in xpcom. r=njn 2017-10-15 23:11:22 -07:00
LazyIdleThread.h Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm 2017-07-27 02:18:20 +08:00
LeakRefPtr.h
MainThreadIdlePeriod.cpp Bug 1414150 - Remove the "idle_queue.*" prefs. r=farre. 2017-11-08 07:54:16 +11:00
MainThreadIdlePeriod.h Bug 1414150 - Remove the "idle_queue.*" prefs. r=farre. 2017-11-08 07:54:16 +11:00
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 Backed out 4 changesets (bug 1437167) for build bustages on nsUpdateDriver.cpp and WindowsMessageLoop.cpp on a CLOSED TREE. 2018-03-06 00:09:46 +02:00
MozPromise.h Bug 1424647: Prevent race on AllPromiseHolder::mPromise. r=jwwang 2017-12-10 23:31:04 +01:00
Mutex.h Bug 1350432 - Add MutexAutoLock::AssertOwns (r=froydnj) 2017-08-25 10:28:23 -07:00
PrioritizedEventQueue.cpp Bug 1434856 - move runnable prioritization checks outside of event queue locks; r=erahm 2018-02-02 13:55:05 -05: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 Bug 1404629 - Make Queue emptiness assertion DEBUG-only (r=froydnj) 2017-10-11 14:05:32 -07:00
RWLock.cpp
RWLock.h
RecursiveMutex.cpp
RecursiveMutex.h Bug 1412119 - Re-fix mode lines in xpcom. r=erahm 2017-10-26 14:39:00 -04:00
ReentrantMonitor.h Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange. 2017-10-04 09:11:18 +11:00
Scheduler.cpp Backed out 4 changesets (bug 1437167) for build bustages on nsUpdateDriver.cpp and WindowsMessageLoop.cpp on a CLOSED TREE. 2018-03-06 00:09:46 +02:00
Scheduler.h Bug 1395029 - Scheduler support for blockThreadedExecution (r=froydnj) 2017-11-11 21:04:20 -08:00
SchedulerGroup.cpp Bug 1436742 - Expose docgroup used to dispatch events when possible. r=froydnj 2018-02-09 16:17:01 -05:00
SchedulerGroup.h Bug 1436742 - Expose docgroup used to dispatch events when possible. r=froydnj 2018-02-09 16:17:01 -05:00
SharedThreadPool.cpp Bug 1443932 - part 1 - add nsIThreadManager::kThreadPoolStackSize; r=erahm 2018-03-07 20:33:17 -05:00
SharedThreadPool.h Bug 1443932 - part 1 - add nsIThreadManager::kThreadPoolStackSize; r=erahm 2018-03-07 20:33:17 -05:00
StateMirroring.h Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
StateWatching.h
SyncRunnable.h
SynchronizedEventQueue.cpp Bug 1402824 - Include nsIThreadInteral.h in SynchronizedEventQueue to fix non-unified. r=billm 2017-09-25 10:56:13 +01:00
SynchronizedEventQueue.h Bug 1350432 - Remove mEventObservers to SynchronizedEventQueue (r=froydnj) 2017-08-25 10:28:23 -07:00
SystemGroup.cpp Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
SystemGroup.h Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm 2017-07-26 16:13:35 +08:00
TaskCategory.h
TaskDispatcher.h Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
TaskQueue.cpp Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
TaskQueue.h Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
ThreadEventQueue.cpp Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj 2018-02-05 22:46:57 -08: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 Bug 1410023 - Non-unified build fixes for xpcom/threads. r=froydnj 2017-10-20 17:36:29 +01:00
ThreadEventTarget.h Bug 1382922 - Refactor event queue to allow multiple implementations (r=erahm) 2017-08-16 20:55:43 -07:00
ThrottledEventQueue.cpp Bug 1350432 - Initial Quantum DOM scheduler implementation, disabled by default (r=froydnj) 2017-08-25 10:28:23 -07:00
ThrottledEventQueue.h
TimerThread.cpp Backed out 4 changesets (bug 1437167) for build bustages on nsUpdateDriver.cpp and WindowsMessageLoop.cpp on a CLOSED TREE. 2018-03-06 00:09:46 +02:00
TimerThread.h Bug 1383019: Move more logic under the protection of nsTimerImpl::mMutex, and simplify. r=froydnj, a=abillings 2017-09-14 12:19:24 -05:00
moz.build Bug 1425559 - Implement nsIThreadManager::spinEventLoopUntilOrShutdown, r=smaug 2018-01-28 08:41:36 +01:00
nsEnvironment.cpp Bug 1381727 (part 2) - Remove SmprintfFree(). r=glandium. 2017-07-25 09:09:25 +10:00
nsEnvironment.h
nsICancelableRunnable.h
nsIEnvironment.idl
nsIEventTarget.idl
nsIIdlePeriod.idl
nsIIdleRunnable.h
nsILabelableRunnable.cpp Bug 1410232 - fix SchedulerGroupSet::Put when transitioning to multiple groups; r=billm 2017-10-23 08:49:41 -04:00
nsILabelableRunnable.h Bug 1399707 - Make entries in TabChild::sActiveTabs and EventLoopActivation::mEventGroups unique. r=billm 2017-09-13 11:59:35 +08:00
nsINamed.idl Bug 1382172 - Compute names for all JS-implemented XPCOM objects (r=mrbkap) 2017-08-14 22:42:42 -07:00
nsIProcess.idl Bug 1400294 - Add 'noShell' attribute to nsIProcess to use CreateProcess() for launching a process that doesn't require shell service on Windows. r=froydnj,r=aklotz,r=dmajor 2017-10-03 11:29:14 +08:00
nsIRunnable.idl Bug 1351148 Part3: Synthesize native input events with priority. f=kats,smaug. r=smaug. 2017-05-19 15:41:24 +08:00
nsISerialEventTarget.idl
nsISupportsPriority.idl
nsIThread.idl Bug 1382922 - Refactor event queue to allow multiple implementations (r=erahm) 2017-08-16 20:55:43 -07:00
nsIThreadInternal.idl Bug 1382922 - Refactor event queue to allow multiple implementations (r=erahm) 2017-08-16 20:55:43 -07:00
nsIThreadManager.idl Bug 1443932 - part 1 - add nsIThreadManager::kThreadPoolStackSize; r=erahm 2018-03-07 20:33:17 -05:00
nsIThreadPool.idl
nsITimer.idl Bug 1404198: Part 2a - Add non-virtual constructors for nsITimer. r=njn 2017-10-15 23:10:17 -07:00
nsMemoryPressure.cpp
nsMemoryPressure.h
nsProcess.h Bug 1406971 - Change nsProcess to use LaunchApp from IPC, instead of NSPR, on Unix. r=froydnj 2017-10-06 19:58:33 -06:00
nsProcessCommon.cpp Bug 1406971 - Change nsProcess to use LaunchApp from IPC, instead of NSPR, on Unix. r=froydnj 2017-10-06 19:58:33 -06:00
nsProxyRelease.cpp
nsProxyRelease.h Bug 1299515 - Make `const nsMainThreadPtrHandle<T>` usable. r=erahm 2017-11-22 11:24:18 +01:00
nsThread.cpp Bug 1425566 - Collect telemetry for unlabeled idle runnables. r=erahm 2018-01-03 14:19:03 +01:00
nsThread.h Bug 1402519 - Remove MOZ_CRASHREPORTER directives from xpcom; r=froydnj 2017-10-10 11:59:39 +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 Backed out 4 changesets (bug 1437167) for build bustages on nsUpdateDriver.cpp and WindowsMessageLoop.cpp on a CLOSED TREE. 2018-03-06 00:09:46 +02:00
nsThreadPool.h Bug 1382922 - Refactor event queue to allow multiple implementations (r=erahm) 2017-08-16 20:55:43 -07:00
nsThreadSyncDispatch.h Bug 1382922 - Refactor event queue to allow multiple implementations (r=erahm) 2017-08-16 20:55:43 -07:00
nsThreadUtils.cpp 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
nsThreadUtils.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
nsTimerImpl.cpp Bug 1404198: Part 2a - Add non-virtual constructors for nsITimer. r=njn 2017-10-15 23:10:17 -07:00
nsTimerImpl.h Bug 1383019: Move more logic under the protection of nsTimerImpl::mMutex, and simplify. r=froydnj, a=abillings 2017-09-14 12:19:24 -05:00