Open Bug 1730713 Opened 3 years ago Updated 3 years ago

Investigate delay loading more Windows DLLs

Categories

(Toolkit :: General, task)

All
Windows
task

Tracking

()

People

(Reporter: bobowen, Unassigned)

References

Details

Bug 1546154 is making changes to stop user32, gdi32, ole32 and many other DLLs from automatically loading with xul.dll in the content process when win32k lockdown is enabled.

This gives us a not insignificant memory win for each content process and looks like it could provide some performance benefit.

Delay loading other DLLs doesn't seem to prevent more than 1 extra DLL being loaded at the moment, but this might be down to unneeded initialisation, as it looks like there are other DLLs that we shouldn't need.
This bug is to investigate whether further changes mean we can prevent more DLLs from loading.
It could also consider making delay loading for MS DLLs the default in the build.
(Note: it appears that some DLLs (like kernel32.dll) would have to be excluded from that.)

See Also: → 1732421
You need to log in before you can comment on or make changes to this bug.