v8/test
Clemens Backes 591db5d98b [wasm] Fix data race in lazy compilation
Instead of updating the detected features set directly, use the
synchronized {OnCompilationStopped} method.
In order to avoid this error in the future, the whole
{detected_features()} getter is removed, as it returns a pointer which
can only be accessed when holding the mutex anyway. Also, the refactored
code was the only user of this dangerous method.

Drive-by: Pass the WasmFeatures set by value, since it's just an
EnumSet.
Drive-by 2: Remove a print line from the regression test which can be
confusing if the test is picked up again by foozzie.

R=ahaas@chromium.org
CC=zhin@chromium.org

Bug: v8:11357
Change-Id: I75b5c8f35983d2bc1fd2b61adcb2ecfc18564f39
Cq-Include-Trybots: luci.v8.try:v8_linux64_tsan_isolates_rel_ng
Cq-Include-Trybots: luci.v8.try:v8_linux64_tsan_rel_ng
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2653226
Reviewed-by: Zhi An Ng <zhin@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72375}
2021-01-27 17:37:29 +00:00
..
benchmarks cppgc-js: Report C++ memory to V8's heap growing 2021-01-27 00:32:05 +00:00
cctest [wasm-simd][arm64] Prototype double precision conversion 2021-01-27 17:03:09 +00:00
common [wasm] Use saturated_cast in wasm-interpreter 2021-01-27 17:25:58 +00:00
debugger [turboprop] Add a new test variant for turboprop-as-toptier 2021-01-22 11:19:59 +00:00
debugging [wasm] [debugging] Fix --wasm-gdb-remote 2020-12-08 19:37:25 +00:00
fuzzer [wasm-simd][fuzzer] Add i64x2.eq to fuzzer 2021-01-27 00:58:04 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector Revert "[wasm][debug] Garbage-collect stepping code" 2021-01-27 10:16:39 +00:00
intl [intl] Implement ECMA402 PR500 Use OrdinaryHasInstance 2021-01-25 22:33:04 +00:00
js-perf-test [super] Rewrite perf tests 2020-11-16 08:36:24 +00:00
memory Reland^4 "[serializer] Allocate during deserialization" 2020-10-07 08:15:50 +00:00
message [modules][api] Add version of HostImportModuleDynamically with import assertions 2021-01-26 04:15:15 +00:00
mjsunit [wasm] Fix data race in lazy compilation 2021-01-27 17:37:29 +00:00
mkgrokdump Replace libc functions with base wrappers 2020-11-17 08:50:41 +00:00
mozilla [Respect] Prefer inclusive terms 2020-06-22 18:11:23 +00:00
test262 [regexp] Implement the /d flag for RegExp indices 2021-01-26 04:14:10 +00:00
torque [torque] Allow returning pairs from builtins 2021-01-19 18:03:12 +00:00
unittests cppgc: Change histograms from ms to us 2021-01-27 16:34:08 +00:00
wasm-api-tests [test][cleanup] Rename WASM_*_GLOBAL to WASM_GLOBAL_* 2020-12-17 21:26:54 +00:00
wasm-js [wasm] Update spec tests 2021-01-15 12:13:40 +00:00
wasm-spec-tests Revert "[wasm-simd] Merge all any_true to v128.any_true" 2021-01-26 04:04:41 +00:00
webkit Disallow \8 and \9 in strict mode and template literals 2020-08-03 18:05:14 +00:00
BUILD.gn [turbofan] Make OSR and stack slots compatible 2020-10-05 17:41:02 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00