v8/test/mjsunit/shared-memory
Dominik Inführ aee4f59521 [heap] Add thread-safe shared barrier for code objects
In order to make the shared code write barrier thread-safe, we simply
lock the page mutex when appending to the typed_slot_set. We can later
improve this when performance isn't good enough.

Bug: v8:13018
Change-Id: I5e12f83f459f8976c22ec488cfa9b6f16d4a8a8e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3763867
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81855}
2022-07-20 14:12:45 +00:00
..
client-gc.js
mutex-workers.js Reland "[shared-struct] Add Atomics.Mutex" 2022-06-01 01:12:07 +00:00
mutex.js [shared-struct] Fix unlocking in JSAtomicsMutex 2022-07-14 01:03:57 +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] Shared Array Initial prototype 2022-06-22 02:24:46 +00:00
shared-array-workers.js [shared-struct] Shared Array Initial prototype 2022-06-22 02:24:46 +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.js
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-surface.js [shared-struct] Shared Array Initial prototype 2022-06-22 02:24:46 +00:00
shared-struct-without-map-space.js [heap] Fix disabling of map space with --no-use-map-space flag 2022-04-05 13:14:53 +00:00
shared-struct-workers-optimized-code.js [heap] Add thread-safe shared barrier for code objects 2022-07-20 14:12:45 +00:00
shared-struct-workers.js Reland "[shared-struct] Prototype JS shared structs" 2022-02-23 01:37:55 +00:00