gecko-dev/xpcom
Nathan Froyd efd709bd4f Bug 1447744 - don't implement nsINamed for mozilla::Runnable when it's unused; r=erahm
We only use nsINamed on runnables for certain kinds of telemetry, and
those kinds of telemetry aren't being gathered on RELEASE_OR_BETA
builds.  We effectively make nsINamed::GetName a no-op when we're not
collecting said telemetry.  But implementing nsINamed does have a cost:
the vtable of every runnable (and we have hundreds of subclasses of
mozilla::Runnable) will contain pointers for GetName (and extra pointers
for QueryInterface/AddRef/Release), and all those pointers times all
those subclasses adds up quickly.  Let's not implement nsINamed when
nsINamed isn't going to be used.

This change saves ~100K of binary size on x86-64 Linux; the savings
should be similar on other 64-bit systems, and ~50K on 32-bit systems.
2018-03-23 14:53:55 -04:00
..
base Bug 1446272 - Provide ResidentUniqueDistinguishedAmount() for Solaris. r=froydnj 2018-03-22 06:14:19 -07:00
build Bug 1447742: Understand movups in 32-bit DLL interceptor. r=handyman 2018-03-22 14:20:36 -04:00
components Bug 1446585: Remove support for resource entries in bootstrapped chrome.manifest files. r=aswan,MattN,k88hudson 2018-03-16 20:18:46 -07:00
doc
ds Backed out 3 changesets (bug 1446157) for browser chrome failures at browser/base/content/test/static/browser_all_files_referenced.js on a CLOSED TREE 2018-03-22 18:49:31 +02:00
glue Bug 1428557 - Implement wrappers in FileUtils. r=froydnj 2018-02-02 23:25:10 +09:00
idl-parser Bug 1293362 - Part 5: Allow implementing xpcom interfaces from rust code with a custom derive, r=froydnj 2018-01-23 17:27:28 -05:00
io Bug 1445892 - Remove nsDirectoryService::sOS_HomeDirectory atom. r=froydnj 2018-03-22 19:07:40 +11:00
libxpt/xptcall
reflect Bug 1444143 part 13. Remove nsIFrameLoader. r=mystor 2018-03-21 22:43:17 -04:00
rust Bug 1433015 - Part 2: Change the xpcom test to use the observer service, r=froydnj 2018-01-30 15:45:21 -05:00
string Bug 1346535 - atk: Introduce U+FEFF characters to match AT-SPI offsets with DOM offsets. r=surkov, r=dbaron 2018-03-16 15:57:00 -04:00
system Backed out changeset 3b82709eca8a (bug 1445990) for xpcshell failures at js/xpconnect/tests/unit/test_defineModuleGetter.js on a CLOSED TREE 2018-03-16 04:27:22 +02:00
tests Bug 1447744 - don't implement nsINamed for mozilla::Runnable when it's unused; r=erahm 2018-03-23 14:53:55 -04:00
threads Bug 1447744 - don't implement nsINamed for mozilla::Runnable when it's unused; r=erahm 2018-03-23 14:53:55 -04:00
typelib Bug 1447849 - Eliminate the anonymous union from XPTTypeDescriptor. r=njn 2018-03-21 16:35:55 -07:00
windbgdlg
xpidl
moz.build
xpcom-config.h.in
xpcom-private.h.in