fune/toolkit/components/aboutmemory/tests
Nicholas Nethercote 60b1f563cb Bug 1447951 - Store nsDynamicAtom's chars after the end of the object. r=froydnj
This reduces memory usage because we only need one allocation instead of two
for the dynamic atom and its chars, and because we don't need to store a
refcount and a size. It precludes sharing of chars between dynamic atoms, but
we weren't benefiting much from that anyway.

This reduces per-process memory usage by up to several hundred KiB on my
Linux64 box.

One consequence of this change is that we need to allocate + copy in
DOMString::SetKnownLiveAtom(), which could make some things slower.

--HG--
extra : rebase_source : ba4065ea31e509dd985c003614199f73def0596c
2018-06-22 09:38:42 +10:00
..
xpcshell
.eslintrc.js
chrome.ini Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
crash-dump-diff1.json
crash-dump-diff2.json
crash-dump-good.json
memory-reports-bad.json
memory-reports-diff1.json
memory-reports-diff2.json
memory-reports-good.json
remote.xul
test_aboutmemory.xul
test_aboutmemory2.xul
test_aboutmemory3.xul
test_aboutmemory4.xul
test_aboutmemory5.xul
test_aboutmemory6.xul
test_dumpGCAndCCLogsToFile.xul
test_memoryReporters.xul Bug 1447951 - Store nsDynamicAtom's chars after the end of the object. r=froydnj 2018-06-22 09:38:42 +10:00
test_memoryReporters2.xul
test_sqliteMultiReporter.xul