Skip to content

[browser][MT] Jiterpreter does not know which features are enabled on worker threads #107443

Closed
@kg

Description

@kg

The jiterpreter relies on runtimeHelpers properties like featureWasmSimd to determine which features are available, but right now we only populate runtimeHelpers on the main thread. The result is that in an MT build if the jiterpreter is enabled, the traces on worker threads are compiled incorrectly and don't match the ones on the main thread.

The necessary fix for this is to propagate information from the main thread to workers when they are created.

cc @pavelsavara

Metadata

Metadata

Assignees

Labels

arch-wasmWebAssembly architecturearea-Codegen-Interpreter-monoin-prThere is an active PR which will close this issue when it is mergedos-browserBrowser variant of arch-wasm

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions