forked from mirrors/gecko-dev
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 |
||
|---|---|---|
| .. | ||
| crashtests | ||
| gtest | ||
| unit | ||
| 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 | ||
| TestingAtomList.h | ||
| TestMemoryPressureWatcherLinux.cpp | ||
| TestPRIntN.cpp | ||
| TestQuickReturn.cpp | ||
| TestShutdown.cpp | ||
| TestStreamUtils.cpp | ||
| TestUnicodeArguments.cpp | ||
| TestWinReg.js | ||