gecko-dev/netwerk/dns
Markus Stange 4bdc4ca0fb 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,
and except for the Shutdown Watchdog thread in nsTerminator.cpp and the
CacheIO thread. The Shutdown Watchdog thread stays alive past leak detection
during shutdown (by design), so we'd report leaks if we profiled it. The
CacheIO thread seems to stay alive past shutdown leak detection sometimes as
well.

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 : 56dd27282e7bd09a7e7dc7ca09ccfe3a0198e7af
2017-01-05 16:34:26 +01:00
..
mdns Bug 1299866 - [FlyWeb] mDNS services discovered remain after network change;r=djvj 2016-09-28 12:56:17 -04:00
ChildDNSService.cpp Bug 1278439 - Adding missing prefs service null checks in netwerk/. r=valentin. 2016-07-14 13:47:44 +10:00
ChildDNSService.h Bug 1239955 - Let DNSService rely on IOService::Offline, r=bagder 2016-02-17 22:29:00 +01:00
DNS.cpp Bug 1288308 - Part 0: add Named Pipe type on Windows platform; r=bagder 2016-11-03 18:15:07 +08:00
DNS.h Bug 1288308 - Part 0: add Named Pipe type on Windows platform; r=bagder 2016-11-03 18:15:07 +08:00
DNSListenerProxy.cpp
DNSListenerProxy.h Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
DNSRequestChild.cpp Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
DNSRequestChild.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
DNSRequestParent.cpp Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
DNSRequestParent.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
effective_tld_names.dat
GetAddrInfo.cpp Bug 1301069 - Backed out bug 1185120 (changeset 38cad72a77a6) a=backout a=merge 2016-09-08 00:04:07 +02:00
GetAddrInfo.h
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
nameprep_template.c
nameprep.c
nameprepdata.c
nsDNSService2.cpp Bug 1128311 - Only flush the DNS cache when the last private browsing window is closed; r=mcmanus 2017-01-03 14:32:49 -05:00
nsDNSService2.h Bug 1239955 - Let DNSService rely on IOService::Offline, r=bagder 2016-02-17 22:29:00 +01:00
nsEffectiveTLDService.cpp Bug 1311669 - Replace integer literals which are cast to bool. r=valentin 2016-11-01 14:44:10 +02:00
nsEffectiveTLDService.h Bug 1247835 (part 1) - Use binary search instead of a hash table in nsEffectiveTLDService. r=jduell. 2016-02-25 13:31:01 +11:00
nsHostResolver.cpp Bug 1323100 - Register most of the remaining threadfunc threads with the profiler. r=froydnj 2017-01-05 16:34:26 +01:00
nsHostResolver.h Bug 1301069 - Backed out bug 1185120 (changeset 38cad72a77a6) a=backout a=merge 2016-09-08 00:04:07 +02:00
nsIDNKitInterface.h
nsIDNService.cpp Bug 1281448 - part 1+2 - Update character property table generator script for Unicode 9 (in particular, security/xidmodifications.txt is replaced by security/IdentifierStatus.txt and IdentifierType.txt), and adjust APIs to fit the new identifier-type property model; update the generated data files. r=m_kato 2016-11-14 09:23:49 +00:00
nsIDNService.h Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki 2016-04-21 18:58:59 +01:00
nsIDNSListener.idl
nsIDNSRecord.idl Bug 1288077: Forward declare arrays by including 'nsTArrayForwardDeclare.h', r=froydnj 2016-07-20 17:29:36 +02:00
nsIDNSService.idl Bug 1288077: Forward declare arrays by including 'nsTArrayForwardDeclare.h', r=froydnj 2016-07-20 17:29:36 +02:00
nsIEffectiveTLDService.idl
nsIIDNService.idl
nsPIDNSService.idl Bug 1239955 - Let DNSService rely on IOService::Offline, r=bagder 2016-02-17 22:29:00 +01:00
PDNSParams.h
PDNSRequest.ipdl Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
PDNSRequestParams.ipdlh
prepare_tlds.py Bug 1247835 (part 1) - Use binary search instead of a hash table in nsEffectiveTLDService. r=jduell. 2016-02-25 13:31:01 +11:00
punycode.c
punycode.h