mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
04624a2df0
is never 0, and make the memset-to-zero required for these assertions be #ifdef NS_DEBUG. - Extend FastLoad file format to encode a singleton flag in the high bit of nsFastLoadSharpObjectInfo.mWeakRefCnt. The updater code needs to test this bit in order to deserialize a singleton that was not read by the updater's reader during this FastLoad episode. Otherwise the updater is likely to reserialize the singleton, leading to multiple entries in the object map for the same object, and UMRs when loading from the writer's object map enumeration (objvec) in nsFastLoadFileWriter::WriteFooter. - Remove bogus assertion that worked only when an XPCOM data structure being serialized was still alive at the time the writer closed. In general, there is no relationship between the strong ref-counts in a FastLoad file and the XPCOM refcnts in memory at close time. - Bug 189832, r=jrgm, sr=ben, a=dbaron. |
||
---|---|---|
.. | ||
base | ||
build | ||
components | ||
doc | ||
ds | ||
glue | ||
io | ||
libxpt/xptcall | ||
macbuild | ||
MoreFiles | ||
proxy | ||
reflect | ||
sample | ||
string | ||
tests | ||
threads | ||
tools | ||
typelib | ||
windbgdlg | ||
.cvsignore | ||
Makefile.in |