mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
5f41a2f565
To be honest, it's still a mystery why we observed a regression in sessionrestore_no_auto_restore in bug 1658732. The regression won't reproduce on profiled runs, and the bad recordings happen before the supposedly offending code ever actually runs. It feels most likely that it is a more or less random confluence of factors causing a regression; however, 33% is too large of a number to ignore. The changes in this patch do not seem to yield the same regression, and they are arguably more correct anyway. Instead of simply turning off the cache after startup is finished, we simply avoid blocking waiting for the write from inside GetBuffer. This way, if the write is not getting in the way of GetBuffer, we can still benefit from a cached version of whatever it is we're looking for. Differential Revision: https://phabricator.services.mozilla.com/D87221 |
||
---|---|---|
.. | ||
test | ||
components.conf | ||
moz.build | ||
nsIStartupCacheInfo.idl | ||
PStartupCache.ipdl | ||
StartupCache.cpp | ||
StartupCache.h | ||
StartupCacheChild.cpp | ||
StartupCacheChild.h | ||
StartupCacheInfo.cpp | ||
StartupCacheInfo.h | ||
StartupCacheParent.cpp | ||
StartupCacheParent.h | ||
StartupCacheUtils.cpp | ||
StartupCacheUtils.h |