6e643d353b56837b7162650a8d8ac5f40d7b5091: Bug 1323100 - Use AutoProfilerRegister to register chromium threads with the profiler. r?froydnj draft
Markus Stange <mstange@themasta.com> - Thu, 22 Dec 2016 00:48:55 +0100 - rev 452698
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Use AutoProfilerRegister to register chromium threads with the profiler. r?froydnj MozReview-Commit-ID: 12LS5hqCA2c
7ad9b03b5a6fb58a3ec78f7027347a94b9c2d728: Bug 1323100 - Register most of the remaining threadfunc threads with the profiler. r?froydnj draft
Markus Stange <mstange@themasta.com> - Thu, 22 Dec 2016 00:38:57 +0100 - rev 452697
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Register most of the remaining threadfunc threads with the profiler. r?froydnj As far as I can tell, this covers all the remaining threads which we start using PR_CreateThread, except the ones that are created inside NSPR or NSS. This adds a AutoProfilerRegister stack class for easy registering and unregistering. There are a few places where we still call profiler_register_thread() and profiler_unregister_thread() manually, either because registration happens conditionally, or because there is a variable that gets put on the stack before the AutoProfilerRegister (e.g. a dynamically generated thread name). AutoProfilerRegister needs to be the first object on the stack because it uses its own `this` pointer as the stack top address. MozReview-Commit-ID: 3vwhS55Yzt
5d43a97f34e2c3fac3e98386f78c16c217ede819: Bug 1323100 - Stop double-registering the LazyIdleThread with the profiler. r?froydnj draft
Markus Stange <mstange@themasta.com> - Wed, 21 Dec 2016 23:07:26 +0100 - rev 452696
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Stop double-registering the LazyIdleThread with the profiler. r?froydnj MozReview-Commit-ID: 2vdcgCcdOYJ
e16e110e1a10a4fa32898705c6deb4ac96b914f5: Bug 1323100 - Stop double-registering the IPDL Background thread with the profiler. r?froydnj draft
Markus Stange <mstange@themasta.com> - Wed, 21 Dec 2016 23:07:10 +0100 - rev 452695
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Stop double-registering the IPDL Background thread with the profiler. r?froydnj MozReview-Commit-ID: 2BlEhqrxdUz
7e5ad7ff07ae9a0cdef71ae3cdc92fd0413ee64d: Bug 1323100 - Stop double-registering the Media_Encoder thread with the profiler. r?froydnj draft
Markus Stange <mstange@themasta.com> - Wed, 21 Dec 2016 23:06:56 +0100 - rev 452694
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Stop double-registering the Media_Encoder thread with the profiler. r?froydnj MozReview-Commit-ID: 8TQMVhbw13s
81bff05a41e3fc588a8817c40b60436c700d21f5: Bug 1323100 - Stop double-registering the MediaStreamGraph thread with the profiler. r?froydnj draft
Markus Stange <mstange@themasta.com> - Wed, 21 Dec 2016 23:06:45 +0100 - rev 452693
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Stop double-registering the MediaStreamGraph thread with the profiler. r?froydnj MozReview-Commit-ID: 7WxNLZpBWL4
da36151985c2a3780320e4ce81833512b25942b8: Bug 1323100 - Stop double-registering the Socket Transport thread. r?froydnj draft
Markus Stange <mstange@themasta.com> - Wed, 21 Dec 2016 17:57:07 +0100 - rev 452692
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Stop double-registering the Socket Transport thread. r?froydnj MozReview-Commit-ID: 7YEC79PwUGg
6ce7c2805d2595365fa9386a510cf689923f8395: Bug 1323100 - Register named threads with the profiler. r?froydnj draft
Markus Stange <mstange@themasta.com> - Wed, 14 Dec 2016 19:50:11 -0500 - rev 452691
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Register named threads with the profiler. r?froydnj MozReview-Commit-ID: FbE4BTcnfEh
31f699096e7bb59d04c3251716315a8518aba156: Bug 1323100 - Remove NS_SetThreadName which is now unused. r?froydnj draft
Markus Stange <mstange@themasta.com> - Tue, 20 Dec 2016 14:43:11 +0100 - rev 452690
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Remove NS_SetThreadName which is now unused. r?froydnj MozReview-Commit-ID: 7je5PhV1TsU
2aa387308944b72d4a666da70793d5cfe8aab6bb: Bug 1323100 - Make NS_NewNamedThread use nsThreadManager::NewNamedThread. r?froydnj draft
Markus Stange <mstange@themasta.com> - Tue, 20 Dec 2016 14:18:22 +0100 - rev 452689
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Make NS_NewNamedThread use nsThreadManager::NewNamedThread. r?froydnj MozReview-Commit-ID: 7e6l1A89he9
fbc3f6da77f9ff012ee56f014ca416fbd1354699: Bug 1323100 - Add nsThreadManager::NewNamedThread API. r?froydnj draft
Markus Stange <mstange@themasta.com> - Tue, 20 Dec 2016 15:10:20 +0100 - rev 452688
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Add nsThreadManager::NewNamedThread API. r?froydnj The point of this exercise is to make the thread name available in the thread func of the thread, so that we can register the thread with the profiler from the very start of its lifetime, and so that registration and unregistration can be inside the same function. MozReview-Commit-ID: DiiMKUQVr55
cb1d58fba45684eedf840cf9a4d8d18f4f8d6907: Bug 1323100 - Remove nsThreadPoolNaming::SetThreadPoolName because it's now unused. r?froydnj draft
Markus Stange <mstange@themasta.com> - Mon, 19 Dec 2016 16:16:50 +0100 - rev 452687
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Remove nsThreadPoolNaming::SetThreadPoolName because it's now unused. r?froydnj MozReview-Commit-ID: CYgF2NGD6pt
44a77509501bfce9e64550c424a7c1430588feb0: Bug 1323100 - Use nsThreadPoolNaming::GetNextThreadName for the DNS resolver thread. r?froydnj draft
Markus Stange <mstange@themasta.com> - Tue, 20 Dec 2016 14:21:34 +0100 - rev 452686
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Use nsThreadPoolNaming::GetNextThreadName for the DNS resolver thread. r?froydnj MozReview-Commit-ID: EQvKoIIorKG
8095feb83c94bd23ba3502818521b2b8f29c5f5d: Bug 1323100 - Use nsThreadPoolNaming::GetNextThreadName and NS_NewNamedThread in nsThreadPool. r?froydnj draft
Markus Stange <mstange@themasta.com> - Thu, 22 Dec 2016 00:14:30 +0100 - rev 452685
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Use nsThreadPoolNaming::GetNextThreadName and NS_NewNamedThread in nsThreadPool. r?froydnj MozReview-Commit-ID: 6IB5yvJtAQm
f1a1238b29cfd4bda50f88d6d6ec2cbd00c472d9: Bug 1323100 - Use nsThreadPoolNaming::GetNextThreadName and NS_NewNamedThread in the DecodePool. r?froydnj draft
Markus Stange <mstange@themasta.com> - Tue, 20 Dec 2016 14:20:48 +0100 - rev 452684
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Use nsThreadPoolNaming::GetNextThreadName and NS_NewNamedThread in the DecodePool. r?froydnj MozReview-Commit-ID: CAbaAe0bKe8
4406ffe46a9410671d461bbac1a79e115aed460a: Bug 1323100 - Use nsThreadPoolNaming::GetNextThreadName and NS_NewNamedThread for the mozStorage thread. r?froydnj draft
Markus Stange <mstange@themasta.com> - Tue, 20 Dec 2016 14:20:15 +0100 - rev 452683
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Use nsThreadPoolNaming::GetNextThreadName and NS_NewNamedThread for the mozStorage thread. r?froydnj MozReview-Commit-ID: 145CjwiQawB
b6acc9c36bd6289f2e762cb4f5f8ca26e21dd673: Bug 1323100 - Create nsThreadPoolNaming::GetNextThreadName. r?froydnj draft
Markus Stange <mstange@themasta.com> - Thu, 22 Dec 2016 00:38:41 +0100 - rev 452682
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Create nsThreadPoolNaming::GetNextThreadName. r?froydnj MozReview-Commit-ID: F0ZFFa5VkAW
0fecbc3e23b40add75e67a0406eed032fabffcfa: Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r?froydnj draft
Markus Stange <mstange@themasta.com> - Wed, 21 Dec 2016 11:43:50 +0100 - rev 452681
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r?froydnj MozReview-Commit-ID: 7W1dt2BBKJZ
b4043ca52cb00973333f3a62bfba2a405e846f6b: Bug 1323100 - Use NS_NewNamedThread for CryptoTask threads. r?froydnj draft
Markus Stange <mstange@themasta.com> - Tue, 20 Dec 2016 14:27:18 +0100 - rev 452680
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Use NS_NewNamedThread for CryptoTask threads. r?froydnj MozReview-Commit-ID: 6c6iDuGyE2X
3cf1e34ee5e4e7d7575b4a4b567a302eaf37c4e6: Bug 1323100 - Use NS_NewNamedThread in SingletonThreadHolder. r?froydnj draft
Markus Stange <mstange@themasta.com> - Mon, 12 Dec 2016 19:17:51 -0500 - rev 452679
Push 39449 by bmo:mstange@themasta.com at Thu, 22 Dec 2016 00:03:44 +0000
Bug 1323100 - Use NS_NewNamedThread in SingletonThreadHolder. r?froydnj MozReview-Commit-ID: Jcf5DfSrxrf
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip