v8/test/mjsunit/shared-memory
Shu-yu Guo f1adbe2e44 [shared-struct] Fix shared value barrier in TF
This CL fixes a bug where TurboFan was incorrectly compiling away the
shared value barrier for shared arrays.

TurboFan should not be compiling accesses to objects in the shared heap
until it natively has support for the shared value barrier, because it
is an invariant that shared objects do not point to non-shared objects.

Bug: chromium:1404052, v8:12547
Change-Id: I5bd44ce5c44ad81a97421598e6d5b24fb5e210cd
Fixed: chromium:1404052
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4136980
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85233}
2023-01-11 19:28:45 +00:00
..
client-gc.js
condition-workers.js Reland^2 "[shared-struct] Add Atomics.Condition" 2022-08-11 00:12:22 +00:00
condition.js [shared-struct] Fix shared barrier for always shared objects 2023-01-10 19:07:40 +00:00
mutex-workers.js Reland "[shared-struct] Add Atomics.Mutex" 2022-06-01 01:12:07 +00:00
mutex.js [shared-struct] Fix shared barrier for always shared objects 2023-01-10 19:07:40 +00:00
private-name.js [shared-struct] Disallow adding private named properties to shared objects 2022-11-30 13:26:42 +00:00
shared-array-atomics-workers.js [shared-struct] Support shared arrays in Atomics.{load,store,exchange} 2022-07-05 15:49:01 +00:00
shared-array-atomics.js [shared-struct] Support shared arrays in Atomics.{load,store,exchange} 2022-07-05 15:49:01 +00:00
shared-array-surface.js [shared-struct] Store length per-SharedArray instance 2022-11-21 22:14:15 +00:00
shared-array-workers.js [shared-struct] Shared Array Initial prototype 2022-06-22 02:24:46 +00:00
shared-external-string-dictionary-lookup.js Reland "[strings] Fix dictionary forwarded string hash lookup" 2022-10-11 18:25:53 +00:00
shared-external-string-megamorphic-ic.js Reland "[strings] Fix raw hash lookup for forwarded strings" 2022-09-16 08:15:13 +00:00
shared-string-copy-on-share-large.js [string] Copy when sharing strings that are not in shared space 2022-12-19 16:28:22 +00:00
shared-string-copy-on-share.js [string] Copy when sharing strings that are not in shared space 2022-12-19 16:28:22 +00:00
shared-string-in-code-object.js Reland^3 [heap] Support client-to-shared refs in Code objects 2022-02-14 12:33:57 +00:00
shared-string-in-weak-map.js Reland "[heap] Allow shared references in WeakMap" 2022-02-24 17:22:38 +00:00
shared-string-promotion-major.js Reland "[heap] Handle old-to-new slot promotion to shared heap" 2022-08-17 16:39:18 +00:00
shared-string-promotion-minor.js Reland "[heap] Handle old-to-new slot promotion to shared heap" 2022-08-17 16:39:18 +00:00
shared-string.js [shared-struct] Rework shared value serializer API again 2022-09-07 23:41:26 +00:00
shared-struct-atomics-workers.js [shared-struct] Support shared structs in Atomics.{load,store} 2022-03-10 02:23:44 +00:00
shared-struct-atomics.js [shared-struct] Support shared arrays in Atomics.{load,store,exchange} 2022-07-05 15:49:01 +00:00
shared-struct-property-storage.js [shared-struct] Fix in/out-of-object property storage 2022-11-02 18:50:49 +00:00
shared-struct-surface.js [shared-struct] Fix using shared objects as prototypes more 2022-12-17 01:22:25 +00:00
shared-struct-workers-optimized-code.js [shared-struct] Make publishing of shared objects safe 2022-08-19 15:14:32 +00:00
shared-struct-workers.js [shared-struct] Rework shared value serializer API again 2022-09-07 23:41:26 +00:00
shared-value-barrier-optimization.js [shared-struct] Fix shared value barrier in TF 2023-01-11 19:28:45 +00:00
shrink-large-object.js [heap] Remove OLD_TO_SHARED slots when shrinking large objects 2022-11-21 21:29:27 +00:00
value-serializer.js [shared-struct] Rework shared value serializer API again 2022-09-07 23:41:26 +00:00