mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
1b0a2e733e
Flips the `javascript.options.use_off_thread_parse_global` pref to false. In this mode, off-thread JS parsing will parse to Stencil and hand that back to main-thread to instantiate. This removes the `mergeRealms` operation and more importantly removes restrictions involving atoms-zone GC. This addresses intermittent stalls that can previously occured where certain incremental GCs would disable all off-thread parsing for a short while. Additionally, this switches the JSBC data format from a legacy format to one based around the Stencil data structures. As a performance consideration, we currently continue to use the off-thread parse-global for decode operations. If the GC prevents us from doing this, we simply instantiate the Stencil on main-thread like for the parse case. Further performance tuning will allow us to revisit this again in future. Note that the privileged ScriptPreloader that runs during process startup still uses the legacy format at this time. We also change the defaults of the js-shell which requires updating various help messages. Differential Revision: https://phabricator.services.mozilla.com/D91743 |
||
---|---|---|
.. | ||
brotli | ||
fdlibm | ||
freetype2 | ||
libjar | ||
libmar | ||
libpref | ||
woff2 | ||
xz-embedded | ||
zlib | ||
moz.build |