this post was submitted on 21 Jul 2025
109 points (100.0% liked)

Firefox

20446 readers
6 users here now

/c/firefox

A place to discuss the news and latest developments on the open-source browser Firefox.


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 5 years ago
MODERATORS
top 12 comments
sorted by: hot top controversial new old
[–] thingsiplay@beehaw.org 28 points 5 days ago (1 children)

Firefox 141.0 also no longer requires a forced restart after an update has been applied by a package manager.

As an Archlinux based user, I appreciate this.

[–] ReversalHatchery@beehaw.org 4 points 5 days ago (2 children)

I wonder how they do it. do they just open a handle for all program files at startup that could be needed at any point?

[–] thingsiplay@beehaw.org 4 points 5 days ago

Hmm thinking about it, maybe it does not run the updated code. Ah, got it. Normally when you update Firefox, then try to open a webpage in the "old version" that is currently running in memory, then you can't show the page; one MUST restart in order to use Firefox further. So this change maybe changes this "forced restart". This is probably more inline with the other programs in your system, that you can still use and need to restart in order to use the new version. Which makes totally sense. It's not what I thought, but it probably is.

[–] heftig@beehaw.org 3 points 5 days ago* (last edited 5 days ago) (1 children)

They now use a zygote process like Chrome does. When a new process is needed, the zygote just forks.

In the old version, the main process used a classic UNIX fork+exec of the browser executable instead, which could start an incompatible process if the executable has been replaced.

With the zygote process, all code and data files are preopened, so replacing or deleting them does not affect the running Firefox.

As another effect, skipping the exec makes process creation faster..

[–] hexagonwin@lemmy.sdf.org 1 points 5 days ago

i guess this wouldn't work on bsd then :/

[–] Sims@lemmy.ml 0 points 3 days ago

Direct link to ram test: https://www.phoronix.com/review/firefox-141-linux-ram/

"Around 230MB less RAM was consumed while running the Speedometer 3.1 benchmark. While ~230MB may not seem like a lot, this was just a simple single-tab test case and likely to be compounded with more common use-cases of multiple tabs across the span of hours of use."