mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
30e17cfd82
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. |
||
---|---|---|
.. | ||
tests | ||
.gitattributes | ||
AutoMemMap.cpp | ||
AutoMemMap.h | ||
census-tree-node.js | ||
CoreDump.pb.cc | ||
CoreDump.pb.h | ||
CoreDump.proto | ||
DeserializedNode.cpp | ||
DeserializedNode.h | ||
FileDescriptorOutputStream.cpp | ||
FileDescriptorOutputStream.h | ||
generate-core-dump-sources.sh | ||
HeapAnalysesClient.js | ||
HeapAnalysesWorker.js | ||
HeapSnapshot.cpp | ||
HeapSnapshot.h | ||
HeapSnapshotFileUtils.js | ||
HeapSnapshotTempFileHelperChild.h | ||
HeapSnapshotTempFileHelperParent.cpp | ||
HeapSnapshotTempFileHelperParent.h | ||
moz.build | ||
PHeapSnapshotTempFileHelper.ipdl | ||
ZeroCopyNSIOutputStream.cpp | ||
ZeroCopyNSIOutputStream.h |