fune/xpcom/tests
Jens Stutte 8963e87fce Bug 1891664 - Have a grace timeout before shutting down excess idle threads. r=xpcom-reviewers,necko-reviewers,dom-storage-reviewers,nika,janv,jesup#!xpcom-reviewers
Have idleThreadGraceTimeout and idleThreadMaximumTimeout instead of just idleThreadTimeout.
Clarify that idleThreadMaximumTimeout is only affecting allowed idle threads.
Make idle threads end only after at minimum idleThreadGraceTimeout even if they are in excess.
Remove the idleThreadTimeoutRegressive setting.

Introduce a "most recently used" priority for notifying idle threads to
avoid excessive round-robin through all available idle threads.
The management of the linked list has constant time, adding thus only
minimal overhead wrt to the previous wasIdle flags we had.

As a side effect (and coming from the investigations in bug 1891732) to
some extent this can help to improve the "logical thread affinity",
together with trying to keep events dispatched with NS_DISPATCH_AT_END
on the dispatching thread as much as possible, which should help
TaskQueue a lot with affinity.

Differential Revision: https://phabricator.services.mozilla.com/D209884
2024-06-01 09:05:53 +00:00
..
crashtests
gtest Bug 1891664 - Have a grace timeout before shutting down excess idle threads. r=xpcom-reviewers,necko-reviewers,dom-storage-reviewers,nika,janv,jesup#!xpcom-reviewers 2024-06-01 09:05:53 +00:00
unit Bug 1894703 - Set logging modules from a single preference r=padenot 2024-05-23 08:14:16 +00:00
windows
moz.build
NotXPCOMTest.idl
RegFactory.cpp
resources.h
SizeTest01.cpp
SizeTest02.cpp
SizeTest03.cpp
SizeTest04.cpp
SizeTest05.cpp
SizeTest06.cpp
test.properties
TestArguments.cpp
TestBlockingProcess.cpp
TestHarness.h Bug 1893683 - Remove ns{A,C}String and other xpcom dependencies from nsStringBuffer. r=smaug,media-playback-reviewers,karlt 2024-05-09 08:34:35 +00:00
TestingAtomList.h
TestMemoryPressureWatcherLinux.cpp
TestPRIntN.cpp
TestQuickReturn.cpp
TestShutdown.cpp
TestStreamUtils.cpp
TestUnicodeArguments.cpp
TestWinReg.js