3 ms·
> Continuing work to restructure Firefox’s JavaScript memory management to be more performant and use less memory. I went back the last few versions major rele
by MitchellCash 5y ago
> Continuing work to restructure Firefox’s JavaScript memory management to be more performant and use less memory.
I went back the last few versions major release notes and didn’t see mention of the initial work to improve the JavaScript memory management. Is anyone aware of this work/what’s going on to improve memory management here? Interested to read more about the technicals!
- KeyBoardG 5y agoI'm interested as well since they had a layoff of the Servo team. Did they rebuild that team with unannounced hires? Outside contributions?
- sfink 5y agoServo has very little to do with JavaScript, so no. The parts of Servo that made it into Firefox are still being worked on by Firefox developers. I don't know how much activity is happening on the now-external Servo project itself.
- deleted 5y ago[deleted]
- mccr8 5y agoThis is probably referring to some work to use Stencil for self-hosted code. That reduced process overhead by 6%, which is quite a bit: https://bugzilla.mozilla.org/show_bug.cgi?id=1688794 https://bugzilla.mozilla.org/show_bug.cgi?id=1688794 There might have been some other Stencil work that landed in 92 to reduce memory. There's a description of what Stencil is, and some work related to it that landed in Firefox 90 and 91, here: https://spidermonkey.dev/blog/2021/07/19/newsletter-firefox-90-91.html https://spidermonkey.dev/blog/2021/07/19/newsletter-firefox-...
- sfink 5y agoI believe this refers to the constellation of work surrounding the ReShape hidden class datastructure refactoring https://bugzilla.mozilla.org/show_bug.cgi?id=reshape https://bugzilla.mozilla.org/show_bug.cgi?id=reshape There was an initial change and then various bits of followup work to take advantage of it. (Ah. mccr8 says it's Stencil. That probably makes more sense.)
- deleted 5y ago[deleted]