Files
tubestation/dom/promise
Julian Seward fc7354d5c5 Bug 1957504 - wasm: enable lazy tiering for all content. r=rhunt.
Currently wasm lazy tiering is enabled by default only for content that uses
the wasm-GC feature set.  This patch enables lazy tiering for all wasm content.
Lazy tiering is disallowed if the "test serialization" pref is enabled, or if
no helper threads are available.

As a ridealong fix, a potential race in CanFlushExecutionContextForAllThreads
is fixed -- applies to 32- and 64-bit ARM on Linux and Android only.

There are also some fixes for jit-test tests:

* a new testing function, wasmLazyTieringEnabled, which indicates whether
  compilation will be done using lazy tiering.

* wasm/binary-to-text.js, wasm/gc/speculative-inlining.js,
  wasm/lazy-tiering-codegen.js: consistently use wasmLazyTieringEnabled
  in the skip-if clauses, instead of ad-hoc other logic.

Differential Revision: https://phabricator.services.mozilla.com/D244195
2025-04-30 08:42:20 +00:00
..