gecko-dev/xpcom/glue
Nicholas Nethercote 2d56c1f52e Bug 1189156 (part 1) - Don't use enumeration style for PLDHashTable::SizeOf{In,Ex}cludingThis(). r=froydnj.
After this change, we have PLDHashTable::ShallowSizeOf{In,Ex}cludingThis(),
which don't do anything to measure children. (They can be combined with
iteration to measure children.)

This patch also removes the PL_DHashTableSizeOf{In,Ex}cludingThis() functions.
They're not necessary because the methods can be used instead.

Finally, the patch deliberately converts some SizeOfExcludingThis() calls to
SizeOfIncludingThis(). These are all done on heap pointers so this change is
valid.

--HG--
extra : rebase_source : b1d51096a8e7dcac29d7efd92e28938836ff5481
2015-07-29 22:28:20 -07:00
..
standalone Bug 833117 - Replace g_slice_set_config() with G_SLICE environment variable. r=nfroyd,r=karlt 2015-07-10 09:56:05 +09:00
staticruntime Bug 1043692 - Move DIST_INSTALL to moz.build. r=gps 2015-05-12 07:55:22 +09:00
tests/gtest Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AppData.cpp
AppData.h
AutoRestore.h
BlockingResourceBase.cpp Bug 1172216 - Move nsStackwalk to mozglue. r=glandium 2015-06-10 16:32:45 -04:00
BlockingResourceBase.h Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
CondVar.h
DeadlockDetector.h Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
EnumeratedArrayCycleCollection.h Bug 1111290 - Part 2: Non-mechanical changes. r=waldo 2015-01-26 07:22:08 +09:00
FileUtils.cpp Bug 1159304 - silence Coverity warning about implicit conversion issues in ReadAheadLib; r=erahm 2015-04-28 12:10:37 -04:00
FileUtils.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
GenericFactory.cpp
GenericFactory.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
GenericModule.cpp
IntentionalCrash.h
Logging.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
MainThreadUtils.h Bug 1139361 - Remove gTLSThreadID*, NS_TLS and mozilla::threads::ID. r=nfroyd 2015-03-10 11:10:58 +09:00
Monitor.h
Mutex.h
Observer.h
ReentrantMonitor.h
moz.build Bug 1165518 - Part 1: Add Logging.h. r=froydnj 2015-05-19 11:15:32 -07:00
nsArrayEnumerator.cpp Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsArrayEnumerator.h
nsArrayUtils.cpp
nsArrayUtils.h Bug 1156790 - mark various nsCOMPtr_helper-esque classes as final; r=mccr8 2015-04-20 16:58:15 -04:00
nsBaseHashtable.h Bug 1189156 (part 1) - Don't use enumeration style for PLDHashTable::SizeOf{In,Ex}cludingThis(). r=froydnj. 2015-07-29 22:28:20 -07:00
nsCOMArray.cpp Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
nsCOMArray.h Bug 819090 - Remove nsVoidArray.{cpp,h}. r=froydnj 2015-05-06 10:57:41 -07:00
nsCOMPtr.cpp
nsCOMPtr.h Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
nsCRTGlue.cpp Bug 1024774 - Part 9: Deserialize heap snapshots; r=jimb 2015-05-28 07:37:43 -07:00
nsCRTGlue.h Bug 1024774 - Part 9: Deserialize heap snapshots; r=jimb 2015-05-28 07:37:43 -07:00
nsCategoryCache.cpp
nsCategoryCache.h Bug 1185470: Remove 'Get' prefixes from hashtable iterator methods. r=froydnj 2015-07-20 20:21:28 +08:00
nsClassHashtable.h
nsClassInfoImpl.cpp Bug 1147572 - Remove implementation language field from DOM class info. r=jst 2015-03-30 10:45:39 -07:00
nsComponentManagerUtils.cpp
nsComponentManagerUtils.h Bug 1156790 - mark various nsCOMPtr_helper-esque classes as final; r=mccr8 2015-04-20 16:58:15 -04:00
nsCycleCollectionNoteChild.h
nsCycleCollectionNoteRootCallback.h Bug 1169791 - Strongly type NoteJSRoot; r=mccr8 2015-05-29 12:57:23 -07:00
nsCycleCollectionParticipant.cpp Bug 1180017 - Fix up the badly-horked backout and re-land. 2015-07-29 12:31:47 -04:00
nsCycleCollectionParticipant.h Bug 1166488 - Eliminate ServiceWorkerRegistrationBase::mCCDummy. r=smaug 2015-05-20 09:55:07 -07:00
nsCycleCollectionTraversalCallback.h
nsDataHashtable.h
nsDebug.h Bug 1162310 - Do not use nonexistent macro when XGILL_PLUGIN is defined, r=bhackett 2015-05-07 09:49:41 -07:00
nsDeque.cpp Bug 1158772 - fix non-idiomatic memset call in nsDeque.cpp; r=erahm 2015-04-27 07:55:32 -04:00
nsDeque.h Bug 1145051: Use MOZ_WARN_UNUSED_RESULT instead of NS_WARN_UNUSED_RESULT. r=glandium 2015-03-19 00:46:40 -07:00
nsEnumeratorUtils.cpp Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsEnumeratorUtils.h
nsHashKeys.h Bug 1095754 - Miscellaneous code cleanup nits found along the way. r=me 2015-01-29 13:41:57 -06:00
nsIClassInfoImpl.h Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
nsID.cpp Backed out changeset e713ce8013eb (bug 1127618) for suspicion of causing semi-frequent B2G crashes. 2015-04-09 20:05:49 -04:00
nsID.h Backed out changeset e713ce8013eb (bug 1127618) for suspicion of causing semi-frequent B2G crashes. 2015-04-09 20:05:49 -04:00
nsIInterfaceRequestorUtils.cpp
nsIInterfaceRequestorUtils.h Bug 1156790 - mark various nsCOMPtr_helper-esque classes as final; r=mccr8 2015-04-20 16:58:15 -04:00
nsINIParser.cpp Bug 1185470: Remove 'Get' prefixes from hashtable iterator methods. r=froydnj 2015-07-20 20:21:28 +08:00
nsINIParser.h Bug 1181445 (part 11) - Use nsBaseHashTable::Iterator in xpcom/glue/. r=froydnj. 2015-07-09 16:54:59 -07:00
nsISupportsImpl.cpp
nsISupportsImpl.h Bug 108603 - Remove NS_IMPL_QUERY_INTERFACE_INHERITED0. r=mccr8, r=froydnj 2015-07-24 12:13:00 -04:00
nsISupportsUtils.h Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
nsIWeakReferenceUtils.h Bug 1156790 - mark various nsCOMPtr_helper-esque classes as final; r=mccr8 2015-04-20 16:58:15 -04:00
nsInterfaceHashtable.h Backed out changeset 1ca5723f69d4 (bug 1186780) for dom crashes 2015-07-27 08:01:09 +02:00
nsJSThingHashtable.h
nsMemory.cpp
nsMemory.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
nsProxyRelease.cpp Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan 2015-03-17 09:29:17 -07:00
nsProxyRelease.h Bug 1171716 - Part 1: Add NS_ReleaseOnMainThread. r=froydnj 2015-06-10 08:33:27 -07:00
nsQuickSort.cpp
nsQuickSort.h
nsRefPtrHashtable.h Backed out changeset 1ca5723f69d4 (bug 1186780) for dom crashes 2015-07-27 08:01:09 +02:00
nsServiceManagerUtils.h Bug 1156790 - mark various nsCOMPtr_helper-esque classes as final; r=mccr8 2015-04-20 16:58:15 -04:00
nsStringAPI.cpp Bug 991983 - Emit absolute paths for UnifiedSources. r=gps 2015-05-28 07:34:11 +09:00
nsStringAPI.h Bug 1188431 - Fixed length argument handling in char16ptr_t variant of NS_ConvertUTF16toUTF8 constructor. r=nfroyd 2015-07-29 12:26:40 +02:00
nsStringGlue.h
nsTArray-inl.h Bug 968520 - Explicitly specify the allocator for nsTArray_base functions. r=froydnj 2015-05-18 13:50:34 -07:00
nsTArray.cpp
nsTArray.h Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
nsTArrayForwardDeclare.h
nsTHashtable.h Bug 1189156 (part 1) - Don't use enumeration style for PLDHashTable::SizeOf{In,Ex}cludingThis(). r=froydnj. 2015-07-29 22:28:20 -07:00
nsTObserverArray.cpp
nsTObserverArray.h Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
nsTPriorityQueue.h Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
nsTWeakRef.h Bug 1167375 - make nsTWeakRef use a nsRefPtr internally. r=nfroyd 2015-05-21 14:02:00 +02:00
nsTextFormatter.cpp Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
nsTextFormatter.h Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
nsThreadUtils.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
nsThreadUtils.h Bug 1179787 - part 2 - add template logic for smart pointer template arguments in NS_NewRunnableMethod*; r=botond 2015-07-02 11:17:49 -04:00
nsVersionComparator.cpp
nsVersionComparator.h
nsWeakReference.cpp Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsWeakReference.h
nsXPTCUtils.h
objs.mozbuild Bug 1172782 - Change how nsTHashtable::Clear() works. r=froydnj. 2015-06-10 13:07:40 -07:00
pldhash.cpp Bug 1189156 (part 1) - Don't use enumeration style for PLDHashTable::SizeOf{In,Ex}cludingThis(). r=froydnj. 2015-07-29 22:28:20 -07:00
pldhash.h Bug 1189156 (part 1) - Don't use enumeration style for PLDHashTable::SizeOf{In,Ex}cludingThis(). r=froydnj. 2015-07-29 22:28:20 -07:00