gecko-dev/toolkit
Markus Stange 48513de60f 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

--HG--
extra : rebase_source : dffab11abf7d4b57fa54475fd22e71b84375cd7b
2016-12-29 22:32:52 +01:00
..
components Bug 1323100 - Register most of the remaining threadfunc threads with the profiler. r=froydnj 2016-12-29 22:32:52 +01:00
content Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN 2016-12-29 18:34:54 -05:00
crashreporter Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r=froydnj 2016-12-21 11:43:50 +01:00
forgetaboutsite Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN 2016-12-29 18:34:54 -05:00
identity Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r=froydnj 2016-12-21 11:43:50 +01:00
library Bug 1324338 - Remove static link to GLES lib on android r=snorp 2016-12-21 10:22:13 +09:00
locales Bug 1324171 - Use 'Search' as placeholder text instead of as a label in-front of search fields. r=jaws 2016-12-22 11:32:40 -05:00
modules Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN 2016-12-29 18:34:54 -05:00
mozapps Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN 2016-12-29 18:34:54 -05:00
pluginproblem Fix merge conflict bustage for removed file from bug 1307445 part A. 2016-10-18 09:32:57 -04:00
profile Bug 1322343 - Enable no-unused-vars in the local scope in toolkit/.eslintrc.js. r=mossop 2016-11-09 22:06:32 +00:00
system Backed out 4 changesets (bug 1318004) for xpcshell failures a=backout CLOSED TREE 2016-11-21 16:15:38 -08:00
themes Bug 1323810 - Remove Windows XP and Vista theme code and resources. r=Paenglab 2016-12-23 20:44:26 +01:00
xre Bug 1323100 - Register most of the remaining threadfunc threads with the profiler. r=froydnj 2016-12-29 22:32:52 +01:00
.eslintrc.js Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN 2016-12-29 18:34:54 -05:00
moz.build Bug 1312143 - Delete toolkit/obsolete. r=John-Galt 2016-10-24 18:23:24 -07:00
moz.configure Bug 1323303 - require building with Skia. r=glandium 2016-12-21 09:31:13 -05:00
nss.configure
toolkit.mozbuild Bug 1316657 - Clean up the webrtc-related gtest entries in toolkit.mozbuild. r=jesup 2016-11-11 10:32:54 -05:00