gecko-dev/browser/base/content/test/performance
Nika Layzell d6e6375a87 Bug 1728331 - Part 4: Make ContentParent KeepAlives explicit with RAII references, r=smaug,dom-worker-reviewers,asuth
This is a fairly significant patch, however it would be difficult to break it
down into smaller patches:

1) The various mechanisms used to manage ContentParent lifecycles have been
   merged together into a common "KeepAlive" system. A process will
   begin shutdown when its keepalive count reaches 0. (though it will
   still wait for all BrowserParents to also be dead before sending the
   actual shutdown message as before).

   This replaces a number of bespoke systems for tracking BrowserParent
   instances in different lifecycle states, remote workers, ongoing
   process switches, and preallocated processes.

2) KeepAlives are now managed automatically by a UniquePtr variant
   (Unique[Threadsafe]ContentParentKeepAlive). This makes the hand-off
   over KeepAlive lifecycles explicit, even for workers.

3) All KeepAlives are now keyed by a BrowserId, which will be 0 for keepalives
   not associated with a specific tab. This allows the new process
   selection logic to count all tabs other than the one being navigated
   when deciding which process to use.

4) The process switching logic now tracks it's KeepAlive with a BrowserId,
   meaning that ongoing process switches are considered when performing
   process selection, even if the BrowserParent hasn't been created yet.

Differential Revision: https://phabricator.services.mozilla.com/D213338
2024-06-24 23:19:28 +00:00
..
hidpi
io
lowdpi
browser.toml
browser_appmenu.js
browser_hidden_browser_vsync.js
browser_panel_vsync.js
browser_preferences_usage.js Bug 1728331 - Part 4: Make ContentParent KeepAlives explicit with RAII references, r=smaug,dom-worker-reviewers,asuth 2024-06-24 23:19:28 +00:00
browser_startup.js
browser_startup_content.js Bug 1900825 - Convert startup script tests to use Map. r=florian 2024-06-05 18:46:00 +00:00
browser_startup_content_mainthreadio.js Bug 1900283 - Fix an edge case where the main thread I/O test would incorrectly fail. r=florian 2024-06-06 21:45:19 +00:00
browser_startup_content_subframe.js Bug 1900825 - Convert startup script tests to use Map. r=florian 2024-06-05 18:46:00 +00:00
browser_startup_flicker.js
browser_startup_hiddenwindow.js
browser_startup_images.js
browser_startup_mainthreadio.js Bug 1875502 - Fix tests broken by the previous patch stack that standardizes update initialization r=nalexander,application-update-reviewers 2024-05-16 20:01:55 +00:00
browser_startup_syncIPC.js
browser_tabclose.js
browser_tabclose_grow.js
browser_tabdetach.js Bug 1837575 - Move Tabbed Browser related files to browser/components/tabbrowser/. r=mconley,desktop-theme-reviewers,zeid,tabbrowser-reviewers,frontend-codestyle-reviewers,Itiel 2024-05-17 13:25:23 +00:00
browser_tabopen.js
browser_tabopen_squeeze.js
browser_tabstrip_overflow_underflow.js
browser_tabswitch.js
browser_toolbariconcolor_restyles.js
browser_urlbar_keyed_search.js
browser_urlbar_search.js
browser_vsync_accessibility.js
browser_window_resize.js
browser_windowclose.js
browser_windowopen.js
file_empty.html
head.js Bug 1900825 - Convert startup script tests to use Map. r=florian 2024-06-05 18:46:00 +00:00
moz.build
PerfTestHelpers.sys.mjs
StartupContentSubframe.sys.mjs Bug 1900825 - Convert startup script tests to use Map. r=florian 2024-06-05 18:46:00 +00:00
triage.json