gecko-dev/xpcom/tests
Nicholas Nethercote 19fa938cf7 Bug 1050035 (part 1, attempt 2) - Lazily allocate PLDHashTable::mEntryStore. r=froydnj.
This makes zero-element hash tables, which are common, smaller, and also avoids
unnecessary malloc/free pairs.

I did some measurements during some basic browsing of a few sites. I found that
35% of all live tables were empty with a few tabs open. And cumulatively, for
the whole session, 45% of tables never had an element added to them.

--HG--
extra : rebase_source : 306bb50f250c09aa03a5e4822f41d6f605d76a1d
2015-02-01 14:56:33 -08:00
..
bug656331_component Bug 1041941 - Use templates for Gecko XPCOM components. r=gps 2014-08-24 09:11:05 +09:00
component Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
component_no_aslr Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
external Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps 2014-10-30 13:06:12 +09:00
gtest Backed out 2 changesets (bug 1133939) because of bug 1136453 2015-02-25 13:26:41 -05:00
regorder Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
static-checker Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00
unit Bug 1093948: Make JS callers of ios.newChannel call ios.newChannel2 in xpcom/ (r=bsmedberg) 2014-12-29 12:37:15 -08:00
windows Bug 1090389: Ensure that IOInterposer normalizes to long file names on Windows; r=froydnj 2014-11-12 14:01:45 -07:00
Makefile.in Backout 69f755d4f257 (bug 1103825) for test failures 2014-11-25 19:18:08 -08:00
MoreTestingAtomList.h
MoreTestingAtoms.cpp Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
MoreTestingAtoms.h
NotXPCOMTest.idl Bug 1069518 - XPTCall should refuse to implement interfaces with [notxpcom] methods, r=froydnj/bholley 2014-09-22 15:10:31 -04:00
RegFactory.cpp
ShowAlignments.cpp
SizeTest01.cpp
SizeTest02.cpp
SizeTest03.cpp
SizeTest04.cpp
SizeTest05.cpp
SizeTest06.cpp
TestArguments.cpp
TestAtoms.cpp Backed out changeset 186127d71076 (bug 1126295) because of test bustage on Windows on a CLOSED TREE 2015-01-27 13:47:44 -05:00
TestAutoPtr.cpp
TestAutoRef.cpp
TestBase64.cpp Bug 1040041 - Give FakeInputStream a private destructor; r=bjacob 2014-07-17 16:48:00 -04:00
TestBlockingProcess.cpp
TestCOMArray.cpp Bug 1119254 - Mark virtual overridden functions as MOZ_OVERRIDE in xpcom; r=froydnj 2015-01-08 10:58:39 -05:00
TestCOMPtr.cpp Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
TestCOMPtrEq.cpp
TestCallTemplates.cpp Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd 2014-06-30 18:11:53 -04:00
TestDeadlockDetector.cpp Bug 1061061 - Fix more bad implicit constructors in misc. code; r=bsmedberg 2014-09-02 18:24:24 -04:00
TestDeadlockDetectorScalability.cpp Bug 1097507 - Make libxul independent of libdmd when DMD is enabled. r=njn 2014-11-18 19:21:06 +09:00
TestDeque.cpp
TestFile.cpp Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
TestHarness.h Bug 1117035 - Mark virtual overridden functions as MOZ_OVERRIDE in XPCOM; r=froydnj 2015-01-05 11:25:41 -05:00
TestHashtables.cpp Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc. 2014-08-06 06:31:21 -07:00
TestID.cpp
TestINIParser.cpp
TestJemalloc.cpp
TestNsRefPtr.cpp Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
TestObserverArray.cpp Backout f615a0532971:154fb9a9e0bc (bug 493701) for Cpp bustage 2014-04-26 13:12:10 -04:00
TestObserverService.cpp Bug 1048280 - Fix more bad implicit constructors in XPCOM; r=froydnj 2014-08-05 09:36:59 -04:00
TestPLDHash.cpp Bug 1050035 (part 1, attempt 2) - Lazily allocate PLDHashTable::mEntryStore. r=froydnj. 2015-02-01 14:56:33 -08:00
TestPRIntN.cpp
TestPipe.cpp Bug 943511 - Remove allocator parameters from methods using nsSegmentedBuffer. r=bsmedberg 2013-12-11 14:14:56 -05:00
TestQuickReturn.cpp
TestRacingServiceManager.cpp Bug 1119254 - Mark virtual overridden functions as MOZ_OVERRIDE in xpcom; r=froydnj 2015-01-08 10:58:39 -05:00
TestRegistrationOrder.cpp
TestSTLWrappers.cpp
TestShutdown.cpp
TestStackCrawl.cpp Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg 2014-02-26 13:36:36 -08:00
TestStaticAtoms.cpp
TestStreamUtils.cpp
TestStringAPI.cpp Bug 869836 - Part 4: Use EqualsLiteral instead of `Equals(NS_LITERAL_STRING(...))`. r=ehsan 2014-05-22 06:48:51 +03:00
TestTArray.cpp Bug 982212: Part 2 - Implement r-value reference support for nsTArray::AppendElement. r=nfroyd 2014-03-15 18:56:00 +01:00
TestTextFormatter.cpp Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
TestThreadPoolListener.cpp Bug 1050003 - Remove unnecessary if checks before delete-ing in xpcom/. r=froydnj 2014-08-08 07:04:45 -07:00
TestThreadUtils.cpp Bug 1034921 - Remove dangerous public destructor of nsFoo in TestThreadUtils.cpp. r=nfroyd 2014-09-04 07:07:00 +02:00
TestThreads.cpp Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
TestTimers.cpp Bug 1119254 - Mark virtual overridden functions as MOZ_OVERRIDE in xpcom; r=froydnj 2015-01-08 10:58:39 -05:00
TestUnicodeArguments.cpp
TestWinReg.js
TestXPIDLString.cpp Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
TestingAtomList.h
TestingAtoms.cpp Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
TestingAtoms.h
moz.build Bug 1126301 - Move TestUTF.cpp to gtest and enable it; r=froydnj 2015-01-27 12:38:44 -05:00
nsIFileEnumerator.cpp
resources.h
test.properties