Open Bug 1991538 Opened 4 months ago Updated 1 month ago

Adjust conventional loader for when Zygote preloading is enabled

Categories

(GeckoView :: General, task)

All
Android
task

Tracking

(Not tracked)

People

(Reporter: olivia, Unassigned)

References

(Blocks 1 open bug)

Details

We likely need an adjustment at loadGeckoLibs for Zygote preloading.

It does not appear to double allocate, but we should see if we can add a skip here with Zygote app preloading or at least 100% confirm with either a manual or automated test that no double allocation occurs.

:kaya, mentioned skipping loadGeckoLibs and not having luck with it, but has not seen a double allocation (possibly the system/compiler is smart enough to prevent it).

I talked to :tcampbell and double allocation (init from app zygote and init from loadGeckoLibs) is short-circuited by the OS and won't happen. So, this bug is just focusing on if we can do anything else in loadGeckoLibs that makes sense for app zygote preloading.

You need to log in before you can comment on or make changes to this bug.