Closed Bug 1991512 Opened 2 months ago Closed 1 month ago

Enable App Zygote Preloading on Runtime

Categories

(GeckoView :: General, task)

All
Android
task

Tracking

(firefox146 fixed)

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: olivia, Assigned: olivia)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [fxdroid][geckoview])

Attachments

(2 files)

Bug is to add app zygote preloading to GeckoView runtime.

Blocks: 1859857
Blocks: 1991536

Patch introduces a way to turn on app Zygote preloading on GeckoView.
Adds:

  • --enable-isolated-zygote-process w/ MOZ_ANDROID_CONTENT_SERVICE_ISOLATED_WITH_ZYGOTE build flag
    • For managing turning on/off elements in CI.
  • GeckoRuntimeSettings API of appZygoteProcessEnabled and getAppZygoteProcessEnabled to manage runtime initialization of app Zygote process.
  • Some utilities to determine what is a content process.

Creates a zygote variant to test App Zygote Preloading on request.

Assignee: nobody → ohall
Attachment #9517301 - Attachment description: WIP: Bug 1991512 - Enable App Zygote Preloading on Runtime → Bug 1991512 - Enable App Zygote Preloading on Runtime
Attachment #9517302 - Attachment description: WIP: Bug 1991512 - Add Taskcluster config to test App Zygote Preloading → Bug 1991512 - Add Taskcluster config to test App Zygote Preloading
Blocks: 1995392
Pushed by ohall@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/17856cb36eb1 https://hg.mozilla.org/integration/autoland/rev/1b016710ddc2 Enable App Zygote Preloading on Runtime r=geckoview-reviewers,geckoview-api-reviewers,kaya,m_kato
Pushed by ohall@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c12ca5670396 https://hg.mozilla.org/integration/autoland/rev/7b043f8a91bb Add Taskcluster config to test App Zygote Preloading r=geckoview-reviewers,jmaher,tcampbell
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: