gecko/xpcom/glue
Nick Fitzgerald 0edc801f8a Bug 1196461 - De-duplicate strings in heap snapshot core dumps; r=shu,jimb
This changeset replaces all of the

    // char16_t[]
    optional bytes someProperty = 1;

one- and two-byte string properties in the CoreDump.proto protobuf definition
file with:

    oneof {
        // char16_t[]
        bytes  someProperty    = 1;
        uint64 somePropertyRef = 2;
    }

The first time the N^th unique string is serialized, then someProperty is used
and the full string is serialized in the protobuf message. All following times
that string is serialized, somePropertyRef is used and its value is N.

Among the other things, this also changes JS::ubi::Edge::name from a raw pointer
with commented rules about who does or doesn't own and should and shouldn't free
the raw pointer to a UniquePtr that enforces those rules rather than relying on
developers reading and obeying the rules in the comments.
2015-09-30 16:03:31 -07:00
..
standalone Back out 6 changesets (bug 1186745) for cpptest failure in runnable_utils_unittest, nrappkit_unittest, test_nr_socket_unittest 2015-09-28 19:05:02 -07:00
staticruntime Back out 6 changesets (bug 1186745) for cpptest failure in runnable_utils_unittest, nrappkit_unittest, test_nr_socket_unittest 2015-09-28 19:05:02 -07:00
tests/gtest Bug 1054756, part 5 - Remove Class::convert. 2015-03-20 16:28:59 -05:00
AppData.cpp
AppData.h
AutoRestore.h Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
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 1189156 (part 4) - Don't use enumeration style for nsBaseHashtable::SizeOf{In,Ex}cludingThis(). r=erahm,jfkthame. 2015-07-30 21:19:57 -07:00
EnumeratedArrayCycleCollection.h
FileUtils.cpp
FileUtils.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
GenericFactory.cpp
GenericFactory.h
GenericModule.cpp Bug 1204403 - Fix -Wshadow warnings in xpcom. r=mccr8 2015-09-07 23:56:16 -07:00
IntentionalCrash.h
Logging.h Bug 1197563 - Polyfill __func__ for MSVC 2013 and earlier. r=froydnj 2015-08-20 23:39:18 -07:00
MainThreadUtils.h
Monitor.h
moz.build Back out 6 changesets (bug 1186745) for cpptest failure in runnable_utils_unittest, nrappkit_unittest, test_nr_socket_unittest 2015-09-28 19:05:02 -07:00
Mutex.h Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
nsArrayEnumerator.cpp Bug 1192230 - clean up reference-counting in xpcom/; r=erahm 2015-07-01 12:27:43 -04:00
nsArrayEnumerator.h
nsArrayUtils.cpp
nsArrayUtils.h
nsBaseHashtable.h Bug 1209969 - remove prlock.h include from nsBaseHashtable.h; r=erahm 2015-09-30 00:51:28 -04: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
nsCOMArray.cpp Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
nsCOMArray.h
nsComponentManagerUtils.cpp
nsComponentManagerUtils.h
nsCOMPtr.cpp
nsCOMPtr.h Bug 1196050 - Replace NSCAP_Zero usage with decltype(nullptr). r=froydnj 2015-08-20 10:30:10 +10:00
nsCRTGlue.cpp Bug 1196461 - De-duplicate strings in heap snapshot core dumps; r=shu,jimb 2015-09-30 16:03:31 -07:00
nsCRTGlue.h Bug 1196461 - De-duplicate strings in heap snapshot core dumps; r=shu,jimb 2015-09-30 16:03:31 -07: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
nsDeque.cpp Bug 1199400 - Part 0: Remove unused nsDequeIterator. r=froydnj 2015-09-04 15:04:58 -07:00
nsDeque.h Bug 1199400 - Part 0: Remove unused nsDequeIterator. r=froydnj 2015-09-04 15:04:58 -07:00
nsEnumeratorUtils.cpp Bug 1192230 - clean up reference-counting in xpcom/; r=erahm 2015-07-01 12:27:43 -04:00
nsEnumeratorUtils.h
nsHashKeys.h Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
nsIClassInfoImpl.h
nsID.cpp Bug 1197316 - Remove PR_snprintf calls in xpcom/. r=froydnj 2015-08-22 17:57:52 -07:00
nsID.h Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj IGNORE IDL 2015-07-31 13:50:08 -07:00
nsIInterfaceRequestorUtils.cpp
nsIInterfaceRequestorUtils.h
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
nsInterfaceHashtable.h Backed out changeset 1ca5723f69d4 (bug 1186780) for dom crashes 2015-07-27 08:01:09 +02: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
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
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
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 1204403 - Fix -Wshadow warnings in xpcom. r=mccr8 2015-09-07 23:56:16 -07:00
nsTArray.cpp
nsTArray.h Bug 1201271 - Warn about unused results for more methods of nsTArray. r=froydnj 2015-09-15 15:30:44 -07:00
nsTArrayForwardDeclare.h
nsTextFormatter.cpp Bug 1197316 - Remove PR_snprintf calls in xpcom/. r=froydnj 2015-08-22 17:57:52 -07:00
nsTextFormatter.h
nsTHashtable.h Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
nsThreadUtils.cpp Back out 6 changesets (bug 1186745) for cpptest failure in runnable_utils_unittest, nrappkit_unittest, test_nr_socket_unittest 2015-09-28 19:05:02 -07:00
nsThreadUtils.h Back out 6 changesets (bug 1186745) for cpptest failure in runnable_utils_unittest, nrappkit_unittest, test_nr_socket_unittest 2015-09-28 19:05:02 -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
nsTWeakRef.h Bug 1167375 - make nsTWeakRef use a nsRefPtr internally. r=nfroyd 2015-05-21 14:02:00 +02:00
nsVersionComparator.cpp
nsVersionComparator.h
nsWeakReference.cpp
nsWeakReference.h
nsXPTCUtils.h
objs.mozbuild Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
Observer.h
PLDHashTable.cpp Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
PLDHashTable.h Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
ReentrantMonitor.h