v8/test
Clemens Backes 9c5623c72e Fix data race in array sorting
For copying the SharedArrayBuffer content, we cannot use a simple
{memcpy} because that produces data races with thread concurrently
modifying the content. Instead, use a custom {Relaxed_Memcpy} that uses
proper relaxed atomics. The implementation is slightly optimized to do
word-sized loads and stores where possible. If we still get performance
regressions, we can optimize it further in follow-up CLs.

R=ulan@chromium.org
CC=mlippautz@chromium.org

Bug: v8:11704, chromium:1205290
Change-Id: Ie34afc5c22ec5496c0fe822d55d4788031f06c54
Cq-Include-Trybots: luci.v8.try:v8_linux64_tsan_rel_ng
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2874652
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74403}
2021-05-06 11:18:43 +00:00
..
benchmarks [build] Fix gn check errors in test/benchmarks/cpp 2021-04-27 10:35:33 +00:00
cctest [Interpreter] Optimize IsWithoutExternalSideEffects check 2021-05-06 08:29:58 +00:00
common [wasm][eh] Make stack overflows uncatchable 2021-05-03 16:18:41 +00:00
debugger [debugger] Remove "Restart frame" feature. 2021-04-29 13:08:14 +00:00
debugging [wasm] Rename kWasmStmt -> kWasmVoid 2021-03-22 07:58:18 +00:00
fuzzer [cleanup][test] Remove redundant NOLINT annotations 2021-04-30 11:46:14 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [debugger] Return ServerError if debugger agent is disabled 2021-05-06 09:14:12 +00:00
intl Implement proposal-intl-locale-info 2021-05-06 02:05:48 +00:00
js-perf-test Update OWNERS in test/* 2021-02-25 14:26:24 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [wasm] Consider only function names from the name section. 2021-05-05 12:54:27 +00:00
mjsunit Fix data race in array sorting 2021-05-06 11:18:43 +00:00
mkgrokdump [build] Fold v8_wrappers into v8_libbase 2021-02-25 10:56:20 +00:00
mozilla [compiler, infra] Add a --stress-concurrent-inlining flag and a bot 2021-01-29 12:05:03 +00:00
test262 [parser] Allow escaped future reserved keywords as identifiers 2021-05-04 17:58:26 +00:00
torque [torque] Add LazyNode support 2021-02-23 16:51:53 +00:00
unittests cppgc: Adjust explicit management calls 2021-05-05 14:18:37 +00:00
wasm-api-tests [wasm-api] Enable trap handler in c-api tests 2021-05-03 19:48:22 +00:00
wasm-js [wasm] Update spec tests 2021-04-14 13:48:55 +00:00
wasm-spec-tests [wasm-simd] Rename no_simd_sse to no_simd_hardware to be generic 2021-04-23 00:25:29 +00:00
webkit Disallow \8 and \9 in strict mode and template literals 2020-08-03 18:05:14 +00:00
BUILD.gn [no-wasm] Exclude more targets from build 2021-03-09 11:25:54 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00