Skip to content

Commit be9ff65

Browse files
dtigCommit Bot
authored andcommitted
Reland "[wasm] Enable wasm threads by default in V8"
This is a reland of 6ec52d9. The failing tests have been adapted at the blink side. Original change's description: > [wasm] Enable wasm threads by default in V8 > > Finer grained control of platforms that support threads are > enforced by chromium. > > Bug: chromium:1167733 > Change-Id: Ic34a4950aebf6ba394053b79df97b703af333636 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2810190 > Reviewed-by: Lutz Vahl <[email protected]> > Reviewed-by: Clemens Backes <[email protected]> > Commit-Queue: Deepti Gandluri <[email protected]> > Cr-Commit-Position: refs/heads/master@{#73919} Bug: chromium:1167733 Cq-Include-Trybots: luci.v8.try:v8_linux_blink_rel Change-Id: I56a00a24f17fef8a8050ee6f4b28fc13c7d3fb30 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2826540 Reviewed-by: Lutz Vahl <[email protected]> Reviewed-by: Deepti Gandluri <[email protected]> Commit-Queue: Clemens Backes <[email protected]> Cr-Commit-Position: refs/heads/master@{#73981}
1 parent bbc72ef commit be9ff65

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

src/wasm/wasm-feature-flags.h

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,6 @@
6666
/* Staged in v8.7 * */ \
6767
V(return_call, "return call opcodes", false) \
6868
\
69-
/* Threads proposal. */ \
70-
/* https://github.com/webassembly/threads */ \
71-
/* NOTE: This is enabled via chromium flag on desktop systems since v7.4 */ \
72-
/* (see https://crrev.com/c/1487808). ITS: https://groups.google.com/a/ */ \
73-
/* chromium.org/d/msg/blink-dev/tD6np-OG2PU/rcNGROOMFQAJ */ \
74-
/* V8 side owner: gdeepti */ \
75-
V(threads, "thread opcodes", false) \
76-
\
7769
/* Type reflection proposal. */ \
7870
/* https://github.com/webassembly/js-types */ \
7971
/* V8 side owner: ahaas */ \
@@ -89,8 +81,19 @@
8981
/* V8 side owner: gdeepti, zhin */ \
9082
/* Staged in v8.7 * */ \
9183
/* Shipped in v9.1 * */ \
92-
V(simd, "SIMD opcodes", true)
93-
84+
V(simd, "SIMD opcodes", true) \
85+
\
86+
/* Threads proposal. */ \
87+
/* https://github.com/webassembly/threads */ \
88+
/* NOTE: This is enabled via chromium flag on desktop systems since v7.4, */ \
89+
/* and on android from 9.1. Threads are only available when */ \
90+
/* SharedArrayBuffers are enabled as well, and are gated by COOP/COEP */ \
91+
/* headers, more fine grained control is in the chromium codebase */ \
92+
/* ITS: https://groups.google.com/a/chromium.org/d/msg/blink-dev/ */ \
93+
/* tD6np-OG2PU/rcNGROOMFQAJ */ \
94+
/* V8 side owner: gdeepti */ \
95+
V(threads, "thread opcodes", true) \
96+
\
9497
// Combination of all available wasm feature flags.
9598
#define FOREACH_WASM_FEATURE_FLAG(V) \
9699
FOREACH_WASM_EXPERIMENTAL_FEATURE_FLAG(V) \

0 commit comments

Comments
 (0)