gecko-dev/xpcom
Toshihito Kikuchi 16a8fe4d37 Bug 1729911 - Define minInactiveDurationInMS not to unload fresh tabs. r=NeilDeakin
Tab unloading should not unload "fresh" tabs i.e. tabs that were accessed
very recently, even though one of them was the least recently used tab.

To achieve it, this patch introduces the minimum inactive duration and we
prevent tabs that were accessed in the last period of that duration from
being unloaded.

This patch sets the default value to 10 minutes based on the historgram
`TAB_UNLOAD_TO_RELOAD` where the median was 60sec and the 75th percentile
was 1040sec.  This value can be overriden by the parameter of the TabUnloader's
APIs so that about:unloads and the tests can unload those fresh tabs.

Differential Revision: https://phabricator.services.mozilla.com/D125824
2021-10-20 23:22:57 +00:00
..
base Bug 1729911 - Define minInactiveDurationInMS not to unload fresh tabs. r=NeilDeakin 2021-10-20 23:22:57 +00:00
build Bug 1723674 - Move nsUUIDGenerator logic to new nsID::GenerateUUID() factory functions that use nsRandomGenerator. r=keeler 2021-10-14 03:28:49 +00:00
components Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-10-04 18:58:55 +00:00
docs Bug 1733360 - doc: update the hunting leaks docs + fix links r=gerard-majax DONTBUILD 2021-09-30 14:05:14 +00:00
ds Bug 1735306 - Add nsCStringASCIICaseInsensitiveHashKey r=xpcom-reviewers,necko-reviewers,nika,hsivonen,dragana 2021-10-19 10:49:46 +00:00
glue Bug 1733308 - Fix non-unified builds errors in xpcom/build. r=xpcom-reviewers,mccr8 2021-10-01 01:49:17 +00:00
idl-parser
io Bug 1731779 - r=dveditz,mtigley 2021-10-19 22:27:31 +00:00
libxpt/xptcall
reflect Bug 1717205 - Add riscv64gc xptcall support. r=xpcom-reviewers,nika 2021-08-23 11:27:04 +00:00
rust Bug 1733308 - Forbid sources files with the same base name. r=firefox-build-system-reviewers,andi 2021-10-01 01:49:16 +00:00
string Bug 1733921 - Simplify reftest annotations to assume WebRender is on. r=gfx-reviewers,jrmuizel 2021-10-04 13:14:37 +00:00
system Bug 1670480 - Add an "auto" theme for devtools which follows the browser's color scheme. r=jdescottes 2021-10-12 09:25:05 +00:00
tests Bug 1536061 - Part 4: Add some tests for incremental iteration of the holder map r=mccr8 2021-10-10 11:06:51 +00:00
threads Bug 1735299 - Remove last use of unnammed NS_ReleaseOnMainThread r=extension-reviewers,rpl,nhnt11 2021-10-19 13:44:25 +00:00
windbgdlg
xpidl
moz.build
xpcom-config.h.in